********** NOT FINISHED!, I accidently hit submit, more is comming
************
I'll try to explain things with a simpler example than the Sub Genres
menu. Let's look at the Artists menu instead.
The Artists menu consist of the following menu levels:
Code:
--------------------
Artists
<List of artists>
<List of album for selected artist>
<List of songs for selected album>
--------------------
The XML configuration for the Artists menu contains the parts described
below. You can easiest see the XML configuration by goto "Edit menus",
selecting "Artists" menu and selecting the "Customize" radio button in
the bottom and hit Next.
I've left out the parts that aren't relevant for this discussion, but
here is the relevant parts:
Code:
--------------------
<custombrowse>
<menu>
<menuname>Artists</menuname>
...
<menu>
<menuname>Various Artists</menuname
...
</menu>
<menu>
<menuname>Albums</menuname>
<itemtype>artist</itemtype>
...
<menudata>...(sql for retrieving artists)...</menudata>
<menu>
<menuname>Songs</menuname>
<itemtype>album</itemtype>
...
<menudata>...(sql for retrieving albums for selected artist)...</menudata>
<menu>
<menutype>track</menutype>
...
<menudata>...(sql for retrieving tracks for selected album)...</menudata>
<menu>
</menu>
</menu>
</menu>
</menu>
</custombrowse>
--------------------
--
erland
Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan, Custom Skip, Multi Library and RandomPlayList plugins'
(http://wiki.erland.homeip.net/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=37442
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins