Release script.embuary.helper - a skin helper service / widgets alternative - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release script.embuary.helper - a skin helper service / widgets alternative (/showthread.php?tid=345471) |
script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-07-17 Embuary Helper Script This script has been developed to get all of my Embuary features to work. But since it's feature rich it's also useful for any other skinner who wants to get special things done in his own skinning project. Supported Kodi versions
Where to get it
Important for TVOS and some Linux users It's possible that you will get PIL errors in your logs. This error is not related to the script and is caused by incomplete or broken shipped Python PIL packages of your operation system. That means that things like the blurring feature won't work on your end. I've muted the error for Krypton but haven't applied this to the Leia branch, because you guys (Linux users) should be able to fix it manually by changing your installed Python module packages. Wiki / documentation https://github.com/sualfred/script.embuary.helper/wiki Help to translate the script into your language! Translate on TransiFex Donations Free beer or money for the tip jar of my daughter is welcome and helps me to stay motivated Please click here to donate RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - DaVu - 2019-07-17 That's awesome. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - User 405025 - 2019-07-17 (2019-07-17, 10:18)sualfred Wrote: FYI and because some other skinners already are using my helper for Embuary in their projects: Sounds great, did you consider to add a 'checkexist' funtion. simple example
(may benefits on other things as well, e.g. i use it for check for local tv show trailers, https://streamable.com/zdr2f ) RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - sualfred - 2019-07-17 @mardukL https://github.com/sualfred/script.embuary.helper/commit/863e3f6f74fbee1a6b00c446aaf9305db5501a08 https://github.com/sualfred/script.embuary.helper/wiki/Script:-Actions-and-helpers#check-if-file-exists Will be available on the next version bump. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - User 405025 - 2019-07-17 (2019-07-17, 14:11)sualfred Wrote: @mardukL Great, thanks. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - cartman.dos - 2019-07-17 Yep, been working on transitioning from SH for a while now. Just keep it simple so it won't become as massive as SH was... it would be great if the whole package is separated into modules - helper/tools, plugin, service. This will keep the code smaller, more readable, easy to maintain and a user/skinner would not be bound to install everything. Anyways, good work as usual man. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - sualfred - 2019-07-17 No to modules. Some functions are shared. So there would be no benefit. Don't forget that the script is mainly created for Embuary. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - bsoriano - 2019-07-17 Thank you @sualfred ! Your work is greatly appreciated. Regards, Bart RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - Mr. V - 2019-07-18 Amazing work. Thankyou for adding this to the kodi repo. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - Hitcher - 2019-07-18 @sualfred just started to use this and wanted to ask if it's possible to clear the contents of a list? I'm using it to display a list of similar TV shows or Movies in the video info dialog but each time I check another item the old list is still cached for a second before the new one loads. If I could clear it when I unload the video info dialog that would be great. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - sualfred - 2019-07-18 Not really. This and the caching is handled by Kodi. As long as the same container is updating it won't clear the old existing content. But you could try to play with window props during load/unload of the info screen. If prop is filled -> $VAR[content] returns "-" for example. This will instantly clear it before. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - Hitcher - 2019-07-18 Cheers. RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - sualfred - 2019-07-18 @Hitcher Another approach just as suggestion. If you want I can add this window property directly to the script so it always sets a loading property + and clears it once endDirectory is reached. In DialogVideoInfo.xml Code:
Container layout:
RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - Edworld - 2019-07-18 This is not a request, just a question. You mentioned in your first post that your helper doesnt get the information from the web which makes it a lot faster and for that reason you would not have live rotten tomatos ratings, etc. for those of us who have the different ratings stored in our database for movies and tvshows, would you be able to display those ratings in different views and not just dialogvideoinfo using a feature in your helper? RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - sualfred - 2019-07-18 Sadly not. Afaik there is no way to call them via JSON. |