Added a short playlist player script
This commit is contained in:
parent
0f329619f5
commit
16afe4cbc9
@ -1,2 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/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"
|
||||||
|
Reference in New Issue
Block a user