How to have multiple path formats?

Hey, I’m not sure if this is covered somewhere and I just can’t find it, but is there a way to specify path formats per artist? I’d like for a couple of the artists in my library to have “original release date” as part of the path format. Thanks.

I think I answered my own question, but does this look like it would achieve my goal?

paths:
    default: $albumartist/$album%aunique{}/$disc-$track $title
    singleton: Non-Album/$artist/$title
    comp: Compilations/$album%aunique{}/$disc-$track $title
    albumtype:soundtrack: Soundtracks/$album/$disc-$track $title
    albumartist:Grateful Dead: $albumartist/$original_year-$original_month-$original_day/$album%aunique{}/$disc-$track $title
1 Like

@will5023 I believe that will work. But I personally encountered mixed success when setting up my paths for specific album types, specific artists, etc. I ended up wanting something more powerful, so I used the inline plugin to define my own album and item fields using Python code. Here is the relevant part of my config.yaml:

And then the corresponding Python source code:

You may not need something this complicated, but I just wanted to show it here so that you (and others) know that you have the power of Python, should you need it! :superhero: