about summary refs log tree commit diff stats
path: root/modules/home
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 23:32:26 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 23:32:26 +0200
commit3a9090fd1ce862cef406796152475017d0a96ecf (patch)
treed41ad6c9370fdd64de9287b9898acb0aa7a20408 /modules/home
parentfix(home/beets): Remove `ftintitle` plugin, as it is no longer necessary (diff)
downloadnixos-config-3a9090fd1ce862cef406796152475017d0a96ecf.tar.gz
nixos-config-3a9090fd1ce862cef406796152475017d0a96ecf.zip
fix(home/beets): Generate flat playlists
MPD can only handle fat playlists in the `playlist_directory`. It does
support nested playlists in the `music_directory`, but support for this
seems to be kinda lacking (e.g. `mpc` fails to list nested playlist with `mpc
lsplaylists`).
Diffstat (limited to '')
-rw-r--r--modules/home/conf/beets/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index ada99fbf..7fe1d742 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -92,19 +92,19 @@
 
         playlists = [
           {
-            name = "artists/$albumartist.m3u";
+            name = "artists-$first_artist.m3u";
             query = "";
           }
           {
-            name = "ratings/good";
+            name = "ratings-good.m3u";
             query = "rating:0.7..1.0";
           }
           {
-            name = "ratings/mediocre";
+            name = "ratings-mediocre.m3u";
             query = "rating:0.4..0.7";
           }
           {
-            name = "ratings/bad";
+            name = "ratings-bad.m3u";
             query = "rating:0.0..0.4";
           }
           {