Kodi Community Forum

Full Version: script.embuary.helper - a skin helper service / widgets alternative
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Works flawlessly here. The image exists locally and is NOT packed in a textures.xbt?
You're right, the error only appears when I run the version from the official repo that comes with textures.xbt. If I manually install the version from my github, that is unpacked, there's no error anymore...

There must have been some error when packing the images from my github for the last official repo update; I'll tell to Kodi staff.

Sorry to bother you and thanks for your help, as always you've been very kind!
It's not a error. I have to access the files directly. If it's packed into textures.xbt that's not possible. I'll mute the error for this case.
@manfeed 
Pushed a new version to my repo and github. That should mute the log spamming.
(2019-10-16, 10:48)sualfred Wrote: [ -> ]Pushed a new version to my repo and github. That should mute the log spamming.

I can confirm that it does it. Thanks!
The GitHub version contains a small own favourites feature that is based on tags.
It adds/removes a tag for movie or a TV show that can be used for showing splitted favourite items.

Used library tags:
  • Movies -> Library Tag -> "Fav. Kodi Movies"
  • TV shows -> Library Tag -> "Fav. Kodi TV Shows"

XSP path for dynamic containers:
Fav. Movies
Code:
videodb://movies/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20Movies%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d&reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]
Fav. TV shows
Code:
videodb://tvshows/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20TV%20Shows%22%5d%7d%5d%7d%2c%22type%22%3a%22tvshows%22%7d&reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]

Call
Code:
RunScript(script.embuary.helper,action=togglefav,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])
Or set "Skin.SetBool(EmbuaryFavs)" to enable the context menu item.
(2019-10-17, 15:19)sualfred Wrote: [ -> ]The GitHub version contains a small own favourites feature that is based on tags.
It adds/removes a tag for movie or a TV show that can be used for showing splitted favourite items.

Used library tags:
  • Movies -> Library Tag -> "Fav. Kodi Movies"
  • TV shows -> Library Tag -> "Fav. Kodi TV Shows"
XSP path for dynamic containers:
Fav. Movies
Code:
videodb://movies/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20Movies%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d&reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]
Fav. TV shows
Code:
videodb://tvshows/titles/?xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22none%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22tag%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22Fav.%20Kodi%20TV%20Shows%22%5d%7d%5d%7d%2c%22type%22%3a%22tvshows%22%7d&reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]
Call
Code:
RunScript(script.embuary.helper,action=togglefav,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])
Or set "Skin.SetBool(EmbuaryFavs)" to enable the context menu item. 
@sualfred , thanks, this is cool! Is the reload parameter valid for xsp paths?

Regards,

Bart
Yep, reload paramenter works fine for xsp paths. It just don't work with paths of xml library files like library://..blablablalblab../movies.xml or playlists (afaik).
(2019-10-17, 15:31)sualfred Wrote: [ -> ]Yep, reload paramenter works fine for xsp paths. It just don't work with paths of xml library files like library://..blablablalblab../movies.xml or playlists (afaik).

Great! Thanks @sualfred.

Regards,

Bart
Wiki updated for the favourite system:
https://github.com/sualfred/script.embua...favourites

(@Rechi  wouldn't it be cool to have a fav. system like this out of the box?  Wink Maybe you can trigger the correct people for it as a possible Kodi 19 feature)
@sualfred on the SHS thread you said
Quote:But it doesn't work on Matrix Windows builds yet, because of a missing dependency.
What is the dependancy that is missing and has it been reported clearly?
I'm not sure how quickly issues will be addressed since there is a big skills shortage on the active team, we badly need a volunteer with experience in building packages etc. (since it is not done in the way the other platforms work).  Although I use Windows for my dev env I know nothing about the packaging etc. for Windows builds. Anyway at least we can gather the issues.
@DaveBlake

The pillow module. It's incorrectly built against Py3 for the Windows package. Rechi and others know about it afaik, but I don't know if anyone is taking care of it. My thread in the Py3 migration board got no official reply yet.
Hey @sualfred this looks great.. do you know if there's a way to implement these widgets in Arctic Zephyr 2? Otherwise I'll just switch to Embuary for the continue watching function
If the skin supports custom widgets you can assign them via skinshortcuts.
Got it, thanks man <3
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28