From b07d9624364eea2a0f85a0fa47e95ba2751f8992 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Fri, 30 Dec 2022 01:54:36 +0300 Subject: [PATCH] Fix playlist position index --- src/mpv_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpv_control.py b/src/mpv_control.py index 4775157..1177b8b 100644 --- a/src/mpv_control.py +++ b/src/mpv_control.py @@ -92,7 +92,7 @@ def universal_observer(_name, value): else: cache_speed = '' 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: player_pos = '-/-' print_there(2, 2, f'\r'+' '*get_terminal_size().columns)