Exemple #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
Exemple #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
Exemple #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()
Exemple #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()