From 4a463bafc84d5e8940e45999783760bdedc3b4a0 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 23 Jan 2024 22:59:59 +0000 Subject: [PATCH] Use first artist as the primary artist folder --- config.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 2c47041..5d0cfb8 100644 --- a/config.yaml +++ b/config.yaml @@ -13,8 +13,16 @@ import: asciify_paths: true paths: - default: $albumartist/$album ($year)/$artist - $album - $track - $title - singleton: $artist/Single/$title + default: $primary_artist/$album ($year)/$artist - $album - $track - $title + singleton: $primary_artist/Single/$title + +item_fields: + primary_artist: 'albumartists[0] if albumartists else albumartist' + # albumartist: 'albumartists[0]' + +album_fields: + primary_artist: 'albumartists[0] if albumartists else albumartist' + # albumartist: 'albumartists[0]' match: max_rec: @@ -29,6 +37,7 @@ match: plugins: - fetchart - lastgenre + - inline # - ftintitle - web - duplicates