Kodi Community Forum

Full Version: skin helper service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2016-01-31, 06:20)Guilouz Wrote: [ -> ]I have another problem, theme doesn't change automatically at defined time. If I apply theme manually it's ok but not automatically. Why ?

Did you test t with the latest Git version ?
(2016-01-31, 04:58)marcelveldt Wrote: [ -> ]
(2016-01-29, 20:20)sualfred Wrote: [ -> ]Request:

"plugin://script.skin.helper.service/?action=getcast..."

Is it possible to get the TMDB ID of the actor as property? Would be great.

Well, that data is retrieved from the local DB and only looked up online if the data is missing locally.
Implementing it would mean that it will only show up when you're requesting the cast list for a movie/show not in the library

Aye. But I have another one Smile I'm missing an VideoPlayer.DBID info label. Is there an easy way to provide it as window property?
(2016-01-31, 11:45)marcelveldt Wrote: [ -> ]
(2016-01-31, 06:20)Guilouz Wrote: [ -> ]I have another problem, theme doesn't change automatically at defined time. If I apply theme manually it's ok but not automatically. Why ?

Did you test t with the latest Git version ?

Yes with latest. Problem with accented characters is fixed. But theme doesn't change automatcally from the preset time.
(2016-01-31, 05:29)marcelveldt Wrote: [ -> ]
(2016-01-30, 12:06)badaas Wrote: [ -> ]Not getting any wall multi images made?

Now fixed on Git.

Does not seem to be working for me with latest from GIT. For the rotten tomatoes thing, if you could multi thread it that would be great thank you.

EDIT - working fine now, maybe it just needed a bit of time to create them.
(2016-01-31, 12:04)sualfred Wrote: [ -> ]Aye. But I have another one Smile I'm missing an VideoPlayer.DBID info label. Is there an easy way to provide it as window property?

No, I'm afraid not...
(2016-01-31, 19:59)im85288 Wrote: [ -> ]Does not seem to be working for me with latest from GIT. For the rotten tomatoes thing, if you could multi thread it that would be great thank you.
EDIT - working fine now, maybe it just needed a bit of time to create them.

It can take some time to initially create the wall backgrounds.
The extendedinfo is now multithreaded so should be a lot faster.
(2016-01-31, 15:54)Guilouz Wrote: [ -> ]Yes with latest. Problem with accented characters is fixed. But theme doesn't change automatcally from the preset time.
Working fine on my end. I even tested it with setting my system language to French.
Are there any errors in the log perhaps ?

EDIT: Found the issue... Apparently the theme only changes if you're also using the backgrounds feature of the script.
I will adjust that.

EDIT 2: Now fixed on Git.
(2016-01-31, 23:06)marcelveldt Wrote: [ -> ]
(2016-01-31, 15:54)Guilouz Wrote: [ -> ]Yes with latest. Problem with accented characters is fixed. But theme doesn't change automatcally from the preset time.
Working fine on my end. I even tested it with setting my system language to French.
Are there any errors in the log perhaps ?

EDIT: Found the issue... Apparently the theme only changes if you're also using the backgrounds feature of the script.
I will adjust that.

EDIT 2: Now fixed on Git.

Another issue since last git. Now it's impossible to lad a color theme. When I want to apply a theme in manage theme, Kodi freeze, need to hard close it.
Hi marcelveldt, please update translation for portuguese (brazil), thanks

https://dl.dropboxusercontent.com/u/77993366/strings.po

Thanks
(2016-02-01, 01:24)Guilouz Wrote: [ -> ]Another issue since last git. Now it's impossible to lad a color theme. When I want to apply a theme in manage theme, Kodi freeze, need to hard close it.

Any errors in the logs ? Sorry, I can't reproduce this one..
(2016-02-01, 01:42)Wanilton Wrote: [ -> ]Hi marcelveldt, please update translation for portuguese (brazil), thanks

https://dl.dropboxusercontent.com/u/77993366/strings.po

Thanks

