Maybe this is better since it retries in a loop anyways
This commit is contained in:
parent
d0219201c6
commit
a6c7e97a59
4
run.sh
4
run.sh
|
@ -1,9 +1,7 @@
|
||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
# Sleep for a while because crap wifi coverage at office so network connection takes ages to come online
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
sleep 1
|
||||||
git pull
|
git pull
|
||||||
mpv --shuffle --ytdl-format="bestaudio" --playlist=playlist.txt
|
mpv --shuffle --ytdl-format="bestaudio" --playlist=playlist.txt
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue