Add new atation.
This commit is contained in:
parent
e4ad207f5d
commit
8f888b66ee
7
main.py
7
main.py
@ -9,7 +9,8 @@ import time
|
|||||||
#RADIO STATIONS
|
#RADIO STATIONS
|
||||||
rad = [
|
rad = [
|
||||||
"https://nashe1.hostingradio.ru:18000/nashepunks.mp3",
|
"https://nashe1.hostingradio.ru:18000/nashepunks.mp3",
|
||||||
"https://ic7.101.ru:8000/v1_1 -O nrj.mp3"
|
"https://ic7.101.ru:8000/v1_1 -O nrj.mp3".
|
||||||
|
"https://emgregion.hostingradio.ru:8064/moscow.retrofm.mp3 -O retrofm.mp3"
|
||||||
]
|
]
|
||||||
###
|
###
|
||||||
|
|
||||||
@ -38,6 +39,10 @@ def upload():
|
|||||||
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nrj --caption "+tim)
|
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nrj --caption "+tim)
|
||||||
ss("mkdir "+prefix+tim)
|
ss("mkdir "+prefix+tim)
|
||||||
ss("mv "+i+" "+prefix+tim+"/")
|
ss("mv "+i+" "+prefix+tim+"/")
|
||||||
|
elif i == "retrofm.mp3":
|
||||||
|
ss("telegram-upload "+i+" --to https://t.me/getnetradio_retrofm --caption "+tim)
|
||||||
|
ss("mkdir "+prefix+tim)
|
||||||
|
ss("mv "+i+" "+prefix+tim+"/")
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user