Author Topic: Plugin Request - Willing to pay for it  (Read 3302 times)

Efin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Plugin Request - Willing to pay for it
« on: June 28, 2010, 11:54:30 »
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

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Plugin Request - Willing to pay for it
« Reply #1 on: July 01, 2010, 02:43:51 »
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.

Efin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Plugin Request - Willing to pay for it
« Reply #2 on: July 01, 2010, 09:21:01 »
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?

Efin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Plugin Request - Willing to pay for it
« Reply #3 on: July 02, 2010, 02:24:45 »
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.


Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Plugin Request - Willing to pay for it
« Reply #4 on: July 02, 2010, 02:41:09 »
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 :)