wnshall;219620 Wrote: 
> Is this block of info being generated by the headers accessed by the
> "Edit Context menus/headers/footers" link on the settings page?
Yes

wnshall;219620 Wrote: 
> If it is in these context/header files, how can I tell which one is
> being called by the particular menu I'm working with?
The context menu/header/footers menus have an "Object type" parameter,
the value of this parameter indicates where the context item is shown.
In the list in the "Edit context menus/headers/footers" menu the object
type will also be shown as the first item before the name of a specific
item. So for example  the "albumheader/Genre" item has the object type
"albumheader".

The wiki page for Custom Browse shows the allowed values for the
"Object type" parameter, see here for more information:
http://wiki.erland.homeip.net/index.php?title=Custom_Browse_plugin&action=view&section=7#Available_context_menu.2Fheader.2Ffooter_types

In the XML configuration the object type parameter will be put in  the
menugroup element, for example "<menugroup>albumheader</menugroup>"

If we get into real details, I can also mention that the element in the
main menu that controls which object types that should be shown on a
particular menu level is the "itemtype" element in the XML. This last
part is of course only relevant if you are making your own menus by
editing the XML manually. The value of "itemtype" will be postfixed
with "header", "footer" when retrieving the context items.

Currently the supported object types is limited to those mentioned on
the wiki page. But I have a plan to also support custom object types.
As a sample this will make it possible to have one header on a year in
the "Years" menu and a completely other header on a year in the
"Decades/Year" menu and it will of course also make it possible to put
headers on all the menus based on Custom Scan data. For example a
specific header for a classical work, composer or ensamble. But in the
current release this last part isn't possible, so at the moment you
can't have different header for an artist in different menus.


-- 
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

Reply via email to