Add energy station
This commit is contained in:
parent
53b62aa278
commit
0d1ea3cd0e
3
run.sh
3
run.sh
@ -2,9 +2,12 @@ while :
|
||||
do
|
||||
wget https://nashe1.hostingradio.ru:18000/nashepunks.mp3 &
|
||||
th1=$!
|
||||
wget https://ic7.101.ru:8000/v1_1 -O nrj.mp3
|
||||
th2=$!
|
||||
|
||||
sleep 30m
|
||||
kill -9 $th1
|
||||
kill -9 $th2
|
||||
|
||||
python3 up.py
|
||||
done
|
||||
|
4
up.py
4
up.py
@ -14,3 +14,7 @@ for i in files:
|
||||
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nashe0punk --caption "+tim)
|
||||
ss("mkdir ARCHIVE/"+tim)
|
||||
ss("mv "+i+" ARCHIVE/"+tim+"/")
|
||||
elif i == "nrj.mp3":
|
||||
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nrj --caption "+tim)
|
||||
ss("mkdir ARCHIVE/"+tim)
|
||||
ss("mv "+i+" ARCHIVE/"+tim+"/")
|
||||
|
Loading…
Reference in New Issue
Block a user