pimoroni / mopidy-raspberry-gpio

Mopidy GPIO Control Plugin for the Raspberry Pi (Using RPi.GPIO)
Apache License 2.0
21 stars 25 forks source link

Add playlist support #19

Open ruediste opened 10 months ago

ruediste commented 10 months ago

From the updated README:

The playlist event allows to assign a playlist to a physical button. It requires an "uri" option. It first clears the tracklist, adds all tracks from the playlist and starts playback.

Eg::

[raspberry-gpio]
enabled = true
bcm17 = playlist,active_low,250,uri=m3u:test1.m3u8

Hint: If you use the Iris frontend <https://github.com/jaedb/Iris>_, you can obtain the playlist URI in the tree-dots menu of the playlist.