Don't restart playback when unnecessary
Because mpc-i3-playlists was doing that. Because I'm bad.
This commit is contained in:
parent
feef17f985
commit
6f0abd1b31
@ -11,5 +11,7 @@ if [ "$1" = "--clear" ]; then
|
|||||||
mpc clear
|
mpc clear
|
||||||
fi
|
fi
|
||||||
mpc load $PLAYLIST
|
mpc load $PLAYLIST
|
||||||
mpc play
|
if [[ "$(mpc)" != *"playing"* ]]; then
|
||||||
|
mpc play
|
||||||
|
fi
|
||||||
notify-send -u low -t 5 -a 'Mopidy' "$PLAYLIST" "Beginning playback of playlist $PLAYLIST"
|
notify-send -u low -t 5 -a 'Mopidy' "$PLAYLIST" "Beginning playback of playlist $PLAYLIST"
|
||||||
|
Loading…
Reference in New Issue
Block a user