Release script.embuary.helper - a skin helper service / widgets alternative
#3
(2019-07-17, 10:18)sualfred Wrote: FYI and because some other skinners already are using my helper for Embuary in their projects:

script.embuary.helper is somehow comparable to the heavily used Skin Helper Service packages. The main difference is, that it doesn't call any information from the web, which makes it a lot of faster. For sure there are a lot of downsides like no real time Rotten ratings etc, but skinners which are looking for a way to get feature rich widgets or some helper functions are might be interested. 

With Kodi 19 Matrix we will also face the switch from Python 2.7 to Python 3 and I assume - if nobody will take care of it - that the Skin Helper stuff is going to break in the very beginning. I just want to offer you guys another way to get things implemented without having headaches because of a missing or broken dependency. 

Even if the helper was created for Embuary, it should not stop you to using it in other skins. It's available on the official Kodi repo and is already Python 3 ready. A Krypton version is available on my personal one.

I've made a documentation with all features so skinners should easily can see what is possible and what not:

Thread: https://forum.kodi.tv/showthread.php?tid=345318
Wiki and documentation: https://github.com/sualfred/script.embuary.helper/wiki

Sounds great, did you consider to add a
'checkexist' funtion.


simple example
python:
## -*- coding: utf-8 -*-
import xbmc
import xbmcvfs

trailerfilenamemp4 =  xbmc.getInfoLabel( "listitem.path" ) + xbmc.getInfoLabel( "listitem.FolderName" ) + "-trailer" + ".mp4"

if xbmcvfs.exists(trailerfilenamemp4):
    xbmc.executebuiltin( "SetProperty(trailer_avail,true,home)" )
else:
    pass

(may benefits on other things as well, e.g. i use it for check for local tv show trailers, https://streamable.com/zdr2f )
Skins |  Titan M O D   •   S W A N (WIP)
Reply


Messages In This Thread
RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - by mardukL - 2019-07-17, 13:42
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3