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 - bsoriano - 2019-10-23 @sualfred , perhaps I am missing this and it is already there, but is there a call to your script which would provide me the tv show dbid if I am in the video info dialog for an episode? I would like to have a button take me to the season that this episode belongs to. I can already browse the tv show itself by using the jumptoshow_by_episode call of the script, and I would like to do something similar to go to the season. Perhaps you could add a jumptoseason_by_episode function? Thanks for your help. Regards, Bart RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-23 plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=tvshow&idtype=episode (if DBID is a episode item) plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=tvshow&idtype=season (if DBID is a season item) By this you can access all available TV show info labels -> Container(123).ListItem.DBID Edit: But you can also use these paths https://github.com/sualfred/script.embuary.helper/wiki/Widgets:-Shows#get-episodes-of-season ActivateWindow(videos,plugin://script.embuary.helper/?info=getseasonepisodes&dbid=$INFO[ListItem.DBID]&season=$INFO[ListItem.Season]&idtype=episode,return) RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2019-10-23 (2019-10-23, 06:07)sualfred Wrote: plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=tvshow&idtype=episode (if DBID is a episode item) @sualfred, thank you! I think the last example is exactly what I am looking for. I will test in a few hours. Regards, Bart EDIT: I am not sure why, but the activatewindow with the plugin path did not work. In the end, I used the getbydbid call with a hidden list, and then used the gotopath call of the script to jump to the season:
Thanks again! RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-23 Have you closed the window before? <onclick>close</onclick> <onclick>activatebla</onclick> Edit: the gotopath action does exactly the same. It closes the dialog and then updates the myvideonav container or activates the new window. So this should also work <onclick>RunScript(script.embuary.helper,action=goto,path='"plugin://script.embuary.helper/?info=getseasonepisodes&dbid=$INFO[ListItem.DBID]&season=$INFO[ListItem.Season]&idtype=episode"',target=videos)</oncli RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2019-10-23 (2019-10-23, 15:46)sualfred Wrote: Have you closed the window before?@sualfred, no, I did not close it before! I will test this shortly. Thanks Regards, Bart RE: script.embuary.helper - a skin helper service / widgets alternative - shedrock - 2019-10-24 I am getting an error on @sualfred's latest Embuary skin and Embuary Skin Helper when I try to update them. RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-24 Log RE: script.embuary.helper - a skin helper service / widgets alternative - shedrock - 2019-10-24 (2019-10-24, 06:12)sualfred Wrote: LogIt worked this morning, but your repo had an issue yesterday. I remember checking the logs and it said that the files did not exist. Thanks, Shedrock RE: script.embuary.helper - a skin helper service / widgets alternative - ottorox - 2019-10-26 Hi, I'm using the next up episode function and I love the option to add a tag for filter. Could be possible to use a playlist for filtering instead of a tag? Thanks! RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-26 Nope. Playlists have their own filtering rules and they aren't available in the database. RE: script.embuary.helper - a skin helper service / widgets alternative - nessus - 2019-10-26 Hi sualfred First of all thank you very much for your work in this helper addon and for the TMDB info as well. I just started digging to these and hopefully will replace all these depreciated addons like extended info and skin helper service. I saw in your wiki a function about changing/updating library info that i used to have in older versions of Bello using this old addon by phill. I always thought this function very useful and like to add it again to Bello (after all the code is till there). The problem is that i don't understand how i can make this working like phil's. I mean how can i give the choice to users to update certain fields in the database?. Phil's script was opening a select dialog and you could choose what to change. Plot, genre, duration etc. Is this possible with this function in your addon? Thanks again for your excellent work. Cheers Nessus RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-27 In theory yes. But that would be a pita to create as a skin feature. I would create a custom dialog and store the existing informations in window properties to generate a own layouted "form" with fields that can be edited. Similar to the justselect method of skinshortcuts which people are using for widgets and own menu dialogs. Isn't Phil's script not working anymore? RE: script.embuary.helper - a skin helper service / widgets alternative - nessus - 2019-10-27 Phil's script is still working fine. It's just not in the official repo and the users have to install it manually. I thought i could replace it with your function but if for that i will need to create a new custom window layout with all the possible values, then i prefer to leave it like it is with phil's script. Thanks anyway Cheers Nessus RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2019-10-27 Aye. I have a context menu library tag manager in my mind for the days when i'm getting bored. His addon usecase would also fit. Maybe I can offer you something when I found some hours to work on it. RE: script.embuary.helper - a skin helper service / widgets alternative - nessus - 2019-10-28 That will be fine too but IMHO this belongs to your helper addon. After all you already have added a part of it in your script plus i hate the fact of installing several separate scripts for every little helping function in Kodi. In a perfect world skinners, they should integrate 2-3 extra addons for all additional features. It's a pity to see that you have added a cinema mode for replacing cinema experience addon and not this one or other simple functions like updating IMDB ratings. But like you already said this was a helper for your skin and you are just sharing it. So, it's your choice to do whatever you like with it. In any case thanks for all your work and for sharing it with the community. Cheers Nessus |