Kodi Community Forum
Release skin helper service - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release skin helper service (/showthread.php?tid=235676)



RE: skin helper service - Gracus - 2016-12-26

Hi,

Got errors with colorpickers:

Code:
02:50:57.640 T:9136   DEBUG: CGUIMediaWindow::GetDirectory ()
02:50:57.640 T:9136   DEBUG:   ParentPath = []
02:50:57.645 T:700   ERROR: EXCEPTION: Non-Existent Control 1
02:50:57.646 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ffffffe3
02:50:57.653 T:9136   DEBUG: Activating window ID: 10138
02:50:57.653 T:9136   DEBUG: ------ Window Init (DialogBusy.xml) ------
02:50:57.653 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: fffffae6
02:50:57.654 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: fffef5e6
02:50:57.654 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: fffef0e5
02:50:57.654 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: fffeebe5
02:50:57.654 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ffffefef
.
.
.
.
.
02:50:57.836 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff004c01
02:50:57.836 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff0f4c00
02:50:57.836 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff204c01
02:50:57.836 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff2d4c00
02:50:57.836 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff3e4c01
02:50:57.837 T:700   ERROR: Skin Helper Service ColorPicker --> ERROR in self.create_color_swatch_image for colorstring: ff000000
02:50:57.837 T:700   ERROR: EXCEPTION: Non-Existent Control 3015



RE: skin helper service - User 224999 - 2016-12-26

(2016-12-26, 01:26)vdb86 Wrote: So with using xbmc.GetInfoLabel... I should get a new image every time?
Skin.SetString(SkinHelper.RandomFanartDelay,15) is not needed?

You need them both... Skin.SetString(SkinHelper.RandomFanartDelay,15) --> Controls the interval in which the window properties are filled with a new image.
xbmc.GetInfoLabel... is used by your script to retrieve the current image in the window property.
So in your screensaver addon you should poll every X seconds for the current image in the window property.


RE: skin helper service - User 224999 - 2016-12-26

(2016-12-26, 04:40)Gracus Wrote: Got errors with colorpickers:

Please enable Kodi debug logging and open the colorpicker. That should give some more info about the error in the log.
My quick guess is that the issue is with your custom XML-file for the script. Looks like you're missing the control 3015 (the opacity slider).


RE: skin helper service - Gracus - 2016-12-26

(2016-12-26, 13:52)marcelveldt Wrote:
(2016-12-26, 04:40)Gracus Wrote: Got errors with colorpickers:

Please enable Kodi debug logging and open the colorpicker. That should give some more info about the error in the log.
My quick guess is that the issue is with your custom XML-file for the script. Looks like you're missing the control 3015 (the opacity slider).

Here is the full log: http://pastebin.com/3Y5CTRWV

(BTW colorpicker was working fine yesterday before I pick the last one from git this night)


RE: skin helper service - User 224999 - 2016-12-26

(2016-12-26, 14:08)Gracus Wrote: Here is the full log: http://pastebin.com/3Y5CTRWV

(BTW colorpicker was working fine yesterday before I pick the last one from git this night)

Hmm, there was not enough logging. Please grab the latest version from Git and create the logfile again.


RE: skin helper service - Gracus - 2016-12-26

(2016-12-26, 14:17)marcelveldt Wrote:
(2016-12-26, 14:08)Gracus Wrote: Here is the full log: http://pastebin.com/3Y5CTRWV

(BTW colorpicker was working fine yesterday before I pick the last one from git this night)

Hmm, there was not enough logging. Please grab the latest version from Git and create the logfile again.

Done!

This time colorpicker just hang and I got to force close Kodi

Here you go: http://pastebin.com/DeHRht0J


RE: skin helper service - User 224999 - 2016-12-26

(2016-12-26, 14:25)Gracus Wrote: This time colorpicker just hang and I got to force close Kodi

OK, sorry. Can you try one more time with latest Git version?


RE: skin helper service - Gracus - 2016-12-26

(2016-12-26, 15:20)marcelveldt Wrote:
(2016-12-26, 14:25)Gracus Wrote: This time colorpicker just hang and I got to force close Kodi

OK, sorry. Can you try one more time with latest Git version?


http://pastebin.com/Dmss55HD


RE: skin helper service - vdb86 - 2016-12-26

(2016-12-26, 13:50)marcelveldt Wrote: You need them both... Skin.SetString(SkinHelper.RandomFanartDelay,15) --> Controls the interval in which the window properties are filled with a new image.
xbmc.GetInfoLabel... is used by your script to retrieve the current image in the window property.
So in your screensaver addon you should poll every X seconds for the current image in the window property.
Just tried it out and it's working perfectly.
Thanks for your help Marcel!

Now just to figure out how to implement color picker with normal addon settings and it's a complete victory Smile


RE: skin helper service - User 224999 - 2016-12-27

(2016-12-26, 15:28)Gracus Wrote: http://pastebin.com/Dmss55HD

Please check if the issue is fixed in new update. If not, post debug log again or snippet of error


RE: skin helper service - Gracus - 2016-12-27

(2016-12-27, 00:58)marcelveldt Wrote:
(2016-12-26, 15:28)Gracus Wrote: http://pastebin.com/Dmss55HD

Please check if the issue is fixed in new update. If not, post debug log again or snippet of error

Still does not work

Got this error (repeating a lot of times in the log):


Code:
00:40:24.243 T:3952 WARNING: Skin Helper Service ColorPicker --> Traceback (most recent call last):
                                              File "C:\Users\Cardo\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py", line 340, in create_color_swatch_image
                                                img = Image.new("RGBA", (16, 16), color)
                                            NameError: global name 'Image' is not defined
00:40:24.243 T:3952   ERROR: Skin Helper Service ColorPicker --> Exception in resources.lib.ColorPicker ! --> global name 'Image' is not defined



RE: skin helper service - eengert - 2016-12-27

(2016-12-24, 00:42)marcelveldt Wrote:
(2016-12-23, 05:24)eengert Wrote: So it sounds like this is a bug in the tvos version of Kodi. Will you log this is a bug with the Kodi devs, or should I try to do that?

Not sure if it's a bug but the conclusion is indeed that the Kodi package now includes the x86 version of Pillow on TVOS while it should be the ARM version for iOS/TVOS.

I submitted it as a possible bug. This is the response from the dev:

The error message is misleading. Pillow can't be loaded due to new
restrictions introduced in tvos 10 - i didn't see an easy way to fix it.
The filename does not indicate the real arch of pillow which is correctly
arm64 of course...

Can you do anything with this info?


RE: skin helper service - VikkiXavier - 2016-12-27

@Marcel - Is your helper service able to grab plot outline from IMDb? It becomes problematic for ListItem.PlotOutline to grab plot outline from IMDb in case IMDb uses hyperlink in plot outlines like for example in case of The Wolf of Wall Street.

Image


RE: skin helper service - Blurayx - 2016-12-27

Hi marcelveldt,

Do you plan on bring back My TV Shows Airing Today as an option. it was very handy because I could see at a glance what shows were airing looking at the Widgets without clicking on Next Aired.

Next Aired Episodes bring up all 7 days shows and Unaired Episodes is virtually the same.

Image

Thanks


RE: skin helper service - User 224999 - 2016-12-27

(2016-12-27, 01:46)Gracus Wrote: Still does not work
Got this error (repeating a lot of times in the log):

OK, another chance. Please check latest Git.