diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-10 23:32:26 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-10 23:32:26 +0200 |
commit | 3a9090fd1ce862cef406796152475017d0a96ecf (patch) | |
tree | d41ad6c9370fdd64de9287b9898acb0aa7a20408 /modules | |
parent | fix(home/beets): Remove `ftintitle` plugin, as it is no longer necessary (diff) | |
download | nixos-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 'modules')
-rw-r--r-- | modules/home/conf/beets/default.nix | 8 |
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"; } { |