+ if not current:
+ if self.player.state == 'play':
+ self.log.debug('Cannot add "%s" to history (empty or missing file)', current)
+ return
+ last_hist = self._h_tip()
+ if last_hist and last_hist == current:
+ return
+ self.log.debug('add history: "%s"', current)