Author Topic: xLights Script Varialbe for mp3 tag?  (Read 905 times)

Offline frankr

  • Sr. Member
  • ****
  • Posts: 347
    • Rocklin Lights
xLights Script Varialbe for mp3 tag?
« on: November 06, 2011, »
Just wondering if xLights already parses the mp3 tag of the currently playing media file? I have made some personal modifications to the xLights code from Source forge to automatically save the log file out each time the log is updated.  I did not see any variable that might represent the song artist title etc... so I plan just to use the name of the playing sequence to drive my triks panel now playing message.  If the MP3 tag was accessible via the scripting language then this could be even more powerful for RDS, display panels, tweets, facebook status updates etc...

Frank


dandyman

  • Guest
Re: xLights Script Varialbe for mp3 tag?
« Reply #1 on: November 07, 2011, »
How do you send the 'now playing' message to the LEDtriks panel? (I don't have LEDtriks, but have a scrolling LED sign I can access thru the serial port (thru LOR & LSP)...

Offline frankr

  • Sr. Member
  • ****
  • Posts: 347
    • Rocklin Lights
xLights Script Varialbe for mp3 tag?
« Reply #2 on: November 07, 2011, »
I wrote my own version  of ltc that allows me to send whatever I want.  I made a quick modification err... Hack, to xLights so that it saves out the log every update.  Then I  just parse the log file occasionally and display whatever the last entry is.