Beispiel #1
0
	def setPlayItem(self, it):
		if not isinstance(it, PVideo):
			log.error("""[Player] playItem: incompatible play item %s""", str(it))
			return
		setting.resetSettings()
		self.play_it = it
		self.playSettings = it.settings
Beispiel #2
0
	def setPlayItem(self, it):
		if not isinstance(it, PVideo):
			log.error("""[Player] playItem: incompatible play item %s""", str(it))
			return
		setting.resetSettings()
		self.play_it = it
		self.playSettings = it.settings
Beispiel #3
0
	def exit(self, callback=None):
		for f in self.onClose:
			f()
		# fix for HDMU sh4 image..
		if self.hdmuFix:
			ServiceEventTracker.EventMap[14] = self.rassFuncs

		setting.resetSettings()
		self.content_provider = None
		self.videoPlayer = None
		self.session.nav.playService(self.oldService)
		if self.callback:
			self.callback()
Beispiel #4
0
	def exit(self, callback=None):
		for f in self.onClose:
			f()
		# fix for HDMU sh4 image..
		if self.hdmuFix:
			ServiceEventTracker.EventMap[14] = self.rassFuncs

		setting.resetSettings()
		self.content_provider = None
		self.videoPlayer = None
		self.session.nav.playService(self.oldService)
		if self.callback:
			self.callback()