Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 28
Release script.embuary.helper - a skin helper service / widgets alternative
@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
Reply
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.embua...-of-season

ActivateWindow(videos,plugin://script.embuary.helper/?info=getseasonepisodes&dbid=$INFO[ListItem.DBID]&season=$INFO[ListItem.Season]&idtype=episode,return)
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(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)
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.embua...-of-season

ActivateWindow(videos,plugin://script.embuary.helper/?info=getseasonepisodes&dbid=$INFO[ListItem.DBID]&season=$INFO[ListItem.Season]&idtype=episode,return)

@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:

xml:

<item>
        <label>$LOCALIZE[20373]:</label>
        <label2>$INFO[ListItem.Season]</label2>
        <onclick>RunScript(script.embuary.helper,action=goto,path='"videodb://tvshows/titles/$INFO[Container(5200).ListItem.DBID]/$INFO[ListItem.Season]/?tvshowid=$INFO[Container(5200).ListItem.DBID]"',target=videos)</onclick>
        <visible>String.IsEqual(ListItem.DBType,episode) + !String.IsEmpty(ListItem.DBID)</visible>
</item>

Thanks again!
Reply
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
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2019-10-23, 15:46)sualfred Wrote: 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
@sualfred, no, I did not close it before!  I will test this shortly.  Thanks Smile

Regards,

Bart
Reply
I am getting an error on @sualfred's latest Embuary skin and Embuary Skin Helper when I try to update them.
Reply
Log
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2019-10-24, 06:12)sualfred Wrote: Log
It 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
Reply
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!
Reply
Nope. Playlists have their own filtering rules and they aren't available in the database.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
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
Reply
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?
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
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
Reply
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.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
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
Reply
  • 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 28

Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3