From f81bddec1749948ba7dc423598bb620cf3b8d65b Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Thu, 16 Jan 2025 22:59:00 +0100 Subject: [PATCH] lms: fix reading commands when getting new title info --- lms/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lms/__init__.py b/lms/__init__.py index 46b8f6f8b..0141212e0 100755 --- a/lms/__init__.py +++ b/lms/__init__.py @@ -217,11 +217,11 @@ def find_player_index(target, mac_list): if command == f'player.info.currentsong.title{CUSTOM_SEP}{custom}': # trigger_read('player.control.playmode') # trigger_read('player.playlist.index') - trigger_read('player.info.duration') - trigger_read('player.info.album') - trigger_read('player.info.artist') - trigger_read('player.info.genre') - trigger_read('player.info.path') + trigger_read('player.info.currentsong.duration') + trigger_read('player.info.currentsong.album') + trigger_read('player.info.currentsong.artist') + trigger_read('player.info.currentsong.genre') + trigger_read('player.info.currentsong.path') # update on new song if command == f'player.control.playpause{CUSTOM_SEP}{custom}' and value: