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-11-17, 20:36)marcelveldt Wrote: [ -> ]Almost ready guys, I'm currently testing and working out the latest bits. The whole refactoring job took me some more time I originally anticipated ;-)
Good news is that in the meanwhile I've added some cool new features.

Please be patient for a few more days untill I wrap up all work and update the several README's.

Can't wait Big Grin
(2016-11-17, 20:36)marcelveldt Wrote: [ -> ]Good news is that in the meanwhile I've added some cool new features.

Marcel,

That's cool, I don't suppose one of those new features would be to easily extract a file name from a skin string that contains a file path. I'm trying to auto fill names for home screen items by pulling the file name from the path to the list item, but your string split function does not seem usable for this.

Basically looking to remove the file extension from the last level of a file path and use that as a default name for a home item.

Thanks alway mate,
Wyrm (AppTV)
Oh boy, I hv never been so excited!
Shouldnt this work?

PHP Code:
<control type="multiimage">
            <include>
FullscreenDimensions</include>
            <
imagepath background="true">$INFO[Window(Home).Property(SkinHelper.AllMoviesBackground)]</imagepath>
            ...
</
control

did try to set the random Fanart delay by onload and manualy with "Set.Numeric" got always a black BG (No Images).

(K17 B5)
Testing time !!!

I finished the huge refactor just now and after weeks of coding and testing I believe it's now pretty solid.

As of now I have my own Kodi repo where all beta versions of my work are hosted.
Once everything is confirmed working I will submit all updated and new addons to the official Kodi repo.

If you dare to test, my repo:

https://github.com/marcelveldt/repositor...-1.0.0.zip


CAUTION !!!!

In the process of refactoring a lot of stuff has moved into seperate addons. It should be backwards compatible so if you call a previous entry it will redirect to the new addon.

But... The window properties provided by the script are completely refactored and are NOT backwards compatible.
A lot more properties are available for more use cases but you will have to change your skin XML to the new properties, sorry.

See the brand new wiki for all the details!

https://github.com/marcelveldt/script.sk...rvice/wiki


Thanks all for testing and I'm looking forward to the results :-)
Cool, going to give it all a try with Mimic 5 now... Smile
Sounds very interesting. Smile

Which Kodi versions are the refactoring affecting?
(2016-11-22, 01:49)Gade Wrote: [ -> ]Sounds very interesting. Smile



Which Kodi versions are the refactoring affecting?

From Jarvis and up is the idea. Isengard will stay at current version.
Cool, thanks.
Great work, really like the skin setting backup dialog and the multi-level widget select dialog.

Ran into an issue with skin settings backup though. Is there any reason why it doesn't backup the skinshortcuts include file? I backed up my skin settings, then installed the Titan beta to check your implementation. I have skinshortcuts set to not share the menu between skins. But when I returned to my skin, the menu was changed to Titan's menu. I tried restoring my previously backed up skin settings, but no luck. The skinshortcuts include file isn't backed up.

I'm guessing no way to fix this without manually setting everything back up again?

Update: I see my main and sub menus are in the backup zip file, they just don't get applied when restoring the zip. Will set my preferred menus as skin defaults so they are easier to reset when needed.
Is this how you call the new properties? Because I'm not having any luck, all the ones I've tried have been empty.

Code:
Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter)

Installed your beta repo and updated script.skin.helper.service and installed the new scripts. I couldn't find the Backgrounds one in the repo though, installed it manually.
(2016-11-22, 00:15)marcelveldt Wrote: [ -> ]If you dare to test, my repo:

https://github.com/marcelveldt/repositor...-1.0.0.zip

"404.. Page not found".. Sad
(2016-11-22, 06:19)VikkiXavier Wrote: [ -> ]
(2016-11-22, 00:15)marcelveldt Wrote: [ -> ]If you dare to test, my repo:

https://github.com/marcelveldt/repositor...-1.0.0.zip

"404.. Page not found".. Sad

https://github.com/marcelveldt/repositor...-1.0.1.zip
thank you braz
@marcelveldt - I have installed your repo successfully. So now how do I get access to metacitic and rotten tomatoes ratings for movies through your addon?