Fix playlist position index

This commit is contained in:
localhost_frssoft 2022-12-30 01:54:36 +03:00
parent dae0516052
commit b07d962436

View file

@ -92,7 +92,7 @@ def universal_observer(_name, value):
else: else:
cache_speed = '' cache_speed = ''
if player.playlist_count > -1: if player.playlist_count > -1:
player_pos = f'{player.playlist_current_pos}/{player.playlist_count}' player_pos = f'{player.playlist_pos_1}/{player.playlist_count}'
else: else:
player_pos = '-/-' player_pos = '-/-'
print_there(2, 2, f'\r'+' '*get_terminal_size().columns) print_there(2, 2, f'\r'+' '*get_terminal_size().columns)