-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.sh
More file actions
32 lines (29 loc) · 788 Bytes
/
update.sh
File metadata and controls
32 lines (29 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Needs seperate compiles updaters for now..
USERNAME=username
PASSWORD=pass
python fetch_lists.py
./updater-p3 $USERNAME $PASSWORD
while [ $? -ne 0 ]; do
echo "Playlist not found.. Spotify sucks, so we try again.."
sleep 5
./updater-p3 $USERNAME $PASSWORD
done
./updater-mp3 $USERNAME $PASSWORD
while [ $? -ne 0 ]; do
echo "Playlist not found.. Spotify sucks, so we try again.."
sleep 5
./updater-mp3 $USERNAME $PASSWORD
done
./updater-vg $USERNAME $PASSWORD
while [ $? -ne 0 ]; do
echo "Playlist not found.. Spotify sucks, so we try again.."
sleep 5
./updater-vg $USERNAME $PASSWORD
done
./updater-radio1 $USERNAME $PASSWORD
while [ $? -ne 0 ]; do
echo "Playlist not found.. Spotify sucks, so we try again.."
sleep 5
./updater-radio1 $USERNAME $PASSWORD
done