bandi;553225 Wrote: > Hi, > Thanks for the quick response. What I'd like to do is a simple tool > that tells me when the next train comes (yes, I often miss the train). > I was thinking about a screensaver or something I can start from the > Extras menu. Based on your description I guess I'm after an applet and > not a plugin, right? > Depends, if you plan to get the train times from some web site, it sounds kind of similar to the CTABusTracker plugin which hooks into the SuperDateTime plugin and is displayed on the Touch through Custom Clock plugin. http://gregbrown.net/squeeze/CTABusTracker/CTABusTracker1-0-0.zip
However, using that approach would mean that you have to rely on other plugins, of course with the advantage that you need to write less code yourself. If you won't want to use the above mentioned approach, I would probably implement it as an applet. Also, note that if you don't have a Squeezebox Server on a separate computer, just must implement it as an applet. The above mentioned approach only works if you have a separate server. bandi;553225 Wrote: > > I guess I would need to read thru the SqueezeCenter or SqueezePlay > development guides > http://wiki.slimdevices.com/index.php/Category:Development, or would > you recommend something else..? > Unfortunately, the documentation isn't that good at the moment, so if you reed the above pages, keep that in mind. My recommendations are: If you like to implement it as a plugin, take a look at: http://wiki.slimdevices.com/index.php/SqueezeCenter_7_Plugins And look at the CTABusTracker source I linked above. The code is in the *.par file in the lib directory, just unzip it with a zip tool. The following API description for the API of SuperDateTime which you would hook into, is probably also useful: http://gregbrown.net/squeeze/sdt-api.htm If you like to implement it as an applet, I would take a look at the applet samples I posted in the previous post plus the following wiki page which describes one of them: http://wiki.slimdevices.com/index.php/SqueezePlay_Applet_Guide If you have development related questions, it's better to ask them in the "Developers" section of the forum since that's where all the third party developers and Logitech developers listens. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) (Install my plugins through Extension Downloader) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=79436 _______________________________________________ Touch mailing list Touch@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/touch