MusicBoxApi/utils.py
def notify(msg, msg_type=0, t=None):
    "Show system notification with duration t (ms)"
    if platform.system() == 'Darwin':
        command = notify_command_osx(msg, msg_type, t)
    else:
        command = notify_command_linux(msg, t)
    os.system(command.encode('utf-8'))
def notify(msg, msg_type=0, t=None):
    "Show system notification with duration t (ms)"
    if platform.system() == 'Darwin':
        command = notify_command_osx(msg, msg_type, t)
    else:
        command = notify_command_linux(msg, t)
    os.system(command.encode('utf-8'))
def notify ( msg , msg_type = 0 , t = None ) : if platform . system ( ) == 'Darwin' : command = notify_command_osx ( msg , msg_type , t ) else : command = notify_command_linux ( msg , t ) os . system ( command . encode ( 'utf-8' ) )
Show system notification with duration t (ms)
Show system notification with duration t ( ms )