]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add lyrics entry to ncmpcpp (#402)
authorLeenuus <linusrach24@gmail.com>
Tue, 7 May 2024 14:17:50 +0000 (22:17 +0800)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 14:17:50 +0000 (16:17 +0200)
By default, ncmpcpp creates `~/.lyrics` to store lyrics, other mpd clients use this directory too.
For ncmpcpp users, this behavior can be changed by modifying ncmpcpp config file.
But it may not work if other mpd clients exists.
see `man ncmpcpp`, search `lyrics` to get more informations.

programs/ncmpcpp.json

index 52f210b3bba3db55109fcb8e1f308b2900df5a90..a1761eddfc9d603c93a7868d1e617a0b32198860 100644 (file)
@@ -5,6 +5,11 @@
             "path": "$HOME/.ncmpcpp",
             "movable": true,
             "help": "Supported by default.\n\nYou can move the directory to _$XDG_CONFIG_HOME/ncmpcpp_.\n\nNote that the _error.log_ file will still be created at the old location. To avoid that, set `ncmcpp_directory` in your config file.\n"
+        },
+        {
+            "path": "$HOME/.lyrics",
+            "movable": true,
+            "help": "This directory is where _ncmpcpp_ stores lyrics by default, for other _mpd_ clients also use this default path. You can move it to elsewhere, say `$XDG_CONFIG_HOME/lyrics`, but it works __only if you only use _ncmpcpp___.\n\nSupposed your `$XDG_CONFIG_HOME` is set to `~/.local/share`.\nPut the following to your _ncmpcpp_ configuration, usually `$XDG_CONFIG_HOME/ncmpcpp/config`\n\n```\nlyrics_directory = ~/.local/share/lyrics\n```\n\n"
         }
     ]
 }