diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-01-25 00:46:33 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-01-25 00:46:33 +0100 |
| commit | 17be85d4155628b7a6a8c3e76641f20a91af4da4 (patch) | |
| tree | c9b66f7399a7e80cc50db6b16c3534e3fcdc1e75 /modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix | |
| parent | pkgs/mpdpopm: Init (diff) | |
| download | nixos-config-17be85d4155628b7a6a8c3e76641f20a91af4da4.zip | |
modules/{mpdpopm,legacy/beets}: Move the mpd stat tracking to mpdpopm
It is just easier to use the hand-written rust version, than to try to do this via the beets plugin.
Diffstat (limited to 'modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix')
| -rw-r--r-- | modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix b/modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix deleted file mode 100644 index 9b52c1ad..00000000 --- a/modules/home.legacy/conf/beets/plugins/smartplaylist/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -# nixos-config - My current NixOS configuration -# -# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of my nixos-config. -# -# You should have received a copy of the License along with this program. -# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -{config, ...}: { - programs.beets.settings.smartplaylist = { - relative_to = config.services.mpd.musicDirectory; - playlist_dir = config.services.mpd.playlistDirectory; - forward_slash = false; - - # Show the real m3u file paths, when running `--pretend` - pretend_paths = true; - - playlists = [ - { - name = "artists-$first_artist.m3u"; - query = ""; - } - { - name = "ratings-good.m3u"; - query = "rating:0.7..1.0"; - } - { - name = "ratings-mediocre.m3u"; - query = "rating:0.4..0.7"; - } - { - name = "ratings-bad.m3u"; - query = "rating:0.0..0.4"; - } - { - name = "not_played.m3u"; - query = "-play_count: artist:"; - } - ]; - }; -} |
