Enable upload all stations
This commit is contained in:
parent
39f849539c
commit
fdb570f748
5
up.py
5
up.py
@ -7,9 +7,10 @@ files = listdir()
|
||||
|
||||
for i in files:
|
||||
tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
|
||||
|
||||
|
||||
#Check type,no need for this
|
||||
#tp = i[i.find('.') + 1:]
|
||||
|
||||
if i == "nashepunks.mp3":
|
||||
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nashe0punk --caption "+tim)
|
||||
ss("mkdir ARCHIVE/"+tim)
|
||||
@ -18,3 +19,5 @@ for i in files:
|
||||
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nrj --caption "+tim)
|
||||
ss("mkdir ARCHIVE/"+tim)
|
||||
ss("mv "+i+" ARCHIVE/"+tim+"/")
|
||||
else:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user