Custom albumsort field


#1

I prepend the year in the albumsort field so that when looking at a band’s discography on my phone they are ordered chronology instead of alphabetically.

Currently I do this with a simple applescript once imported into iTunes but hoping to remove this step by increasing my use of beets.

Tried using both the set_fields conf setting and the --set parameter but can’t see what I’m doing wrong:

set_fields:
albumsort: ‘$year $album’

I have even tried the below to see an output

set_fields:
albumsort: ‘TEST’
grouping: 'TEST"

and still not seeing the expected results.

Have I misinterpreted the set_fields function?


#2

Hello! That needs to go under the import: section of your config.

Also, it’s not currently possible for the values to reference other fields. For something like that, see: