The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Extend URL API to clear / load / play a playlist
#1
I don’t think this is implemented currently, but I think it would be really useful to have a “play playlist x” URL. You can do volume and stop via URLs, but not play. 

My use case is unusual, but might extend to others’ uses.

I only listen to AirPlay or one of two radio stations for 99% of the time. I have 4 physical control buttons on a “remote” Pi which is used to control Moode.

Vol Up press: http request
Vol Down press: http request
Radio 4: ssh connection made to issue the clear / load / play command for playlist “radio4”
Radio 2: ssh connection made to issue the clear / load / play command for playlist “radio2”

So I’m thinking a .sh script to take the argument passed via the URL and run the mpc commands. Just like the vol.sh.

What do you reckon?
Reply


Messages In This Thread
Extend URL API to clear / load / play a playlist - by tristanc - 02-06-2019, 04:22 PM

Forum Jump: