Exemple #1
0
def renameTimer(timer, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		try:
			spt = SeriesPluginTimer()
			spt.getEpisode(timer)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
def renameTimer(timer, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		try:
			spt = SeriesPluginTimer()
			spt.getEpisode(timer)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
Exemple #3
0
def labelTimer(timer, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		log.debug("SeriesPlugin labelTimer is deprecated - Update Your AutoTimer!")
		try:
			spt = SeriesPluginTimer()
			spt.getEpisode(timer)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
def labelTimer(timer, *args, **kwargs):
	if config.plugins.seriesplugin.enabled.value:
		log.debug("SeriesPlugin labelTimer is deprecated - Update Your AutoTimer!")
		try:
			spt = SeriesPluginTimer()
			spt.getEpisode(timer)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
def runIndependent():
    try:

        spt = SeriesPluginTimer()

        for timer in NavigationInstance.instance.RecordTimer.timer_list:

            #Maybe later
            # Add a series whitelist
            # Configured with a dialog
            # Stored in a db or xml

            spt.getEpisode(timer)

    except Exception as e:
        log.exception(_("Independent mode exception") + "\n" + str(e))
def runIndependent():
	try:
		
		spt = SeriesPluginTimer()
		
		for timer in NavigationInstance.instance.RecordTimer.timer_list:
			
			#Maybe later
			# Add a series whitelist
			# Configured with a dialog
			# Stored in a db or xml
			
			spt.getEpisode(timer)
			
	except Exception as e:
		log.exception( _("Independent mode exception") + "\n" + str(e))
Exemple #7
0
def getSeasonAndEpisode(timer, *args, **kwargs):
	result = None
	if config.plugins.seriesplugin.enabled.value:
		log.debug("SeriesPlugin getSeasonAndEpisode is deprecated - Update Your AutoTimer!")
		try:
			spt = SeriesPluginTimer()
			result = spt.getEpisode(timer, True)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
	return result
def getSeasonAndEpisode(timer, *args, **kwargs):
	result = None
	if config.plugins.seriesplugin.enabled.value:
		log.debug("SeriesPlugin getSeasonAndEpisode is deprecated - Update Your AutoTimer!")
		try:
			spt = SeriesPluginTimer()
			result = spt.getEpisode(timer, True)
		except Exception as e:
			log.exception(_("SeriesPlugin label exception ") + str(e))
	return result