Thank you for your donation!


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


Receive is Webradio playing
#5
I think u might be right. You can get output from any MPD command via the Web command API. You can use curl and localhost on the Pi or you can run from a client Web Browser via http://hostname/command?cmd=

For example:

Code:
pi@rp3:~ $ curl http://localhost/command/?cmd=currentsong
file: http://aac-64.streamthejazzgroove.com:80/stream
Title: Danilo Pérez - If I Forget You
Name: TheJazzGroove.com - East Channel
Pos: 4
Id: 5

pi@rp3:~ $ curl http://localhost/command/?cmd=status
volume: 20
repeat: 0
random: 0
single: 0
consume: 0
playlist: 113
playlistlength: 97
mixrampdb: 0.000000
state: play
song: 4
songid: 5
time: 4109:0
elapsed: 4108.840
bitrate: 56
audio: 44100:16:2
nextsong: 5
nextsongid: 6
pi@rp3:~ $
-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Receive is Webradio playing - by mezcal - 07-22-2018, 06:12 AM
RE: Receive is Webradio playing - by Tim Curtis - 07-22-2018, 05:46 PM
RE: Receive is Webradio playing - by Tim Curtis - 07-22-2018, 07:06 PM
RE: Receive is Webradio playing - by mezcal - 07-22-2018, 08:26 PM

Forum Jump: