From e9288fb6afbbfc1357d5568d13ad9726dce3bd4e Mon Sep 17 00:00:00 2001 From: Snapcase Date: Wed, 24 Jul 2019 18:01:32 -0400 Subject: [PATCH] fix some imports --- script.service.hue/addon.xml | 2 +- script.service.hue/resources/lib/AmbiGroup.py | 4 +--- script.service.hue/resources/lib/KodiGroup.py | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/script.service.hue/addon.xml b/script.service.hue/addon.xml index a2541c7a..879700af 100644 --- a/script.service.hue/addon.xml +++ b/script.service.hue/addon.xml @@ -1,4 +1,4 @@ - + diff --git a/script.service.hue/resources/lib/AmbiGroup.py b/script.service.hue/resources/lib/AmbiGroup.py index d98b7400..f1cbc13b 100644 --- a/script.service.hue/resources/lib/AmbiGroup.py +++ b/script.service.hue/resources/lib/AmbiGroup.py @@ -19,9 +19,7 @@ from .language import get_string as _ -class AmbiGroup(KodiGroup): - - +class AmbiGroup(KodiGroup.KodiGroup): def onAVStarted(self): logger.info("Ambilight AV Started. Group enabled: {} , isPlayingVideo: {}, isPlayingAudio: {}, self.mediaType: {},self.playbackType(): {}".format(self.kgroupID, self.enabled,self.isPlayingVideo(),self.isPlayingAudio(),self.mediaType,self.playbackType())) logger.info("Ambilight Settings. Colours: {}, Interval: {}, transitionTime: {}".format(self.numColors,self.updateInterval,self.transitionTime)) diff --git a/script.service.hue/resources/lib/KodiGroup.py b/script.service.hue/resources/lib/KodiGroup.py index 113cd386..1469d317 100644 --- a/script.service.hue/resources/lib/KodiGroup.py +++ b/script.service.hue/resources/lib/KodiGroup.py @@ -8,8 +8,8 @@ import xbmc from . import globals +import kodiHue from .globals import logger -from . import kodiHue from .qhue import QhueException STATE_IDLE = 0