Rename files,small fix and add stop.sh

This commit is contained in:
2026-06-11 13:17:56 +03:00
parent ca83fd897e
commit 06d4e327ec
3 changed files with 21 additions and 5 deletions
+6 -5
View File
@@ -8,8 +8,9 @@ files = listdir()
for i in files:
tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
tp = i[i.find('.') + 1:]
if tp == "mp3":
ss("telegram-upload "+i+" --to https://t.me/streamsradio --caption "+tim)
ss("mkdir "+tim)
ss("mv "+i+" "+tim+"/")
#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)
ss("mv "+i+" ARCHIVE/"+tim+"/")