Added a short playlist player script

This commit is contained in:
Salt 2017-07-30 19:07:28 -05:00
parent 0f329619f5
commit 16afe4cbc9

View File

@ -1,2 +1,6 @@
#!/bin/bash
local PLAYLIST="$(mpc lsplaylists | rofi -dmenu -p 'Play MPD Playlist: ')"
PLAYLIST="$(mpc lsplaylists | rofi -lines 10 -dmenu -p 'Play MPD Playlist: ')"
mpc clear
mpc load $PLAYLIST
mpc play
notify-send -u low -t 5 -a 'Mopidy' "$PLAYLIST" "Beginning playback of playlist $PLAYLIST"