diff --git a/script.copacetic.helper/README.md b/script.copacetic.helper/README.md index 284817f72..e9fac0fa1 100644 --- a/script.copacetic.helper/README.md +++ b/script.copacetic.helper/README.md @@ -14,6 +14,12 @@ All code contained in this project is licensed under GPL 3.0. ### Changelog +**1.0.8** +- Push dbid of corresponding cropped clearlogo to window prop for comparison so cropped clearlogos only show on correct listitems. + +**1.0.7** +- Add tvguide to SlideShowMonitor() whitelist + **1.0.6** - Moved director/writer/studio/genre splitting to monitoring service diff --git a/script.copacetic.helper/addon.xml b/script.copacetic.helper/addon.xml index 1a0f95d05..5af3e408f 100644 --- a/script.copacetic.helper/addon.xml +++ b/script.copacetic.helper/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/script.copacetic.helper/resources/lib/service/art.py b/script.copacetic.helper/resources/lib/service/art.py index d60270064..e79d14c6e 100644 --- a/script.copacetic.helper/resources/lib/service/art.py +++ b/script.copacetic.helper/resources/lib/service/art.py @@ -42,6 +42,7 @@ def clearlogo_cropper(self, url=False, type='clearlogo', source='ListItem', retu lookup_tree = ET.parse(self.lookup) root = lookup_tree.getroot() for key, value in list(clearlogos.items()): + self.id = xbmc.getInfoLabel(f'{path}.dbid') self.destination, self.height, self.color, self.luminosity = False, False, False, False name = reporting_key or key if value: @@ -67,6 +68,7 @@ def clearlogo_cropper(self, url=False, type='clearlogo', source='ListItem', retu luminosity.text = str(self.luminosity) lookup_tree.write(self.lookup, encoding="utf-8") reporting(key=f'{name}_cropped', set=self.destination) + reporting(key=f'{name}_cropped-id', set=self.id) reporting(key=f'{name}_cropped-height', set=self.height) if return_color: reporting(key=f'{name}_cropped-color', set=self.color) diff --git a/script.copacetic.helper/resources/lib/service/monitor.py b/script.copacetic.helper/resources/lib/service/monitor.py index c5c105a0e..685920755 100644 --- a/script.copacetic.helper/resources/lib/service/monitor.py +++ b/script.copacetic.helper/resources/lib/service/monitor.py @@ -168,6 +168,7 @@ def poller(self): 'Window.IsVisible(smartplaylisteditor) | ' 'Window.IsVisible(musicplaylisteditor) | ' 'Window.IsVisible(mediasource) | ' + 'Window.IsVisible(tvguide) | ' 'Container.Content(genres) | ' 'Container.Content(years) | ' 'Container.Content(playlists) | '