diff options
Diffstat (limited to '')
-rw-r--r-- | modules/home/conf/beets/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix index cacd2a90..aa5cc671 100644 --- a/modules/home/conf/beets/default.nix +++ b/modules/home/conf/beets/default.nix @@ -40,11 +40,16 @@ log = "${config.xdg.dataHome}/beets/beetslog.txt"; }; - paths = { - default = "$genre/$first_artist/$album/$track $title"; - singleton = "$genre/$first_artist_singleton/$title"; - comp = "$genre/$album/$track $title"; - "albumtype:soundtrack" = "Soundtracks/$genre/$album/$track $title"; + paths = let + j = lib.strings.concatStringsSep "/"; + in { + default = j ["[Default]" "$genre" "$first_artist" "$album ($albumtype)" "$track $title"]; + "albumtype:live" = j ["[Live]" "$genre" "$first_artist" "$album ($albumtype)" "$track $title"]; + + "albumtype:album" = j ["Music" "$genre" "$first_artist" "$album ($albumtype)" "$track $title"]; + "albumtype::(Single|EP)" = j ["Music" "$genre" "$first_artist_singleton" "$album ($albumtype)" "$track $title"]; + "albumtype:compilation" = j ["Complilations" "$genre" "Various Artists" "$album ($albumtype)" "$track $title"]; + "albumtype:soundtrack" = j ["Soundtracks" "$genre" "$first_artist" "$album" "$track $title"]; }; # Plugin config @@ -87,6 +92,7 @@ ihate = { warn = [ "title:commentary" + "albumtype:live" ]; }; play = { |