Skip to content

Commit

Permalink
script.copacetic.helper 1.0.8 (#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic authored Nov 19, 2023
1 parent 5291cb5 commit 523851c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions script.copacetic.helper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion script.copacetic.helper/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<addon id="script.copacetic.helper" name="Copacetic Helper" version="1.0.6" provider-name="realcopacetic">
<addon id="script.copacetic.helper" name="Copacetic Helper" version="1.0.8" provider-name="realcopacetic">
<requires>
<import addon="xbmc.python" version="3.0.1" />
<import addon="script.module.pil" version="5.1.0" />
Expand Down
2 changes: 2 additions & 0 deletions script.copacetic.helper/resources/lib/service/art.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down
1 change: 1 addition & 0 deletions script.copacetic.helper/resources/lib/service/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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) | '
Expand Down

0 comments on commit 523851c

Please sign in to comment.