rbarrois / mpdlcd

A small tool to display MPD status on a lcdproc server
MIT License
31 stars 10 forks source link

Adding BitRate / File type #6

Closed ranperry closed 10 years ago

ranperry commented 11 years ago

Currently, I am using the following:

pattern2 = {song format="%(artist)s",speed=4} {song format="%(album)s",speed=2} {state}

Which gives me something like:

Tom Waits Bone Machine

Is there a way to get the bitrate / sampling / file:

Tom Waits Bone Machine FLAC / 24bit / 96 Khz

Thanks!

rbarrois commented 11 years ago

Good question!

I'll dig into mpd available data and let you know.

ranperry commented 11 years ago

Thanks! btw, GMPC shows this data.

rbarrois commented 11 years ago

OK, I've found the bitrate (and revamped the whole field/mpd interaction layer for more plugability).

If you have an idea of where the FLAC & 96kHz info can be found, let me know!