You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to call a song from playlist by using the function MPDClient.playid() but it throws an error: File "/usr/local/lib/python3.8/dist-packages/mpd/base.py", line 527, in _read_line raise CommandError(error) mpd.base.CommandError: [50@0] {} No such song
The number of playid is valid (int and in range)! Function MPDClientplay() works well but for that I've to calculate user input minus 1 because play... counts from 0 an playid should count from 1. Am I missunderstanding playid() or isn't playid() not implemented correctly.
The text was updated successfully, but these errors were encountered:
Now I've discovered that the songid is not a absolute identifier, but changes every time a playlist (even if it is the same one) is loaded. So I can only start with a specific song from a playlist if I know the position and use the function MPDClient.play() with the position number. Just out of interest: What purpose should the songid serve?
I try to call a song from playlist by using the function MPDClient.playid() but it throws an error:
File "/usr/local/lib/python3.8/dist-packages/mpd/base.py", line 527, in _read_line raise CommandError(error) mpd.base.CommandError: [50@0] {} No such song
The number of playid is valid (int and in range)! Function MPDClientplay() works well but for that I've to calculate user input minus 1 because play... counts from 0 an playid should count from 1. Am I missunderstanding playid() or isn't playid() not implemented correctly.
The text was updated successfully, but these errors were encountered: