Skip to content

Path config for custom field + albumtype #5245

Answered by DjSlash
BigBoyBarney asked this question in Q&A
Discussion options

You must be logged in to vote

%if checks if the condition is nonempty or nonzero if the condition is a number.

use the inline plugin:

album_fields:
  isSingle: 0 if albumtype != single else 1

paths:
    category:nikke: Nikke OST/$albumartist/%if{$isSingle,Singles/}$album%aunique{}/$track $title

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BigBoyBarney
Comment options

Answer selected by BigBoyBarney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants