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) |
RE: script.embuary.helper - a skin helper service / widgets alternative - nessus - 2020-04-06 Yea, that makes sense. Kinda stupid of me but i was hoping that will work the same way like the global search RunScript action. Sorry. Another question, lets we have about 5-6 items in the created dialog, is there a way to hide based on a condition one of those in the middle?. I mean if the Dialog.3.xxxx or Dialog.4.xxxx if for example entries are running some script actions hide them if the script it's not installed. Currently i am installing these scripts if they are not installed with actions in beginning but i would like to hide them if is possible. Cheers Nessus RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-07 @nessus It's been a while since I've added it, but afair this should work: Code:
You can use "-" or "none" for it. If you are doing it for Matrix be sure you use System.AddonIsEnabled() RE: script.embuary.helper - a skin helper service / widgets alternative - nonJon - 2020-04-08 @sualfred I want to make the jump to this add-on but there is one skin.helper.service feature that would sorely be missed if I did. Hope you will consider adding this feature to embuary helper. Quote:SkinHelper.AutoCloseMusicOSD RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-08 That's something that could be achieved by using System.IdleTime(ss) and a custom invisible dialog window. Code:
RE: script.embuary.helper - a skin helper service / widgets alternative - nonJon - 2020-04-08 (2020-04-08, 10:59)sualfred Wrote: That's something that could be achieved by using System.IdleTime(ss) and a custom invisible dialog window. Please correct me if I'm wrong but variable substitution is not permitted for integers so how would a user-specified timeout value be achieved in your example. RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-08 You could offer a set of possible integers. Like a range from 5 to 60. Code:
or Code:
Edit: The reason why I always prefer to use a skin method like this is that each service and continuously Python call for conditions each second is expensive. RE: script.embuary.helper - a skin helper service / widgets alternative - nonJon - 2020-04-08 I'll stick with the other solution. Thanks anyway. RE: script.embuary.helper - a skin helper service / widgets alternative - TassMetal - 2020-04-14 Hi I'm using Kodi 18.6 on Android TV with Aeon Tajo skin. Do embuary.helper works well with path substitution for thumbnails? I got my thumbs folder in a SMB share due to super low storage on my Android TV, everything seems to work well, but I keep getting this error in the log: Code: 2020-04-14 00:57:48.800 T:22777 WARNING: [ script.embuary.helper ] Image error: Could not open cached image --> [Errno 2] No such file or directory: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/5/544a7eea.jpg' Reading this log, is embuary.helper working fine in my system and that WARNING line is a mistake, or is it not been able to access my thumbs folder in SMB? This is the full log: https://paste.kodi.tv/ Thanks a lot! RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-14 You can ignore it. It fails and then it retries with success. RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2020-04-21 @sualfred, I am also in the process of replacing skin helper backgrounds. I know your addon already provides global random backgrounds for movies, tv shows and artists. What I am missing right now are music videos and movie playlists. I tried doing those with hidden lists, but have the issue that if an item in the playlist does not have fanart, then a black background will be shown. I am trying to have the ability in Amber to select a playlist (only movies) as a background for a menu item, so that it shows random fanart from the movies in the playlist, but skipping any movies with no fanart. Would you consider adding functionality like this to your addon? Thanks. Also, would you consider adding the title and logo (if available) of the movie/tv show/artist as window properties for the random backgrounds that the addon provides? I display the title/tv show title/artist name and logo for the backgrounds in Amber. Thanks. Regards, Bart RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-22 @bsoriano Check the github version. Added "EmbuaryBackgroundMusicVideos" plus the suffixes ".Poster", ".Clearlogo", ".Banner", ".Landscape" and ".Title". For the custom playlist etc I suggest you to use a skin based workaround like in the other thread you are also participating. This will load faster and I don't have to add weird service tasks for it. RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2020-04-22 (2020-04-22, 08:26)sualfred Wrote: @bsoriano @sualfred, thanks! I will test this out today. I am already providing the playlist background using a hidden list, my issue is that I have not been able to figure out how to skip movies with no fanart. Any ideas for that? Thanks again for your help. Regards, Bart RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-04-22 @bsoriano Added a container listing for it. Use it as hidden container. It only adds items with existing fanart. Available info labels: ListItem.Label & ListItem.Art(foo) Example Code:
Edit: Btw. It also works for "ActivateWindow(foo)" and splits it automatically RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2020-04-22 (2020-04-22, 11:55)sualfred Wrote: @bsoriano @sualfred, this is fantastic, thank you so much! I will be testing in the next couple of hours. Regards, Bart RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2020-04-22 @sualfred, all of the additions work fantastic, thank you! The only random backgrounds that are not working are for music. The home window property is always blank. Could this be a bug, or do I need to configure something differently? Please let me know. Thanks. Regards, Bart |