rmariger;181626 Wrote: 
> I am now trying to decide on how to do genre.  For example, do I choose
> “Classical;Concerto;Piano” or “Classical;Piano Concerto”?  I would
> choose the former if it was easy to limit searches to the intersection
> of “Concerto” and “Piano.”If your main concern with tagging is to be able to 
> browse the music and
you have no problem using Custom Browse instead of standard slimserver
browsing, I would definitely choose the "Classical;Concerto;Piano"
route. The "Genres/Sub Genres" menu type may not work for you today,
but I will add to the wish list to make a version which also takes a
custom tag level at the end. So when you are finished with the tagging
a suitable menu is probably available. New menus like this doesn't
require any code changes in Custom Browse so they are quite easy for me
to do. I'll add all menu types to the distribution that I feel can be
useful for more than a single person, this is definitely the case with
"Genres/Sub Genres incl Custom Tag".

At the moment I'm in the middle of some major restructuring of the
Custom Browse code, so I don't have a working Custom Browse on my
developing machine which makes it a bit harder to do new/changed menus
in the next days/weeks.
rmariger;181626 Wrote: 
> Your Genres/Sub Genres template allows me to this narrowing of songs:  
> 
> 1. Genre1_list 
> 2. Genre1/Genre2_list 
> 3. Genre1/Genre2/artistlist
> 4. Genre1/Genre2/artist/albumlist 
> 5.  Genre1/Genre2/artist/album/songlist.
> 
> But as explained my posting yesterday, I’d like this sequence:
> 
> Steps 1-4 above
> 5’.  Genre1/Genre2/artist/album/conductorlist 
> 6.  Genre1/Genre2/artist/album/conductor/songlist.
> 
> This could be done with your multiplecustomtagstracks template if it
> allowed for five levels rather than just four.  The multiplecustomtagstracks 
> template will not work exactly the same as
"Genres/Sub Genres" does, the difference is that "Genres/Sub Genres"
will list both artists and sub genres making it possible to choose
tracks which just have a single genre, with the
multiplecustomtagstracks the menu would only show track which have at
least two genres. I'm also not completely sure if the
multiplecustomtagstracks menu will work correctly if two levels are
using the same tag, in this situationm level1=GENRE and level 2=GENRE.
So I think it would probably be better to extend the
subgenres(Genres/Sub Genres) menu type to also include a custom tag
level.

rmariger;181626 Wrote: 
> I perhaps naively was thinking I could mindlessly alter the xml files to
> add a fifth level to the filtering.  But I had much difficulty even
> identifying the files that would need to be altered.The different files works 
> like this:
1. Plugins/CustomBrowse/Templates/*.template (The builtin menu type
templates, the corresponding files for custom tags exist in
Plugins/CustomScan/Templates/*.template)
2. Plugins/CustomBrowse/Templates/*.xml (The builtin menu type
in-parameter specification, the corresponding files for custom tags
exist in Plugins/CustomScan/Templates/*.template)
3. <The template directory from Custom Browse settings>\*.template
(Downloaded menu type templates and templates added by the user)
4. <The template directory from Custom Browse settings>\*.xml
(Downloaded menu type in-parameter specifications and in-parameter
specifications added by the user)
5. <The browse configuration directory from Custom Browse
settings>\*.cb.xml (Complete menus where the user has choosen the
"Customize configuration" option in the web interface when editing the
menu)
6. <The browse configuration directory from Custom Browse
settings>\*.cb.values.xml (In-parameter values for complete menus where
the user has NOT choosen the "Customize configuration" option in the web
interface when editing the menu. Templates are expanded to a real menu
using these in-parameter values)

If you know a specific menu which you want the easiest way is to just
choose to "Customize configuration" when editing the menu in the web
interface. This will store the menu as a *.cb.xml file as described in
point 5 above. This menu won't have options, so after you have choosen
the "Customize configuration" option it will be harder to select
exactly which custom tags that shall be part of the menu. But as long
as you have already choosen the correct custom tags before choosing to
"Customize configuration" this shouldn't be a problem. 

If you want many different menus that works the same but with different
custom tags for each menu you should instead create a template by
copying and renaming a suitable *.template and *.xml file from the
directory as specified in point 3 and 4. I would suggest that you copy
and rename instead of changing the files directly if you choose this
path. I would also suggest that you remove the
"<downloadsection>*</downloadsection>" and
"<downloadidentifier>*</downloadidentifier>" parts from the file you
edit, the reason is that if you don't do this there is a risk your
changed menu will be overwritten if you ever hit the download links in
the web interface.

Templates (point 1,2,3,4): Will expand to real menus in memory by using
values from a *.cb.values.xml (point 6)
Real menus (point 5): Will just be read as they are, these are a bit
harder to change for a user since there isn't any user friendly option
page available.

rmariger;181626 Wrote: 
> I have no experience with XML, HTML, and SQL.HTML knowledge is not important, 
> XML is quite easy to learn since you
only need some basic knowlege so my guess is that the hardest part will
be learning the SQL. But the SQL in this case is also quite simple so
some basic knowledge should be enough.

rmariger;181626 Wrote: 
> Can I create a 5-level multiplecustomtagstracks menu by simply altering
> an input file?  Don’t I need to alter the program that processes the
> inputs?  If so, where is that program?There is three ways to do this as you 
> might already have guessed.
1 (recommended). If you only want one specific menu, create a similar
menu in the web interface then choose the "Customize configuration"
option and change the XML from the web interface.
2. If you want several similar menus, copy and rename the template
files (point 3,4 above) and then modify the new files. (See more
information above)
3. (not recommended) Change the existing template files (point 3,4
above).

rmariger;181626 Wrote: 
> I note that earlier cutombrowse releases included notes in the readme
> file on how to create custom menus but your latest build does not.  I
> suppose you are trying to avoid novice questions like mine.  With
> regard to the notes in an earlier version, you allude to files of the
> form *.cb.xml.  I can find no such files---only files of the form
> *.cb.values.xml.  (Those notes refer to xml files that appear to be
> real programs—not just holders of inputs.)  
> 
> I will entirely understand if you choose to punt these questions. My 
> intention is that people with the right knowledge should be able to
change and customize the different xml files, people without the
correct knowledge could either learn SQL/XML or request someone else to
make their customized menu. The information that was in the readme file
has just been moved to 'my wiki page'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer). I felt
that it was possible to make the information easier to read on the wiki
compared to text in a text file. The wiki is referenced in the readme
file. The specification only contains description for the *.cb.xml
files, the templates(*.template) file format isn't described but it
basically the same as the *.cb.xml format but you can use [% xxx %]
stuff in it to create if statements and include values on parameters.


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

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to