Thank you for your donation!


Jump from playlist to playlist
#11
Errr, no, not unless the playlist is actually stored as "Default_Playlist".

Code:
>>> subprocess.call(['mpc','load','Default_Playlist'])
loading: Default_Playlist
mpd error: No such playlist
1

What I showed in my last post was that the default moOde list named "Default Playlist" (with the embedded space) works.
Reply
#12
Yes of course. Bottom line is that in the current GPIO button handler none of the individual args in the CMD field can contain embedded spaces due to the use of space as the delimiter. I changed to using comma as the delimiter for upcoming r650 release :-)

For example:

mpc, load, Default Playlist
Reply
#13
Ah, the current handler. Ignorance is bliss!
Reply


Forum Jump: