2020-01-07, 18:26
I'm occasionally seeing an "Embuary Helper error Check the log for more information" when browsing through the library.
What is causing this?
Embuary Helper error log 0
What is causing this?
Embuary Helper error log 0
plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]
RunScript(script.embuary.helper,action=calc,do='"(10 + 5) / 2"',prop=MyResult)
action also pickup values to calculate from infolabels?(2020-01-07, 21:37)sualfred Wrote: I have no checks implemented. It's better to use a $VAR[] with a check for existing ListItem.DBID + ListItem.DBType is movie, tvshow, episode or season.OK thanks.
(2020-01-08, 19:18)Hitcher Wrote:(2020-01-07, 21:37)sualfred Wrote: I have no checks implemented. It's better to use a $VAR[] with a check for existing ListItem.DBID + ListItem.DBType is movie, tvshow, episode or season.OK thanks.
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper) + !String.IsEmpty(ListItem.DBID)</visible>
<content>plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</content>
</control>
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper)</visible>
<content>$VAR[EmbuaryItemDetails]</content>
</control>
xml:<variable name="EmbuaryItemDetails">
<value condition="!String.IsEmpty(ListItem.DBID) + [String.Compare(ListItem.DBType,movie) | String.Compare(ListItem.DBType,tvshow) | String.Compare(ListItem.DBType,episode)]">plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</value>
<value></value>
</variable>
(2020-01-10, 12:34)Hitcher Wrote: As soon as I switch to using a VAR the list doesn't get populated.
Works -
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper) + !String.IsEmpty(ListItem.DBID)</visible>
<content>plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</content>
</control>
Doesn't work -
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper)</visible>
<content>$VAR[EmbuaryItemDetails]</content>
</control>
xml:<variable name="EmbuaryItemDetails">
<value condition="!String.IsEmpty(ListItem.DBID) + [String.Compare(ListItem.DBType,movie) | String.Compare(ListItem.DBType,tvshow) | String.Compare(ListItem.DBType,episode)]">plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</value>
<value></value>
</variable>
Any ideas?
videodb://tvshows/titles/<tv show dbid>/<season>/<episode dbid>?season=<season>&tvshowid=<tv show dbid>
. I have the season and the episode dbid, but not the tv show dbid. Thanks for considering my request.log:2020-01-25 07:58:02.221 T:13696 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
Traceback (most recent call last):
File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\default.py", line 43, in <module>
Main()
File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\default.py", line 19, in __init__
self.getactions()
File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\default.py", line 39, in getactions
util(self.params)
File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\resources\lib\utils.py", line 208, in encode
winprop(prop,url_quote(string))
File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\resources\lib\helper.py", line 125, in url_quote
string = string.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
-->End of Python script error report<--
2020-01-25 07:58:03.848 T:14736 NOTICE: [ script.embuary.helper ] Image blurring: Image has not changed. Skip H:\Filme\Bringing Out the Dead - Nächte der Erinnerung (1999)\Bringing Out the Dead - Nächte der Erinnerung (1999)-fanart.jpg.
2020-01-25 07:58:05.368 T:14736 NOTICE: Previous line repeats 2 times.
2020-01-25 07:58:05.368 T:14736 NOTICE: [ script.embuary.helper ] Image blurring: Image changed. Blur H:\Filme\Bridge of Spies Der Unterhändler (2015)\Bridge of Spies Der Unterhändler (2015)-fanart.jpg.
2020-01-25 07:58:05.369 T:14736 NOTICE: [ script.embuary.helper ] Use fallback average color: FFF0F0F0
(2020-01-25, 13:45)sualfred Wrote: I don't see any difference of the stored fanart path of "Bridge of Spies".
Both are having : H:\Filme\Bridge of Spies Der Unterhändler (2015)\Bridge of Spies Der Unterhändler (2015)-fanart.jpg
Weird that it works after you refreshed the item. Umlauts are no problem. Fixed that months ago.
But where does this exception came from? It's not related to the image blurring. What are you doing in this moment so I can reproduce it?