本文整理汇总了Python中Plugins.Extensions.MediaPortal.resources.simpleplayer.SimplePlayer类的典型用法代码示例。如果您正苦于以下问题:Python SimplePlayer类的具体用法?Python SimplePlayer怎么用?Python SimplePlayer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SimplePlayer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, session, playList, songsto_type, playIdx=0, listTitle=None):
print "SongstoPlayer:"
self.songsto_type = songsto_type
SimplePlayer.__init__(self, session, playList, playIdx=playIdx, playAll=True, listTitle=listTitle, ltype='songsto', cover=True, autoScrSaver=True, listEntryPar=[20, 0, 860, 25, 0, ' - ', 1, 0])
self.onLayoutFinish.append(self.getVideo)
示例2: __init__
def __init__(self, session, playList, playIdx=0, playAll=True, listTitle=None):
print "myvideoTop100Player:"
print listTitle
SimplePlayer.__init__(self, session, playList, playIdx=playIdx, playAll=playAll, listTitle=listTitle, ltype='myvideo')
self.onLayoutFinish.append(self.getVideo)
示例3: __init__
def __init__(self, session, playList, playIdx=0, playAll=True, listTitle=None):
print "MusicstreamccPlayer:"
self.base_url = 'http://musicstream.cc'
self.chachepath = config.mediaportal.storagepath.value
self.filescached = {}
SimplePlayer.__init__(self, session, playList, playIdx=playIdx, playAll=playAll, listTitle=listTitle, title_inr=1, ltype='musicstreamcc', autoScrSaver=True, cover=True)
示例4: __init__
def __init__(self, session, playList, playIdx):
print "GEOdePlayer:"
SimplePlayer.__init__(
self,
session,
playList,
playIdx=playIdx,
playAll=True,
listTitle="GEOaudio - Hören und Reisen",
autoScrSaver=True,
ltype="geo.de",
)
示例5: __init__
def __init__(self, session, playList, playIdx=0, playAll=True, listTitle=None):
print "MusicstreamccPlayer:"
self.base_url = "http://musicstream.cc"
self.play_url = mp_globals.mscc_play_url
SimplePlayer.__init__(
self,
session,
playList,
playIdx=playIdx,
playAll=playAll,
listTitle=listTitle,
title_inr=1,
ltype="musicstreamcc",
autoScrSaver=True,
cover=True,
)
示例6: __init__
def __init__(self, session, playList):
print "RTLNITROnowPlayer:"
SimplePlayer.__init__(self, session, playList, showPlaylist=False)
示例7: __init__
def __init__(self, session, playList, playIdx=0, playAll=False, listTitle=None):
print "ScienceTvPlayer:"
SimplePlayer.__init__(self, session, playList, playIdx, playAll, listTitle)
示例8: GermanyTVPlayer2
class GermanyTVPlayer2(SimplePlayer):
def __init__(self, session, playList, tvTitle, playIdx=0, playAll=False, listTitle=None):
self.tvLink = None
self.tryCount = 7
self.tvTitle = tvTitle
示例9: __init__
def __init__(self, session, playList, playIdx=0, playAll=True, listTitle=None):
print "NunaPlayer:"
SimplePlayer.__init__(self, session, playList, playIdx=playIdx, playAll=playAll, listTitle=listTitle)
示例10: __init__
def __init__(self, session, playList, genreVideos, playIdx=0, playAll=False, listTitle=None, showCover=False):
print "ClipfishPlayer:"
self.genreVideos = genreVideos
SimplePlayer.__init__(self, session, playList, playIdx=playIdx, playAll=playAll, listTitle=listTitle, cover=showCover)
示例11: __init__
def __init__(self, session, playList):
print "freeomoviePlayer:"
SimplePlayer.__init__(self, session, playList, showPlaylist=False)
示例12: __init__
def __init__(self, session, playList, playIdx=0, playAll=False, listTitle=None):
print "ScienceTvPlayer2:"
self.stvTitle = 'Science-TV - aktuelles Programm'
SimplePlayer.__init__(self, session, playList, playIdx, playAll, listTitle, showPlaylist=False)
示例13: __init__
def __init__(self, session, playList, playIdx=0, playAll=True, listTitle=None, cover=True):
print "viewsterPlayer:"
SimplePlayer.__init__(self, session, playList, playIdx, playAll, listTitle, 'local', 0, cover)
self.onLayoutFinish.append(self.getVideo)
示例14: __init__
def __init__(self, session, playList):
print "ARDMediathekPlayer:"
SimplePlayer.__init__(self, session, playList, showPlaylist=False, ltype='ard')
示例15: SongstoPlayer
class SongstoPlayer(SimplePlayer):
def __init__(self, session, playList, songsto_type, playIdx=0, listTitle=None):