Release script.skin.info.service
#76
It's me again, whith a real bug this time Wink

Properties are not cleaned so when I display Live BG for movie set, old posters from previous movies set are still displayed when current movie set contains less movies than previous movie set.

And the reason is that when script enter clear_properties() function, the test failed :

Code:
if xbmc.getCondVisibility("Window.IsActive(videolibrary)"):

Code:
13:43:52 T:9232   ERROR: Window Translator: Can't find window videolibrary

But when I use the same condition as in default.xml :

Code:
if xbmc.getCondVisibility("SubString(ListItem.Path,videodb://movies/sets/,left)"):

Everything is OK

Don't know if it's the right way to fix it.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#77
(2016-10-13, 13:54)mikebzh44 Wrote:
Code:
if xbmc.getCondVisibility("Window.IsActive(videolibrary)"):
Kodi krypton
VideoLibrary have been replaced with: Videos
http://forum.kodi.tv/showthread.php?tid=...pid2361591
Code:
if xbmc.getCondVisibility("Window.IsActive(videos)"):
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#78
Thanks Wink
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#79
Hi phil,

I was wondering about some things...

I believe I am the one of the few who still uses this script for everything regarding sets in Kodi.

I am hesitant to change to something different when this script has worked so well for as long as it has.

I recently sent a PR for the changes mentioned in the skinning engine update threads to keep it working on newer Kodi versions. If keeping it updated is something you would prefer not to do then I would like to humbly ask for permission to use the script and update it as I learn how to do so.

I do not want to take credit for your work and my "changes" or "updates" would be quite silly compared to what you have done so I would like to know how you'd prefer I continue using it?

I believe the script is available under GPL v2 license or whatever that means Wink

I prefer to get explicit permission and an A-OK by you before I continue to use it.

Should I change name? Author? Description? Leave everything as is? Stop using the script altogether? Whatever you decide is the law of the land.

Thank you.

P.S. I did "steal" the pngs used in Estuary for the system menu... I hope you are OK with that... Confused Cool
Reply
#80
A little update of this script for Matrix can be useful.
I like a Log the more clean possible.

Actually there is always this ERROR in log that is a warning python 3.8 :

xml:
2021-06-11 15:13:16.236 T:9871    ERROR <general>: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.info.service/default.py
2021-06-11 15:13:16.236 T:9871    ERROR <general>: :46: 
2021-06-11 15:13:16.237 T:9871    ERROR <general>: SyntaxWarning
2021-06-11 15:13:16.237 T:9871    ERROR <general>: : 
2021-06-11 15:13:16.237 T:9871    ERROR <general>: "is not" with a literal. Did you mean "!="?
2021-06-11 15:13:16.237 T:9871    ERROR <general>: 
                                                   
2021-06-11 15:13:16.240 T:9871    ERROR <general>:   
2021-06-11 15:13:16.241 T:9871    ERROR <general>: if (self.selecteditem is not ""):
2021-06-11 15:13:16.241 T:9871    ERROR <general>: 

If you replace in ..\addons\script.skin.info.service\default.py line 46

xml:
                    if (self.selecteditem is not ""):

by

xml:
                    if (self.selecteditem != ""):

this removes "ERROR" in the log
Reply
#81
(2021-06-11, 16:31)ellega Wrote: A little update of this script for Matrix can be useful.
I like a Log the more clean possible.

Actually there is always this ERROR in log that is a warning python 3.8 :

xml:
2021-06-11 15:13:16.236 T:9871    ERROR <general>: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.info.service/default.py
2021-06-11 15:13:16.236 T:9871    ERROR <general>: :46: 
2021-06-11 15:13:16.237 T:9871    ERROR <general>: SyntaxWarning
2021-06-11 15:13:16.237 T:9871    ERROR <general>: : 
2021-06-11 15:13:16.237 T:9871    ERROR <general>: "is not" with a literal. Did you mean "!="?
2021-06-11 15:13:16.237 T:9871    ERROR <general>: 
                                                   
2021-06-11 15:13:16.240 T:9871    ERROR <general>:   
2021-06-11 15:13:16.241 T:9871    ERROR <general>: if (self.selecteditem is not ""):
2021-06-11 15:13:16.241 T:9871    ERROR <general>: 

If you replace in ..\addons\script.skin.info.service\default.py line 46

xml:
                    if (self.selecteditem is not ""):

by

xml:
                    if (self.selecteditem != ""):

this removes "ERROR" in the log
That's correct.  Also there are some times when it doesn't obey "abortRequested" and holds up Kodi exiting which can be fixed by creating an xbmc.Monitor() object.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix see: Aeon MQ5 Mod Matrix release thread
Nexus see: Aeon MQ5 Mod Nexus release thread
Aeon MQ 5 skin and addon repo 11.1.0
Reply
#82
Hi,

Is it at all possible to display the SkinInfo.Set.Movies.Runtime in Hours and minute format? I have that displayed for everything else in the Aeon Nox Silvo skin except when it comes to sets it shows everything in minutes only.  Thank you for this amazing script!
Reply
#83
Nevermind...I think I can figure this out by maybe modifying the utils.py and including some python to convert runtime in sec to hour min.  However, if one feels ever inclined to offer this by default in the script, it would be great.
Reply
#84
(2022-03-19, 19:18)scoochie78 Wrote: Nevermind...I think I can figure this out by maybe modifying the utils.py and including some python to convert runtime in sec to hour min.  However, if one feels ever inclined to offer this by default in the script, it would be great.
I think it is being actively maintained https://github.com/mikesilvo164/script.s...fo.service

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix see: Aeon MQ5 Mod Matrix release thread
Nexus see: Aeon MQ5 Mod Nexus release thread
Aeon MQ 5 skin and addon repo 11.1.0
Reply

Logout Mark Read Team Forum Stats Members Help
script.skin.info.service1