diff options
Diffstat (limited to 'modules/home')
-rw-r--r-- | modules/home/conf/beets/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix index 9b88db88..145ae337 100644 --- a/modules/home/conf/beets/default.nix +++ b/modules/home/conf/beets/default.nix @@ -89,6 +89,13 @@ "title:commentary" ]; }; + play = { + command = "${lib.getExe pkgs.mpc-cli} $args add"; + relative_to = config.services.mpd.musicDirectory; + + # Run the command with the returned paths as arguments + raw = true; + }; smartplaylist = { relative_to = config.services.mpd.musicDirectory; playlist_dir = config.services.mpd.playlistDirectory; @@ -174,6 +181,9 @@ # Alows to use inline python for parsing tags "inline" + # Support player integration + "play" + # Show tags on files/queries "info" |