Старт

This commit is contained in:
2020-02-12 14:30:39 +03:00
commit c06356c783
5 changed files with 265 additions and 0 deletions

9
start.py Normal file
View File

@@ -0,0 +1,9 @@
from os import path, system
from time import sleep
print('Welcome to MixPlayer`s whatchdog!\n')
currentPath = path.dirname(path.realpath(__file__))
while True:
system('python ' + currentPath + '/MIXplayer.py')
print('\nRestart in 10 seconds...')
sleep(10)