Beispiel #1
0
def change(seconds):
    vlc.tell('set current time to %s' % seconds)
Beispiel #2
0
def get():
    if vlc.pid():
        return int(vlc.tell('get current time'))
Beispiel #3
0
def change(value):
    """set VLC volume"""
    vlc.tell('set audio volume to %s' % value)
Beispiel #4
0
def get():
    """return VLC volume"""
    if vlc.pid():
        return int(vlc.tell('audio volume'))
Beispiel #5
0
def change(seconds):
    """set current video time"""
    vlc.tell('set current time to %s' % seconds)
Beispiel #6
0
def get():
    """return current video time"""
    if vlc.pid():
        return int(vlc.tell('get current time'))
Beispiel #7
0
def detect():
    return "true" in vlc.tell("fullscreen mode")
Beispiel #8
0
def exit():
    vlc.tell("set fullscreen mode to false")
Beispiel #9
0
def enter():
    vlc.tell("set fullscreen mode to true")
Beispiel #10
0
def get():
    if vlc.pid():
        return int(vlc.tell('audio volume'))
Beispiel #11
0
def change(value):
    vlc.tell('set audio volume to %s' % value)