Release script.embuary.helper - a skin helper service / widgets alternative
(2020-01-25, 14:05)sualfred Wrote: You must be calling something. Like the dbid info action or something similar. 

Can you please add "log(str(self.action) + ' ' + str(self.params), force=True)" before this line https://github.com/sualfred/script.embua...ult.py#L38 ?
This will log the called action so I can see where it was called and with which params.

I did what you suggested and upload file again, and packed in zip.

LogError pops by opening window(movieinformation)-
After i Refresh i can get image blurred, but if i refresh next one, the previous one is gone again. pretty strange and i have no idea (Nfo arent the issue, but i deleted them anyway)

Video, to get visual feedback.  -> LINK
(bridge of spies takes up to one minute for refresh 0:44 to 1:45...)


Zip File (Packed, MyVideos.db , .log)  -> LINK

EDIT:

I also test just change fanart - which is used for the blur

  1- if i choose an 'online' source , the image refreshes and blur works

  2.- if i choose a local stored art, embuary h. is not able to blur it
... BUT THAT JUST COUNT SOME FOR ITEMS - see log - (e.g. 'Bridge of Spies', 'Bringing Out The Dead' in that case)
, others are fine and also blur working flawless, regardless if cached from local/online (e.g. 'Braveheart' in that case).



IT SEEMS THE ERROR OCCURS ON ALL ITEMS WITH UMLAUTS


- again video -> LINK



log:
NOTICE: [ script.embuary.helper ] encode {'string': '\'"Bridge of Spies: Der Unterh\xc3\xa4ndler"\'', 'prop': 'EncodedTitle'}
2020-01-26 00:30:21.600 T:25344   ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Filme\Bridge of Spies Der Unterhändler (2015)\extras
2020-01-26 00:30:21.684 T:10576   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 27: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\apps\Kodi Leia\portable_data\addons\script.embuary.helper\default.py", line 44, 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 40, 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 27: ordinal not in range(128)
                                            -->End of Python script error report<--
2020-01-26 00:30:22.015 T:5688  NOTICE: [ script.embuary.helper ] Image blurring: Image has not changed. Skip https://assets.fanart.tv/fanart/movies/2...ccce17.jpg.
2020-01-26 00:30:22.021 T:17740  NOTICE: [plugin.video.youtube] Running: YouTube (6.5.2) on Leia (Kodi-18.5) with Python 2.7.13
                                                Path: /search/
                                                Params: {'q': 'Bridge of Spies: Der Unterh\xc3\xa4ndler'}
2020-01-26 00:30:22.557 T:5688  NOTICE: [ script.embuary.helper ] Image blurring: Image changed. Blur https://assets.fanart.tv/fanart/movies/8...a77c0d.jpg.
2020-01-26 00:30:23.328 T:13052  NOTICE: [ script.embuary.helper ] lookforfile {'file': '\'"H:\\Filme\\Bringing Out the Dead - N\xc3\xa4chte der Erinnerung (1999)\\Bringing Out the Dead - N\xc3\xa4chte der Erinnerung (1999)-trailer.mp4"\'', 'prop': 'trailer_avail'}
2020-01-26 00:30:23.352 T:13052  NOTICE: [ script.embuary.helper ] File does not exist: H:\Filme\Bringing Out the Dead - Nächte der Erinnerung (1999)\Bringing Out the Dead - Nächte der Erinnerung (1999)-trailer.mp4
2020-01-26 00:30:23.527 T:5688  NOTICE: [ script.embuary.helper ] Average color: FFa27f65
2020-01-26 00:30:24.038 T:5688  NOTICE: [ script.embuary.helper ] Image blurring: Image changed. Blur https://assets.fanart.tv/fanart/movies/2...ccce17.jpg.
2020-01-26 00:30:24.686 T:22632  NOTICE: [ script.embuary.helper ] lookforfile {'file': '\'"H:\\Filme\\Bridge of Spies Der Unterh\xc3\xa4ndler (2015)\\Bridge of Spies Der Unterh\xc3\xa4ndler (2015)-trailer.mp4"\'', 'prop': 'trailer_avail'}
2020-01-26 00:30:24.693 T:22632  NOTICE: [ script.embuary.helper ] File does not exist: H:\Filme\Bridge of Spies Der Unterhändler (2015)\Bridge of Spies Der Unterhändler (2015)-trailer.mp4
2020-01-26 00:30:24.834 T:5688  NOTICE: [ script.embuary.helper ] Average color: FF5f8c9d
2020-01-26 00:30:25.346 T:5688  NOTICE: [ script.embuary.helper ] Image blurring: Image changed. Blur https://assets.fanart.tv/fanart/movies/8...a77c0d.jpg.
2020-01-26 00:30:26.134 T:5688  NOTICE: [ script.embuary.helper ] Average color: FFa27f65
2020-01-26 00:30:26.433 T:8888  NOTICE: [ script.embuary.helper ] lookforfile {'file': '\'"H:\\Filme\\Bringing Out the Dead - N\xc3\xa4chte der Erinnerung (1999)\\Bringing Out the Dead - N\xc3\xa4chte der Erinnerung (1999)-trailer.mp4"\'', 'prop': 'trailer_avail'}
2020-01-26 00:30:26.437 T:8888  NOTICE: [ script.embuary.helper ] File does not exist: H:\Filme\Bringing Out the Dead - Nächte der Erinnerung (1999)\Bringing Out the Dead - Nächte der Erinnerung (1999)-trailer.mp4
2020-01-26 00:30:26.662 T:5688  NOTICE: [ script.embuary.helper ] Image blurring: Image has not changed. Skip https://assets.fanart.tv/fanart/movies/8...a77c0d.jpg.
2020-01-26 00:30:27.901 T:14496  NOTICE: Previous line repeats 1 times.
2020-01-26 00:30:27.901 T:14496  NOTICE: [ script.embuary.helper ] encode {'string': '\'"Bringing Out the Dead - N\xc3\xa4chte der Erinnerung"\'', 'prop': 'EncodedTitle'}
2020-01-26 00:30:28.197 T:25344   ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Filme\Bringing Out the Dead - Nächte der Erinnerung (1999)\extras
2020-01-26 00:30:28.253 T:14496   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 44, 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 40, 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<--
Reply


Messages In This Thread
RE: script.embuary.helper - a skin helper service / widgets alternative - by User 405025 - 2020-01-26, 00:11
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3