Can't get ARTISTSORT to work
Reply #5 – 2012-04-15 09:07:20
foobar2000 supports completely arbitrarily named fields, so you don't need support for some specific fields like in other software. What you need to do is to define your own sorting strings using the fields you want to use. So you need to specify your own sorting string for the Album List using the ARTISTSORT/ALBUMARTISTSORT fields. Technically you need to create a new view in Preferences->Media Library->Album List. You can take one of the predefined ones, for example "by artist/album":[%album artist% - ]['['%date%']' ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title% You now need to make sure this view actually uses your metadata field ARTISTSORT/ALBUMARTISTSORT. So hit the "Add New" button on the Album List preferences page, and enter a nice descriptive name like "by artistsort" or something. Now alter the example above accordingly, like this:[$if3(%albumartistsort,%artistsort%,%album artist%) - ]['['%date%']' ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title% This means when using the "artistsort" view, the Album List will sort based on ALBUMARTISTSORT, ARTISTSORT and ALBUM ARTIST with decreasing precedence. Generally you likely want to replace any occurrence of %album artist% (and maybe %artist%) with $if3(%albumartistsort,%artistsort%,%album artist%). You can of course define your own views in any fashion you like. Please refer to the Title Formatting Reference for more information.