d6jg wrote: > Im not sure it is DOT and Im not in a position to check at present. > However its easy to create a nested structure using the standard LMS > GUI and I can say that favourites get stored in a file called > favourites.opml > My preference would be > Open Favourites > List Favourites > At top level that might be returned as > > Radio 1 > Radio 2 > Folder called Other > Radio 3 > > Play Radio 2 > Or > Open Other Folder and List contents
Thanks for pointing me to the OPML file. I'll take a look at it. That subtle fact is not mentioned in the API docs - what's there is: > > favorites items <start> <itemsPerResponse> <taggedParameters> > > The "favorites items" query returns all server favorites. This query is > based on XMLBrowser. > > Accepted tagged parameters: > > Tag Description > item_id The id of a favorite to be returned. The id represents the > hierarchical structure of the file using a dotted syntax similar to the > one used in SNMP, like eg. 2.0.9.3 > search When a list of items is to be returned, it can be filtered by > it's name or title. > want_url If set to 1, urls are returned by the query, otherwise they > aren't. > Returned tagged parameters: > > Tag Description > count The number of items available at the selected level. > For each element: > id An item's hierarchical id. Item delimiter. > name An item's (favorite or folder) name. > hasitems Whether or not an item has sub-items. May indicate the number > of sub-items. > url URL of the station or track (only returned if parameter "want_url" > is set to 1). Although, the station can be played using the "playlist > play" command, an equivalent command that operates on the id is provided > below. > Example: See other XMLBrowser based queries above So you can see that's where I found the DOT notation reference. I created a few favourites in 2008 and never revisited them so have no idea how I ever did it :) ------------------------------------------------------------------------ philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111016
_______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins