Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
display order of genre tags
02-02-2017, 11:49 (This post was last modified: 02-02-2017 12:24 by kosmonaut_75.)
Post: #1
display order of genre tags
Hi,

Is there a way in MinimServer to display genre tags in BubbleUPNP other than in alphabetical order? If so, how can I achieve it? Ideally, I would like to sort them individually (for example classical genres first, then non-classical).

Regards

Tim
Find all posts by this user
Quote this message in a reply
02-02-2017, 12:46
Post: #2
RE: display order of genre tags
You can do this fairly easily with a combination of existing MinimServer features.

Any tag can have an optional sort value and you can specify this sort value by using the value.sort option in the tagValue property. For example, by setting Genre.value.sort={GenreSort}, the value of the GenreSort tag is used as the sort value for the Genre tag. For this to work, you also need to add GenreSort to the itemTags property.

You could populate GenreSort tags by hand but this would be quite tedious. A better approach is to use the tagUpdate facility to create the GenreSort tags that you want. For example, if you have classical genres Symphony and Violin and other genres Pop and Rock, you can put this in your tagUpdate file:

@GENRE=Symphony
+GENRESORT=1Symphony
@GENRE=Violin
+GENRESORT=1Violin
@GENRE=Pop
+GENRESORT=2Pop
@GENRE=Rock
+GENRESORT=2Rock

In combination with the Genre.value.sort={GenreSort} setting, this will put Symphony and Violin ahead of Pop and Rock in the sorted list of genres.
Find all posts by this user
Quote this message in a reply
02-02-2017, 14:26 (This post was last modified: 02-02-2017 14:26 by kosmonaut_75.)
Post: #3
RE: display order of genre tags
Great! Thank you for your prompt answer!!
Find all posts by this user
Quote this message in a reply
05-02-2017, 08:54 (This post was last modified: 05-02-2017 09:00 by kosmonaut_75.)
Post: #4
RE: display order of genre tags
Unfortunately, it doesn't work. I suppose I am missing something. In particular, I am not sure about the file format. Here is what I did:

1) I prepared a tagupdate file in my text editor, this is in excerpt:

@GENRE=Klassik
+GENRESORT=1Klassik
@GENRE=Oper
+GENRESORT=2Oper
@GENRE=Rock & Pop
+GENRESORT=3Rock & Pop
@GENRE=Electro & Hiphop
+GENRESORT=4Electro & Hiphop

2) I saved the file as tagupdate.txt in utf-format and put it in my Music folder on my hard drive which is synched with QSync to QNAP which is home of Minimserver.

3) I saved the QSync path in Properties of Minimwatch (which accepts the path):
/share/homes/admin/.Qsync/tagupdate.txt

4) All files were synched.

Result: It doesn't work. The display order of Genre tags didn't change although I restarted and rescanned the libary.

Can anybody help?
Find all posts by this user
Quote this message in a reply
05-02-2017, 14:21
Post: #5
RE: display order of genre tags
Just to be sure, did you also (as Simon advised)

1. add GenreSort to the itemTags property;
2. set Genre.value.sort={GenreSort} in the tagValue property?

David
Find all posts by this user
Quote this message in a reply
05-02-2017, 17:59
Post: #6
RE: display order of genre tags
Confused Indeed, I forgot about it, sorry.

Everything perfect now! Thanks!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)