adamslim;283789 Wrote: > > - changing the album view so that it includes the artist, as with > classical you need both if you're browsing by genre (if I could do this > just with my classical library, separated with multi-library, that would > be totally cool) > I assume you are talking about showing the artist beside each album list ? In the same way as it is done if you browse into "Albums" and select to sort the albums by artist.
If you are talking about the dynamic "Tags" menu this configuration is in the perl source code so you won't easily be able to change it. For the rest of the more static menus you will need to modify XML configuration. The static "Albums" menu have the extra sort option to sort by artist that contains some SQL that shows how to display albums with artists. If you choose to customize the XML configuration for a specific menu in a specific library(defined by Multi Library plugin) that XML configuration will just affect the specific library. If you change the *.template files it will affect all menus that uses that template independent on which library they belong to. adamslim;283789 Wrote: > > - change the amount of info in the 'next section' bit described above > You can create new entries by adding new menu types in the "Manage header/footer items" section as described in the previous post, just remember to use the correct "Object type" value. You can delete/hide existing items by deleting or hiding items in the "Manage header/footer items" section as described in the previous post. adamslim;283789 Wrote: > > - lots more :) > The key here is to understand the XML format, there are quite a lot of different templates available and as I mentioned before there is some documentation on my wiki page. The dynamic "Tags" menu requires code changes, it dynamic browsing required me to generate the configuration in perl code instead of hardcoding it in XML files. adamslim;283789 Wrote: > > What in broad terms I don't understand is where the layout stuff is > saved. It looks like the various .template files in the plugin store > this, but it's hard to see which is used where. These will be > overwritten on a plugin update, so I assume that any templates in the > respective plugin settings directories will supersede the standard > ones. > The templates are stored in the "Templates" directory under the "CustomBrowse" plugin directory and in the directory you have configured in "SqueezeCenter Settings/Custom Browse". If a *.template file with the same name is found in both these directories, the one with the last modification date will be used. So when installing an updated plugin the templates provided with the plugin will override your own if you have used the same filename. adamslim;283789 Wrote: > > Is there any chance of a 'developer mode' that shows which template(s) > is/are being used by the current view? > Not in the near future unless someone else does it, but patches are always welcome. It's not a bad idea, it's just that I have the focus on other stuff at the moment. adamslim;283789 Wrote: > > This would allow me to see specifically what each part does, and what > impact amendments have, without flailing about in the dark. Any > further guidance or documentation would be nice - I really can't grasp > what I need from your (Erland's) wiki. > For the time being I suggest that you ask specific questions regarding what you like to do and I or someone else can hopefully give you the answers regarding if it's possible or not. Since the menu configuration can differ a lot depending on how each user has configured Custom Browse, I would appreciate if you try to be as specific as possible. For example by describing how you navigate into the menu where you like to change things. Finally, if you like to customize the XML configuration, there is a number of ways to do it: 1. Through the web interface, this will modify the configuration for a specific menu but the changes can't easily be reused in another menu of the same type. 2. By changing the *.template files. If you decide to go this route I would suggest that you copy the specific *.template and *.xml file to the template directory specified in "SqueezeCenter Settings/Custom Browse". Then edit the copied *.xml file in a text editor and remove the row that contains <downloadidentifier>. Rename the files you copied to to some name that doesn't collide with the existing templates. Finally create a new menu based on the new template using the web interface. By doing the modification this way, you will make sure that your template won't be overwritten when installing a new version of the plugin or when using the download buttons. You will need to hit the "Refresh" link at the bottom of the "Custom Browse" page to make the new template appear so you can create a menu based on it. Personally, I would recommend that you start by customizing the XML configuration through the web interface before you start messing with the *.template files. -- 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 Database Query 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=45342 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
