From 3a9090fd1ce862cef406796152475017d0a96ecf Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 10 Aug 2024 23:32:26 +0200 Subject: 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`). --- modules/home/conf/beets/default.nix | 8 ++++---- 1 file 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"; } { -- cgit 1.4.1