How to have a track number per disc?


#1

I’ve done a bit of Googling and have checked out the discussion board, but I have not found a solution to this problem.

I have a lot of 2 disc compilation albums and I’d like to have the track filenames start with the disc and track number. I have successfully defined the right format in my configuration:

Compilations/$album%aunique{}/%if{disctotal>1,$disc-}$track - $artist - $title

But there is one thing I can’t figure out and that is having track number per disc. Right now, if I have two discs of 15 tracks, the first track on the second disc will be 16 and the last one 30. I would like to have them start from 1 till 15.

Is that even possible?


#2

Take a look at the per_disc_numbering configuration option.


#3

Thanks a lot. This is exactly what I was looking for. I don’t know why this didn’t turn up in my searches.

For reference:
https://beets.readthedocs.io/en/v1.3.17/reference/config.html#per-disc-numbering