GoCubs;545563 Wrote: > > If you plan to flatten the data structure I can use unique icon names > at each level if you prefer. As I'm sure you're aware, by flattening > the data structure on your end you'll be duplicating data. > > Please let me know if I should rename some of these icon keys. > It would be great if you gave the icon attributes different names, similar to how it looks for sports or as my example.
Yes, I know I'll be duplicating data by flattening them, but I think it makes it easier for the user to just select a logo type in a list box and I'd prefer to not have to hard code the actual names. At the moment I show all attribute names in the structure that: - Starts or ends with "logo" (case insensitive) - Starts or ends with "icon" (case insensitive) - Ends with "url" (case insensitive) So as long as you naming principles follow these rules it should work. If your third party API supports custom attributes besides the "line1" and "line2" it will also mean that a third party plugin can add multiple logos on the bottom level if it likes to. I understand that this probably doesn't make sense in most cases and probably not on the Classic players, but it would for example make it possible for a third party plugin to provide stocks data with three images (day chart, month chart, quarter chart). -- 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
