aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/conf/beets/plugins/xtractor
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-18 17:07:46 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-18 17:07:46 +0200
commitc52c7f314ccadcc2fcd91e28c8fd1b88f6d5ce0c (patch)
treee8b947710b467b32740598ff574982097836f66c /modules/home/conf/beets/plugins/xtractor
parentchore(pkgs/yt): 1.2.1 -> 1.3.0 (diff)
downloadnixos-config-c52c7f314ccadcc2fcd91e28c8fd1b88f6d5ce0c.zip
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.
Diffstat (limited to 'modules/home/conf/beets/plugins/xtractor')
-rw-r--r--modules/home/conf/beets/plugins/xtractor/default.nix95
1 files changed, 0 insertions, 95 deletions
diff --git a/modules/home/conf/beets/plugins/xtractor/default.nix b/modules/home/conf/beets/plugins/xtractor/default.nix
deleted file mode 100644
index d4582c5f..00000000
--- a/modules/home/conf/beets/plugins/xtractor/default.nix
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- lib,
- pkgs,
- config,
- ...
-}: {
- programs.beets.settings = {
- xtractor = {
- # This option is not yet implemented, thus requiring the hook
- auto = true;
-
- dry-run = false;
- # Writes the bpm key to the media files
- write = true;
- threads = 0;
- # Also run for files, which already have the required keys
- force = true;
- quiet = false;
- keep_output = true;
- keep_profiles = true;
- output_path = "${config.xdg.dataHome}/beets/xtactor";
- essentia_extractor = "${lib.getExe pkgs.essentia-extractor}";
- extractor_profile = {
- highlevel = {
- svm_models = let
- m = pkgs.beetsExtraPlugins.xtractor.models;
- in [
- "${m}/danceability.history"
- "${m}/danceability.history.param"
- "${m}/danceability.history.results.html"
- "${m}/gender.history"
- "${m}/gender.history.param"
- "${m}/gender.history.results.html"
- "${m}/genre_dortmund.history"
- "${m}/genre_dortmund.history.param"
- "${m}/genre_dortmund.history.results.html"
- "${m}/genre_electronic.history"
- "${m}/genre_electronic.history.param"
- "${m}/genre_electronic.history.results.html"
- "${m}/genre_rosamerica.history"
- "${m}/genre_rosamerica.history.param"
- "${m}/genre_rosamerica.history.results.html"
- "${m}/genre_tzanetakis.history"
- "${m}/genre_tzanetakis.history.param"
- "${m}/genre_tzanetakis.history.results.html"
- "${m}/ismir04_rhythm.history"
- "${m}/ismir04_rhythm.history.param"
- "${m}/ismir04_rhythm.history.results.html"
- "${m}/mood_acoustic.history"
- "${m}/mood_acoustic.history.param"
- "${m}/mood_acoustic.history.results.html"
- "${m}/mood_aggressive.history"
- "${m}/mood_aggressive.history.param"
- "${m}/mood_aggressive.history.results.html"
- "${m}/mood_electronic.history"
- "${m}/mood_electronic.history.param"
- "${m}/mood_electronic.history.results.html"
- "${m}/mood_happy.history"
- "${m}/mood_happy.history.param"
- "${m}/mood_happy.history.results.html"
- "${m}/mood_party.history"
- "${m}/mood_party.history.param"
- "${m}/mood_party.history.results.html"
- "${m}/mood_relaxed.history"
- "${m}/mood_relaxed.history.param"
- "${m}/mood_relaxed.history.results.html"
- "${m}/mood_sad.history"
- "${m}/mood_sad.history.param"
- "${m}/mood_sad.history.results.html"
- "${m}/moods_mirex.history"
- "${m}/moods_mirex.history.param"
- "${m}/moods_mirex.history.results.html"
- "${m}/timbre.history"
- "${m}/timbre.history.param"
- "${m}/timbre.history.results.html"
- "${m}/tonal_atonal.history"
- "${m}/tonal_atonal.history.param"
- "${m}/tonal_atonal.history.results.html"
- "${m}/voice_instrumental.history"
- "${m}/voice_instrumental.history.param"
- "${m}/voice_instrumental.history.results.html"
- ];
- };
- };
- };
- hook = {
- hooks = [
- {
- event = "import";
- command = "echo Remember to run 'beet xtractor'!";
- }
- ];
- };
- };
-}