当前位置: 首页>>代码示例>>Python>>正文


Python simpleplayer.SimplePlayer类代码示例

本文整理汇总了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)
开发者ID:Wuschi6,项目名称:MediaPortal,代码行数:7,代码来源:songsto.py

示例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)
开发者ID:amino60,项目名称:MediaPortal,代码行数:7,代码来源:myvideoTop100.py

示例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)
开发者ID:Wuschi6,项目名称:MediaPortal,代码行数:7,代码来源:musicstreamcc.py

示例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",
        )
开发者ID:hsch27,项目名称:MediaPortal,代码行数:13,代码来源:geo_de.py

示例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,
        )
开发者ID:noppes0608,项目名称:MediaPortal,代码行数:17,代码来源:musicstreamcc.py

示例6: __init__

    def __init__(self, session, playList):
        print "RTLNITROnowPlayer:"

        SimplePlayer.__init__(self, session, playList, showPlaylist=False)
开发者ID:hsch27,项目名称:MediaPortal,代码行数:4,代码来源:rtlnitronow.py

示例7: __init__

	def __init__(self, session, playList, playIdx=0, playAll=False, listTitle=None):
		print "ScienceTvPlayer:"

		SimplePlayer.__init__(self, session, playList, playIdx, playAll, listTitle)
开发者ID:amino60,项目名称:MediaPortal,代码行数:4,代码来源:sciencetv.py

示例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
开发者ID:n3wb13,项目名称:OpenNfrGui-5.0-1,代码行数:6,代码来源:fashionguidetv.py

示例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)
开发者ID:hsch27,项目名称:MediaPortal,代码行数:4,代码来源:nuna.py

示例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)
开发者ID:noppes0608,项目名称:MediaPortal,代码行数:4,代码来源:clipfish.py

示例11: __init__

	def __init__(self, session, playList):
		print "freeomoviePlayer:"
		SimplePlayer.__init__(self, session, playList, showPlaylist=False)
开发者ID:amino60,项目名称:MediaPortal,代码行数:3,代码来源:freeomovie.py

示例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)
开发者ID:Wuschi6,项目名称:MediaPortal,代码行数:5,代码来源:sciencetv.py

示例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)
开发者ID:amino60,项目名称:MediaPortal,代码行数:6,代码来源:viewster.py

示例14: __init__

	def __init__(self, session, playList):
		print "ARDMediathekPlayer:"

		SimplePlayer.__init__(self, session, playList, showPlaylist=False, ltype='ard')
开发者ID:hsch27,项目名称:MediaPortal,代码行数:4,代码来源:ard.py

示例15: SongstoPlayer

class SongstoPlayer(SimplePlayer):

	def __init__(self, session, playList, songsto_type, playIdx=0, listTitle=None):
开发者ID:n3wb13,项目名称:OpenNfrGui-5.0-1,代码行数:3,代码来源:songsto.py


注:本文中的Plugins.Extensions.MediaPortal.resources.simpleplayer.SimplePlayer类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。