Thank you for your donation!


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


Retrieve bitrate info from MPD
#2
its a field named bitrate returned by the MPD status command.

pi@rp3:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.20.0
status
volume: 18
repeat: 0
random: 0
single: 0
consume: 0
playlist: 86
playlistlength: 87
mixrampdb: 0.000000
state: play
song: 47
songid: 48
time: 125:272
elapsed: 125.039
bitrate: 482
duration: 272.066
audio: 44100:16:2
nextsong: 48
nextsongid: 49
OK
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Retrieve bitrate info from MPD - by mancio61 - 07-18-2018, 10:41 AM
RE: Retrieve bitrate info from MPD - by Tim Curtis - 07-18-2018, 11:21 AM
RE: Retrieve bitrate info from MPD - by mancio61 - 07-18-2018, 11:26 AM
RE: Retrieve bitrate info from MPD - by mancio61 - 07-25-2018, 01:49 PM

Forum Jump: