import subprocess
from threading import Timer
import webbrowser
import datetime

def startmusic():
    if datetime.datetime.now().time().minute >= 30 and datetime.datetime.now().time().hour >= 6:
        #subprocess.call(['/Applications/VLC.app/Contents/MacOS/VLC', '-I', 'rc', '/Users/second/Desktop/ZYBY.mp3'])
        webbrowser.open_new('https://www.youtube.com/watch?v=nPhHtahBlyI')
        Timer(600, startmusic, ()).start()
    else:
        Timer(5, startmusic, ()).start()


startmusic()
1b1bd18d0b427889ca91a68191ea1af3b711db74
<mask token>

<mask token>


def startmusic():
    if datetime.datetime.now().time().minute >= 30 and datetime.datetime.now(
        ).time().hour >= 6:
        webbrowser.open_new('https://www.youtube.com/watch?v=nPhHtahBlyI')
        Timer(600, startmusic, ()).start()
    else:
        Timer(5, startmusic, ()).start()


<mask token>

<mask token>


def startmusic():
    if datetime.datetime.now().time().minute >= 30 and datetime.datetime.now(
        ).time().hour >= 6:
        webbrowser.open_new('https://www.youtube.com/watch?v=nPhHtahBlyI')
        Timer(600, startmusic, ()).start()
    else:
        Timer(5, startmusic, ()).start()


startmusic()

import subprocess
from threading import Timer
import webbrowser
import datetime


def startmusic():
    if datetime.datetime.now().time().minute >= 30 and datetime.datetime.now(
        ).time().hour >= 6:
        webbrowser.open_new('https://www.youtube.com/watch?v=nPhHtahBlyI')
        Timer(600, startmusic, ()).start()
    else:
        Timer(5, startmusic, ()).start()


startmusic()

import subprocess
from threading import Timer
import webbrowser
import datetime

def startmusic():
    if datetime.datetime.now().time().minute >= 30 and datetime.datetime.now().time().hour >= 6:
        #subprocess.call(['/Applications/VLC.app/Contents/MacOS/VLC', '-I', 'rc', '/Users/second/Desktop/ZYBY.mp3'])
        webbrowser.open_new('https://www.youtube.com/watch?v=nPhHtahBlyI')
        Timer(600, startmusic, ()).start()
    else:
        Timer(5, startmusic, ()).start()


startmusic()