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 22:18:41 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 22:18:41 +0200
commit766816d6f51e11dff45d81224c9cf3e095b74f3d (patch)
treedd158969dbfca8fc4672fb2f24b04b1fd0b8b7fe /modules/home
parentfeat(home/beets): Add a hook to also calculate album replaygain on import (diff)
downloadnixos-config-766816d6f51e11dff45d81224c9cf3e095b74f3d.tar.gz
nixos-config-766816d6f51e11dff45d81224c9cf3e095b74f3d.zip
feat(home/beets): Add further smartplaylists (integrating with `mpdstats`)
Diffstat (limited to '')
-rw-r--r--modules/home/conf/beets/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index 84f8618d..de15a857 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -95,6 +95,22 @@
             name = "artists/$albumartist.m3u";
             query = "";
           }
+          {
+            name = "ratings/good";
+            query = "rating:0.7..1.0";
+          }
+          {
+            name = "ratings/mediocre";
+            query = "rating:0.4..0.7";
+          }
+          {
+            name = "ratings/bad";
+            query = "rating:0.0..0.4";
+          }
+          {
+            name = "not_played.m3u";
+            query = "-play_count: artist:";
+          }
         ];
       };
       # scrub = {