Also show OSD even when we don't dedupe the head of the playlist
This commit is contained in:
parent
1e486d8ec6
commit
9cb7244315
|
@ -223,9 +223,9 @@ if __name__ == '__main__':
|
|||
if current_filename == next_filename:
|
||||
logging.info('Next video is same as this one, deduplicating')
|
||||
sock.sendall(b'playlist-remove 1\n')
|
||||
sock.sendall(b'show-text ${playlist}\n')
|
||||
except BaseException as e:
|
||||
logging.error('Error deduping head of playlist: {}'.format(e))
|
||||
sock.sendall(b'show-text ${playlist}\n') # Shows playlist OSD for visual feedback
|
||||
logging.info('mpv playlist reloaded!')
|
||||
except BaseException as e:
|
||||
logging.error('Error reloading playlist: {}'.format(e))
|
||||
|
|
Loading…
Reference in New Issue