PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

Adding station Name to ~/.config/pianobar/currentSong #661

Closed robcazzaro closed 6 years ago

robcazzaro commented 6 years ago

I'm using Pianobar together with Patiobar on my Raspberry Pi. I'm trying to get the station name displayed on the Web Ui of Patiobar, and according to this https://github.com/kylejohnson/Patiobar/issues/18, I need to add the station name to the ~/.config/pianobar/currentSong file

Is there a way to do so with configuration files?

PromyLOPh commented 6 years ago

You’ll need to set up eventcmd scripts. Those can write the current station name to that file. Have a look at the directory contrib/eventcmd-examples for inspiration.

robcazzaro commented 6 years ago

Got it... seems easy enough, sorry for missing it