From 6186a802f41cb01eee4e6b65ecdfc93fed9f0139 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 29 Jul 2025 18:16:46 +0200 Subject: modules/legacy/beets: Use primary artist for path names This avoids having multiple directories for the same artist: ``` Artist1 Artist1 & SomeOtherArtist Artist1 feat. ThirdArtist (etc.) ``` --- .../home.legacy/conf/beets/plugins/inline/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/home.legacy/conf/beets/plugins/inline/default.nix (limited to 'modules/home.legacy/conf/beets/plugins/inline/default.nix') diff --git a/modules/home.legacy/conf/beets/plugins/inline/default.nix b/modules/home.legacy/conf/beets/plugins/inline/default.nix new file mode 100644 index 00000000..564d5b4c --- /dev/null +++ b/modules/home.legacy/conf/beets/plugins/inline/default.nix @@ -0,0 +1,18 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz +# 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 . +{...}: { + programs.beets.settings.item_fields = { + primary_artist = + # python + '' + albumartists[0] + ''; + }; +} -- cgit 1.4.1