Release Embuary Helper Script - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Embuary (https://forum.kodi.tv/forumdisplay.php?fid=297) +---- Thread: Release Embuary Helper Script (/showthread.php?tid=345318) |
RE: script.embuary.helper - chrissix666 - 2019-07-11 (2019-07-11, 08:40)sualfred Wrote: usage in dialog video info:working also for Krypton ported EmbuaryHelper? RE: script.embuary.helper - sualfred - 2019-07-11 I can backport this function if required. Edit: Leia: https://github.com/sualfred/script.embuary.helper/commit/fa469207f4b3f1f4ab84776924b2f27edcad5a4f Krypton: https://github.com/sualfred/script.embuary.helper/commit/28e58968374cfa75a742e9561daad814385c73e8 RE: script.embuary.helper - chrissix666 - 2019-07-11 (2019-07-11, 08:50)sualfred Wrote: I can backport this function if required.Only if the necessary time and motivation is available. Then i would stay several days in my computer room experimenting with it *gg* RE: script.embuary.helper - sualfred - 2019-07-11 Cherrypicking is done within seconds. Already did. RE: script.embuary.helper - chrissix666 - 2019-07-11 i now tried for testing this code: Code: <control type="multiimage" id="98767"> I see multiimage, but it's showing all in the resource addon, not only "genre.1" ... Something wrong with my syntax? RE: script.embuary.helper - sualfred - 2019-07-11 Totally wrong usage. Code:
RE: script.embuary.helper - sualfred - 2019-07-11 Or use a common image control without a list container. Also possible in grouplists. Code:
RE: script.embuary.helper - manfeed - 2019-07-11 (2019-07-11, 08:40)sualfred Wrote: https://github.com/sualfred/script.embuary.helper/commit/a50383c1d8573e69cd0bc4856bcfc8a63e466ba5 Great! Please, would it be possible anything like this for video views? If only for the focused item... Thanks! RE: script.embuary.helper - sualfred - 2019-07-11 @manfeed https://github.com/sualfred/script.embuary.helper/commit/441c2bb254b46b3543fce5820fd91c141689c090 Untested and should be expensive on slower systems. And you also can expect a slightly delay on refreshing of these values: To activate add this to your home/startup xml: Code:
After that you should get ( %i = 0,1,2,3,4,etc):
Edit: Seems to work fine. Also backported it to Krypton on GitHub Edit2: Pushed it to my repo RE: script.embuary.helper - sualfred - 2019-07-12 @"chrissix" @manfeed Does it work? RE: Embuary (Krypton + Leia) - manfeed - 2019-07-12 @sualfred Thank you very much, it works faultlessly! However, you were right when you said... (2019-07-11, 06:20)sualfred Wrote: But I'm not a fan to add a "focus monitor" to support this for all windows and listings. It's expensive and it's one of the things that made the skin helper service so slow. And it's always slightly delayed and only working for the focused item. Sadly, I found that to be true, so I'm still unsure about how to use it, since that slowness was the reason I removed support for skin helper service in my skin. However, I noticed that the cast option provided with... plugin://script.embuary.helper?info=getcast&type=movie& ...doesn't seem to suffer from the same slowness, even though it seems to provide more complex data... Thanks again! RE: script.embuary.helper - sualfred - 2019-07-12 Because it's called directly. The service monitor is a ongoing endless loop with a sleep of 1s between. Each seond ListItem.Genre (for example) is grabbed and processed to multiple splitted strings in a window prop. So you have a mix of multiple delays: - the monitor sleep, which is required (1s) - the xbmc.getInfoLabel call (takes milliseconds) - the splitting function (takes milliseconds) - the setting of the window prop (takes milleseconds) So you have a possible valid result after ~1, maximum 2, seconds. Edit: And nevertheless, the Python overhead RE: script.embuary.helper - sualfred - 2019-07-12 @manfeed I've added something that possible can be used for a "skin hack". (https://github.com/sualfred/script.embuary.helper/commit/2bf120225e9de6276a1f2aedf830871adba50b07) Add a hidden list container with this path
And then use (example):
Should work fine for movies, tvshows, episodes, but not for seasons or any other item type. RE: script.embuary.helper - manfeed - 2019-07-12 I love "skins hacks"... Thanks! It seems to work much better, at least with the same performance that the cast option... However, a couple of times I got a error message, and not always with the same movie, I mean, a movie that works ok sometimes gives errors but sometimes not... The log says...
Thanks again! RE: script.embuary.helper - sualfred - 2019-07-12 ListItem.DBID + ListItem.DBType is empty. These items have to be available. use a variable:
|