Also show OSD even when we don't dedupe the head of the playlist

This commit is contained in:
Luke Hubmayer-Werner 2024-06-20 21:28:57 +09:30
parent 1e486d8ec6
commit 9cb7244315
1 changed files with 1 additions and 1 deletions

View File

@ -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))