Add a tiny wrapper script that makes the beets.io play plugin compatible with MPD

This commit is contained in:
Danielle McLean 2018-04-09 08:45:23 +10:00
parent 5862c9c0a8
commit adbab7baa0
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

5
local/bin/beet-play-mpd Executable file
View file

@ -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