Exemplo n.º 1
0
def getSeasonEpisode4(service_ref, name, begin, end, description, path, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		from SeriesPluginBare import bareGetSeasonEpisode
		try:
			return bareGetSeasonEpisode(service_ref, name, begin, end, description, path, True, False, False)
		except Exception as e:
			logDebug( "SeriesPlugin getSeasonEpisode4 exception " + str(e))
			return str(e)
Exemplo n.º 2
0
def getSeasonEpisode4(service_ref, name, begin, end, description, path, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		from SeriesPluginBare import bareGetSeasonEpisode
		try:
			return bareGetSeasonEpisode(service_ref, name, begin, end, description, path, True, False, False)
		except Exception as e:
			logDebug( "SeriesPlugin getSeasonEpisode4 exception " + str(e))
			return str(e)
Exemplo n.º 3
0
def getSeasonEpisode(service_ref, name, begin, end, description, path, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		logDebug("SeriesPlugin getSeasonEpisode is deprecated - Update Your AutoTimer!")
		from SeriesPluginBare import bareGetSeasonEpisode
		try:
			result = bareGetSeasonEpisode(service_ref, name, begin, end, description, path)
			if result and len(result) == 4:
				return (result[0],result[1],result[2])
			else:
				return str(result)
		except Exception as e:
			logDebug( "SeriesPlugin getSeasonEpisode4 exception " + str(e))
			return str(e)
Exemplo n.º 4
0
def getSeasonEpisode(service_ref, name, begin, end, description, path, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		logDebug("SeriesPlugin getSeasonEpisode is deprecated - Update Your AutoTimer!")
		from SeriesPluginBare import bareGetSeasonEpisode
		try:
			result = bareGetSeasonEpisode(service_ref, name, begin, end, description, path)
			if result and len(result) == 4:
				return (result[0],result[1],result[2])
			else:
				return str(result)
		except Exception as e:
			logDebug( "SeriesPlugin getSeasonEpisode4 exception " + str(e))
			return str(e)
Exemplo n.º 5
0
def test(**kwargs):
	# http://dm7080/autotimer
	# http://www.unixtime.de/
	try:
		from SeriesPluginBare import bareGetSeasonEpisode 	#future=True, today=False, elapsed=False
		#bareGetSeasonEpisode("1:0:19:7C:6:85:FFFF0000:0:0:0:", "The Walking Dead", 1448740500, 1448745600, "Description", "/media/hdd/movie", True, False, False)
		bareGetSeasonEpisode("1:0:1:2F50:F1:270F:FFFF0000:0:0:0:", "Are You the One?", 1448923500, 1448926500, "Description", "/media/hdd/movie", False, False, True)
		
		#TEST INFOSCREEN MOVIE
		#if kwargs.has_key("session"):
		#	from enigma import eServiceReference
		#	session = kwargs["session"]
			#service = eServiceReference(eServiceReference.idDVB, 0, "/media/hdd/movie/20151120 0139 - Pro7 HD - The 100.ts")
			#service = eServiceReference(eServiceReference.idDVB, 0, "/media/hdd/movie/20151205 1625 - TNT Serie HD (S) - The Last Ship - Staffel 1.ts")
			#service = eServiceReference(eServiceReference.idDVB, 0, "/media/hdd/movie/20151204 1825 - VIVA_COMEDY CENTRAL HD - Rules of Engagement.ts")
		#	movielist_info(session, service)
		
		#TEST AUTOTIMER
		#from SeriesPluginBare import bareGetSeasonEpisode
		#bareGetSeasonEpisode("1:0:1:2F50:F1:270F:FFFF0000:0:0:0:", "Are You the One", 1448751000, 1448754000, "Description", "/media/hdd/movie", False, False, True)
		#bareGetSeasonEpisode("1:0:19:8150:14B:270F:FFFF0000:0:0:0:", "Dragons Auf zu neuen Ufern TEST_TO_BE_REMOVED", 1449390300, 1449393300, "Description", "/media/hdd/movie", False, False, True)
		
	except Exception as e:
		logDebug(_("SeriesPlugin test exception ") + str(e))