From 1c90dd5d0e6a462a3e123a3888099f7194b18cd0 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Thu, 10 Aug 2023 22:16:58 +0300 Subject: [PATCH] delete track from playlist when hide artist --- src/mpv_control.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mpv_control.py b/src/mpv_control.py index c78b77b..9e88ba8 100644 --- a/src/mpv_control.py +++ b/src/mpv_control.py @@ -198,6 +198,7 @@ def player_menu(header='', storage={}): player_fw_storage.storage.get(track_url_to_uuid())['id']) elif select == 'Hide artist': track = player_fw_storage.storage.get(track_url_to_uuid()) + player.playlist_remove('current') src.fw_api.hide_content( {'target': {'id': track.get('artist').get('id'), 'type': 'artist'}}) elif select == 'Exit':