From a65526443d4017a396ffe207adc9a593da0305f2 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Tue, 29 Nov 2022 01:02:39 +0300 Subject: [PATCH] Change behavior visibility player button in main menu --- funkwhale_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwhale_cli.py b/funkwhale_cli.py index 61befc2..e96ace5 100644 --- a/funkwhale_cli.py +++ b/funkwhale_cli.py @@ -45,7 +45,7 @@ def main(): menu.append('Sign in') if support_message != '': menu.append('Donate') - if not src.mpv_control.player.core_idle: + if src.mpv_control.player.playlist_playing_pos != -1: menu.insert(0, 'Player') ids = fzf.prompt(menu, f"--header={main_menu_header}")