first, thanks for Pi Musicbox. This is amazing! Thank you for this awesome work, we (my whole family) is enjoying it very much!
Starting a web-radio stream on boot works quite fine.
Is there a possibility to add the most actual element of a podcast RSS xml feed to the playlist? My idea was that the Pi Musicbox starts up with the most actual podcast and then after the first element of the podcast automatically switches to a webradio.
Edit: A different approach would be to write a script that starts the podcast and after the first “song” it stops and starts a playlist.
What is the mpd command for a podcast?
I couldn’t unearth something about it.
If you have the mopidy-podcast extension installed, you can load all episodes of a podcast using mpc simply by prefixing the podcast URL with “podcast+”, for example:
Thanks a lot tkem! That is actually what I searched for
Writing a small bash script
#!/bin/bash
sleep 60 &&
mpc add "podcast+[podcast url]"
mpc play &&
mpc crop && # to leave just the most actual podcast in the playlist
mpc load "Discover Weekly by spotifydiscover" && # just an example
####
and adding it to /etc/rc.local did the trick!
Is there a command to wait for mopidy and mpc running after booting?
Then I could exchange it with the “sleep” command and musicbox would probably start faster.