diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-06 20:31:37 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-06 20:31:37 +0200 |
commit | 2412563ab4ff1d83b8323448c0d05a2a9ac307f6 (patch) | |
tree | 898cb14bcfcf1dddedd209671992b61db9e1625d /modules/home.legacy/conf/beets/default.nix | |
parent | modules/legacy/beets: Move the `replace_override` file in the nix file (diff) | |
download | nixos-config-2412563ab4ff1d83b8323448c0d05a2a9ac307f6.zip |
modules/legacy/beets: Use a better path config
I don't really care about genres or the various albumtypes.
Diffstat (limited to '')
-rw-r--r-- | modules/home.legacy/conf/beets/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/home.legacy/conf/beets/default.nix b/modules/home.legacy/conf/beets/default.nix index 4f9cf6d9..612a5f03 100644 --- a/modules/home.legacy/conf/beets/default.nix +++ b/modules/home.legacy/conf/beets/default.nix @@ -65,15 +65,11 @@ in { }; paths = let - j = lib.strings.concatStringsSep "/"; + join = 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:live" = join ["[Live, please delete]" "$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"]; + default = "$albumartist/$album%aunique{}/$track $title"; }; inherit plugins; |