General update

master
Justuser 2 years ago
parent 30f0e442f4
commit adcc3d225d

15
st.sh

@ -1,9 +1,8 @@
wget https://nashe1.hostingradio.ru:18000/nashepunks.mp3 & while :
th1=$! do
echo _################### wget https://nashe1.hostingradio.ru:18000/nashepunks.mp3 &
echo $th1 th1=$!
echo _###################
sleep 2s sleep 5m
kill -9 $th1
kill -9 $th1 done

@ -1,14 +1,12 @@
from os import system as ss from os import listdir,system as ss
import os
from datetime import date from datetime import date
today = date.today()
import time import time
files = os.listdir() today = date.today()
files = listdir()
for i in files: for i in files:
tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime())) tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
#print(tim)
tp = i[i.find('.') + 1:] tp = i[i.find('.') + 1:]
if tp == "mp3": if tp == "mp3":

Loading…
Cancel
Save