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.


How to get current playing radio station with from cli or api
#1
UPDATE - 

 I should not have posted this as a problem. 

 I have found that mpc prev may suffice in what I am trying to accomplish. I thought I needed the "name" of the item playing. 

 

Hi,

 I have been using Moode for a few years now and love it. I have multiple moode players in my home to provide zoned audio.


I am trying to solve a problem - I want to get the current playing item - could be a playlist or radio station via cli or api.

I see the ways via the command api - cmd/vol.sh etc... 

What I am trying to do is interrupt the current playing item. Play something else and then go back to what was playing. 

I have tried mpc/mpc status but it just gives a song name when a radio station is playing. I am not sure how to go about getting the current radio station etc...

thank you in advance.
Reply


Messages In This Thread
How to get current playing radio station with from cli or api - by augustsix - 04-27-2021, 08:41 PM

Forum Jump: