View Full Version : "Hello World" type plug-in...

Danny Rego
2004-08-07, 00:12
Could someone point me in the right direction on this?! I want to get into programming plug-ins for my squeezebox, and I can pretty much see how things are interfaced between plug-in, and squeezebox...at least from what I can see so far, plug-ins, just need to be programmed to re-act to events (such as a button press on a remote).

Is it possible at all to make a plug-in that simply logs the name of each song that is played, AS it's played? In other words, is there a way to "HOOK" into an "OnPlay" event, or something like that, where your function is only called when a new song is being played.

I did some poking around, and the closest thing I found was a script that queries the Squeezebox every minute (from a PC), and logs the last song played to a file.

(I hope this request made sense...it's 3:15am, and I'm fried right now...haahaa!)

Danny Rego