From c52c7f314ccadcc2fcd91e28c8fd1b88f6d5ce0c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 17:07:46 +0200 Subject: refactor(modules): Move all system modules to `by-name` From now on all modules should be added to the new `by-name` directory. This should help remove the (superficial and utterly useless) distinction between `home-manager` and `NixOS` modules. --- modules/home.legacy/conf/beets/plugins.nix | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 modules/home.legacy/conf/beets/plugins.nix (limited to 'modules/home.legacy/conf/beets/plugins.nix') diff --git a/modules/home.legacy/conf/beets/plugins.nix b/modules/home.legacy/conf/beets/plugins.nix new file mode 100644 index 00000000..bea2fefe --- /dev/null +++ b/modules/home.legacy/conf/beets/plugins.nix @@ -0,0 +1,67 @@ +{...}: +# NOTE: This list is here and not split over the various plugin dirs, as we need a way to +# specify the order plugins are loaded in. <2024-08-11> +[ + # Remove all previous tags before import (this is useful to ensure, that + # the metadata in the libary.db is synced with the tags on disk) + # # FIXME: I think, that this also removes the deezer id, which is not ideal + # <2024-08-07> + # "scrub" + + # Help submitting stuff to music brainz + "mbsubmit" + + # Extract things from the music file + "xtractor" + + # Calculate replay gain + "replaygain" + + # Check for bad files + "badfiles" + + # Alows to use inline python for parsing tags + "inline" + + # Support player integration + "play" + + # Show tags on files/queries + "info" + + # Create playlist from `play_count`/`skip_count` (gathered by the `mpdstats` + # plugin) + # Note that this should come _before_ the `mpdupdate` plugin, to ensure that + # `mpdupgate` can propagate changed playlist to `mpd`. + "smartplaylist" + + # Warn, when importing a matching item + "ihate" + + # Allow fuzzy searching + "fuzzy" + + # Filter out duplicates + "duplicates" + + # Generate fingerprints + "chroma" + + # Download album art + "fetchart" + + # Fetches tags from `last.fm` and adds them as genres to imported music + "lastgenre" + + # Run commands on events + "hook" + + # Fetch lyrics + "lyrics" + + # Allow beets to understand deezer id's + # "deezer" + + "mpdstats" # Transfer MPD stats to beets + "mpdupdate" # Update MPD database on import +] -- cgit 1.4.1