Skip to content

Commit

Permalink
lms: fix reading commands when getting new title info
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Jan 16, 2025
1 parent 64593fb commit f81bdde
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f81bdde

Please sign in to comment.