Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Genre-specific sorting rules for Albums?
14-09-2020, 15:14 (This post was last modified: 14-09-2020 15:16 by Uoppi.)
Post: #1
Genre-specific sorting rules for Albums?
I'm wondering if it's possible to set Genre-specific sorting rules for viewing Albums in MinimServer Library?

What I'm trying to achieve:
1. Albums with Genre tag "Rock" would be sorted by ascending album Date by default
2. Albums with genre tags other than "Rock" would be sorted by Album Title (as is the default now)
Find all posts by this user
Quote this message in a reply
14-09-2020, 19:05 (This post was last modified: 14-09-2020 19:05 by simoncn.)
Post: #2
RE: Genre-specific sorting rules for Albums?
It isn't possible to change album sort order based on the genre of the album. Any solution would require some change to your tags.

For example, you could add a new tag to your rock albums (only). The new tag could be named DateSort and would have the same value as the Date tag. You could then set the tagOptions property to:

Album.sortTags={DateSort, Album}

Because DateSort appears first, DateSort will be used for sorting if DateSort is present. If DateSort is absent, Album (i.e., the album title) will be used for sorting.
Find all posts by this user
Quote this message in a reply
14-09-2020, 19:24
Post: #3
RE: Genre-specific sorting rules for Albums?
That sounds like a great solution - 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)