diff --git a/add_playlist_yt_titles.py b/add_playlist_yt_titles.py index 380bd3b..a7fcdc1 100755 --- a/add_playlist_yt_titles.py +++ b/add_playlist_yt_titles.py @@ -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))