GoCubs;543137 Wrote: > > Currently it works like this- From the main plugin settings page a > user can enabled weather map images. If enabled SDT will do a long > chain of HTTP requests to figure out all the map images available based > on the weather identifier. A name/URL/type list can be requested over > json of all the available maps. When weather maps are enabled, the > list of available map names is listed on the SDT settings page. > Next version of Custom Clock should have support for this, do you know if it's safe to assume that a specific map name always have the same URL ?
I'm asking because I think I can implement this in two ways: 1. Provide a drop list of available maps in Custom Clock Helper and set the url to the style configuration. The applet would never talk to SuperDateTime, it would just trust the map url in the style configuration. 2. Provide a drop list of available maps in Custom Clock Helper and set the map name to the style configuration. The applet ask for map urls at regular interval and use the url provided by SuperDateTime. Do you think I should use option 1 or 2 ? If 1 is stable enough I would prefer that since it means that I can make it possible for the user also enter his own map url if those provided by SDT isn't the best ones for his area. However, if the currently or future map types supported sometimes contains dynamic url's that change depending of time or day, it feels like 2 is the only option. -- 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
