music: forgot to clean pl. twitch: updates
This commit is contained in:
parent
a51c743fe9
commit
5fde4d7a93
|
@ -29,6 +29,7 @@ case "$MUSICPLAYER" in
|
|||
while ! mocp -o shuffle 2>/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
mocp -c
|
||||
mocp -a ~/Music/music
|
||||
mocp -p
|
||||
;;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
watch="$(cat $FAV_STREAMERS | rofi -dmenu -matching fuzzy)"
|
||||
|
||||
[ -n "$watch" ] && {
|
||||
if youtube-dl --get-id "https://www.twitch.tv/$watch"; then
|
||||
if [ -n "$(youtube-dl --get-id "https://www.twitch.tv/$watch")" ]; then
|
||||
dash $TSCRIPTS/watch-video-select-format.sh \
|
||||
"https://www.twitch.tv/$watch"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue