plympton;541036 Wrote: > Attached is my modified code to get a reasonable approximation of > SuperDateTime using CustomClock. > > Included is my: > Modified SuperDateTime plugin (I had to un-par it) > Changes include: > - added a JSON SDTstring method. This accepts a SDT string and returns > parsed values (%h -> 78% for humidity) > - added a JSON SDTicon method. This only returns current conditions > icon value (26 -> 26.png, the cloudy icon) > I took some time and looked into this and have some questions ? 1. Shouldn't the SDTicon take the period parameter into account instead of always getting the data from the -1 period ? 2. Is there a reason why you just want to return the icon id (forecastIcon) and not the complete path (forecastIconURLSmall) ? Are you thinking about custom icon sets or is there some other reason ? Maybe the command should return both to make it more generic ?
GREG: Is it safe for me to trust that these new commands will be implemented as SDTstring and SDTicon in a future official SDT release ? I'm asking because in that case I can check for these commands in my code to decide if the SDT support should be enabled or not. -- 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=77864 _______________________________________________ jive mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/jive
