Bugfix for playlist script
This commit is contained in:
parent
16afe4cbc9
commit
225b4fe618
@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
PLAYLIST="$(mpc lsplaylists | rofi -lines 10 -dmenu -p 'Play MPD Playlist: ')"
|
||||
if [ "$PLAYLIST" = "" ]; then
|
||||
exit
|
||||
fi
|
||||
mpc clear
|
||||
mpc load $PLAYLIST
|
||||
mpc play
|
||||
|
Loading…
Reference in New Issue
Block a user