Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is different Album sorting per Index possible
30-11-2020, 13:03
Post: #4
RE: Is different Album sorting per Index possible
I've continued down the rabbit hole and taken it one step further so I can have artist albums prefixed with year (as they're sorted by year), and compilations without (as they're sorted alphabetically and the release date has no real meaning to a compilation).


First I remove all Dates for compilations, adding the deleted values back to a new tag called FULLDATE as I still want the metadata to be available for other things e.g. Date.decade.index.sort (I don't want unknown to appear if I haven't already filtered out Compilations).

tagUpdate

Code:
@DATE=1983
&ALBUMARTIST=Various Artists
-DATE=1983
+FULLDATE=1983
@DATE=1984
&ALBUMARTIST=Various Artists
-DATE=1984
+FULLDATE=1984
@DATE=1985
&ALBUMARTIST=Various Artists
-DATE=1985
+FULLDATE=1985
...
...

Then I rename Date to DateExcldngCmpltns (Date Excluding Compilations) and FullDate to Date and fill the blanks with values from DateExcldngCmpltns (which will bring it back to 100% population).

aliasTags : Date:DateExcldngCmpltns,FullDate:Date
itemTags : DateExcldngCmpltns
tagValue : Date.default={DateExcldngCmpltns}


Finally I set the sort order and the display format of the album.

tagOptions : Album.sortTags={AlbumArtist,+DateExcldngCmpltns,+Album}
tagFormat : Album.displayFormat={$DateExcldngCmpltns^^ - $Album}
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Is different Album sorting per Index possible - simbun - 30-11-2020 13:03

Forum Jump:


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