From adbab7baa0dacd78413bc9664d495100694c3065 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 9 Apr 2018 08:45:23 +1000 Subject: [PATCH] Add a tiny wrapper script that makes the beets.io play plugin compatible with MPD --- local/bin/beet-play-mpd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 local/bin/beet-play-mpd diff --git a/local/bin/beet-play-mpd b/local/bin/beet-play-mpd new file mode 100755 index 0000000..5aa3328 --- /dev/null +++ b/local/bin/beet-play-mpd @@ -0,0 +1,5 @@ +#!/bin/zsh +mv $1 $XDG_DATA_HOME/mpd/playlists/beet-play-mpd.m3u && +mpc clear >/dev/null && +mpc load beet-play-mpd >/dev/null && +mpc play