Thanks!
I use script for cast, in PVR but when I dont have epg info for Channel (Title is empty ) i have error
PHP Code:
plugin://script.skin.helper.service/?action=getcast&movie=$INFO[Container(510).ListItem.Title] 
PHP Code:
23:31:37 T:904   ERRORSkin Helper Service --> Error in plugin.py --> 'NoneType' object is not iterable
23
:31:37 T:904   ERRORTraceback (most recent call last):
23:31:37 T:904   ERROR:   File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py"line 113in <module>
23:31:37 T:904   ERROR:     Main()
23:31:37 T:904   ERROR:   File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py"line 75in __init__
23
:31:37 T:904   ERROR:     plugincontent.getCast(movie,tvshow,movieset,episode,downloadthumbs)
23:31:37 T:904   ERROR:   File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py"line 1084in getCast
23
:31:37 T:904   ERROR:     for cast in allCast:
23:31:37 T:904   ERRORTypeError'NoneType' object is not iterable 
Can you make to ignore this comand if [MOVIENAME OR DBID] are empty..
TNX
(2016-02-01, 21:28)marcelveldt Wrote: [ -> ]
(2016-02-01, 01:24)Guilouz Wrote: [ -> ]Another issue since last git. Now it's impossible to lad a color theme. When I want to apply a theme in manage theme, Kodi freeze, need to hard close it.

Any errors in the logs ? Sorry, I can't reproduce this one..

Here error logs:

Code:
23:45:28 T:123145313726464  NOTICE: NEXTUP SERVICE NOTIFICATION Service -> Platform: OSX
23:46:45 T:123145303453696   ERROR: /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py:14: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
23:46:45 T:140735308820480   ERROR: Control 3 in window 13000 has been asked to focus, but it can't
23:46:45 T:123145303453696   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:46:46 T:123145303453696   ERROR: /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py:14: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
23:46:46 T:140735308820480   ERROR: Control 3 in window 13000 has been asked to focus, but it can't
23:46:46 T:123145303453696   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:46:58 T:140735308820480 WARNING: Cleanup: Having to cleanup texture common/white.png
23:46:58 T:140735308820480 WARNING: Skin has invalid include: FullscreenDimensions
23:47:01 T:123145303453696   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:47:01 T:123145305063424 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
23:47:05 T:140735308820480 WARNING: Skin has invalid include: FullscreenDimensions
23:47:08 T:123145305600000   ERROR: /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py:14: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
23:47:08 T:140735308820480   ERROR: Control 3 in window 13001 has been asked to focus, but it can't
23:47:08 T:123145305600000   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:47:20 T:140735308820480 WARNING: Cleanup: Having to cleanup texture common/white.png
23:47:20 T:140735308820480 WARNING: Skin has invalid include: FullscreenDimensions
23:47:23 T:123145305600000   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:47:23 T:123145302839296 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
23:47:26 T:123145306136576   ERROR: /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py:14: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
23:47:26 T:140735308820480   ERROR: Control 3 in window 13002 has been asked to focus, but it can't
23:47:26 T:123145306136576   ERROR: GetDirectory - Error getting /Users/Cyril/Library/Application Support/Kodi/addons/skin.eminence.2.mod/extras/skinthemes/
23:47:30 T:123145306136576   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xe8' in position 2: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py", line 240, in onClick
                                                loadColorTheme(themeFile)
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ColorThemes.py", line 287, in loadColorTheme
                                                xbmc.executebuiltin("Skin.SetString(SkinHelper.LastColorTheme.Description,%s)" % skinsetting[1].decode('utf-8'))
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.6/encodings/utf_8.py", line 16, in decode
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 2: ordinal not in range(128)
                                            -->End of Python script error report<--
(2016-02-02, 00:43)Angelinas Wrote: [ -> ]I use script for cast, in PVR but when I dont have epg info for Channel (Title is empty ) i have error

Should now be fixed in latest Git
(2016-02-02, 00:48)Guilouz Wrote: [ -> ]Here error logs:

Thanks, issue should now be fixed on Git