07-22-2018, 07:06 PM
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:
-Tim
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:~ $