From 766816d6f51e11dff45d81224c9cf3e095b74f3d Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Sat, 10 Aug 2024 22:18:41 +0200
Subject: feat(home/beets): Add further smartplaylists (integrating with
 `mpdstats`)

---
 modules/home/conf/beets/default.nix | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

(limited to 'modules/home')

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 = {
-- 
cgit 1.4.1