|
|
|
@ -4,6 +4,7 @@ import time
|
|
|
|
|
|
|
|
|
|
today = date.today()
|
|
|
|
|
files = listdir()
|
|
|
|
|
prefix = "~/ARCHIVE/"
|
|
|
|
|
|
|
|
|
|
for i in files:
|
|
|
|
|
tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
|
|
|
|
@ -13,11 +14,11 @@ for i in files:
|
|
|
|
|
|
|
|
|
|
if i == "nashepunks.mp3":
|
|
|
|
|
ss("telegram-upload "+i+" --to https://t.me/getnetradio_nashe0punk --caption "+tim)
|
|
|
|
|
ss("mkdir ARCHIVE/"+tim)
|
|
|
|
|
ss("mv "+i+" ARCHIVE/"+tim+"/")
|
|
|
|
|
ss("mkdir "+prefix+tim)
|
|
|
|
|
ss("mv "+i+" "+prefix+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+"/")
|
|
|
|
|
ss("mkdir "+prefix+tim)
|
|
|
|
|
ss("mv "+i+" "+prefix+tim+"/")
|
|
|
|
|
else:
|
|
|
|
|
pass
|
|
|
|
|