I run a shoutcast station and my DSP/Shoutcast Source software is called BUTT http://butt.sourceforge.net BUTT has the ability to read a text file that contains"artist - track name" on the first line, BUTT then can send this info to shoutcast as the current artist/track title info.

So I'm looking for a plugin that will write the current "artist - track name" into to a text file.

Thanks

I've made this plugin last year that should satisfy you :
http://gist.github.com/459246 (for gmusicbrowser version 1.0.x)
http://gist.github.com/459250 (for gmusicbrowser version 1.1.x)
save it as log.pm and put it in ~/.config/gmusicbrowser/plugins/

Let me know if you have problems with it.
It needs some cleanup and more options such as selecting how the strings should be escaped. Currently it does some basic html escaping (<>&"').

You can also use the now_playing plugin to do that, but due to string escaping issues, it's a bit cumbersome.

THANKS!

I did a short test and its working good so far but will test it out more tomorrow and will report back. If its working out good could I get permission from you to have the BUTT developer bundle the plugin with BUTT?

Tried out the one for 1.1... and its also working good. Again just haven't had time to test it out with track names with special characters in them but will later tonight.

I also made a donation.


You can do what you want with the plugin (it's gpl3, though I could release it under an other license), but I'm not sure it would belong with the BUTT package.
Anyway, I'll include it in gmusicbrowser eventually.

About special characters, I think they will simply be encoded in utf8. But if you need another encoding I can make a quick modification.

thanks for the donation :)