def __init__(self, options=[], esono=None): if ue.is_jack_launched(): options = ['-ao', 'jack'] # options = ['-ao', 'jack:port=ice'] if ue.PLAT=="linux": self.app = 'mplayer' elif ue.PLAT=="darwin": self.app = '/Applications/MPlayer OSX Extended.app/Contents/Resources/External_Binaries/mplayer.app/Contents/MacOS/mplayer' self.app = '/Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended.mpBinaries/Contents/MacOS/mplayer' elif ue.PLAT=="windows": self.app = 'c:\mplayer\mplayer.exe ' self.options_def = [ '-quiet', '-slave', '-idle', '-noborder', '-nojoystick','-nolirc', '-nomouseinput', '-noconsolecontrols', '-noar', '-nocolorkey', '-geometry','400x300+0+0', '-osdlevel', '0', '-af', 'volume=0' ] self.options = options Player_template.__init__(self, options, esono)
def __init__(self, options=[], esono=None): Player_template.__init__(self, options, esono)
def __init__(self, options=[], esono=None): Player_template.__init__(self, options, esono) print('starting vlc remote')