Kodi Community Forum
Release script.embuary.info - get TMDb data - the little ExtendedInfo brother - 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.info - get TMDb data - the little ExtendedInfo brother (/showthread.php?tid=346034)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

Hi @sualfred Really cool stuff your doing. Thank you for this and the helper script!

I noticed 3 2 issues while fiddling around with this.

The first is multiple directors and writers gives Error No Information found. Is it possible to bring up select dialog and choose between them like you do for single name with more than one match?

The second is the ListItem.MPAA returning wrong info like "G" for Avengers: Endgame.

The third is when using RunScript(script.embuary.info,query='"$INFO[ListItem.Title]"',year=$INFO[ListItem.Year]) also tried ESCINFO but the search keyboard pops up instead of looking for the ListItem.Title.
I also tried RunScript(script.embuary.info,external_id=$INFO[ListItem.IMDBNumber]) with the same result.

Not sure if I am doing something wrong with the call or if it is not supposed to work like the query for Director/Writer RunScript(script.embuary.info,call=person,query='"$ESCINFO[ListItem.Writer]"')
which does work for me.


Thanks Smile

Edit: Scratch that, just noticed I was missing call=movie, Eek


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

Can you give me a example for the directors and writers? I always return a select dialog if multiple results were found. Have to reproduce it.
I'll take a look at the mpaa.


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

With Avengers: Endgame again
Image


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

Don't get you. What's the issue with the directors? Both of them directed the movie.

The mpaa rating has been fixed on github.

Edit:
Or do you need the directos splitted as single names so you can use the values to search for them?


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

I do a RunScript(script.embuary.info,call=person,query='"$ESCINFO[ListItem.Director]"') onclick and it pops up Error No Information Found.

Extended Info used to ask me which Director in DialogSelect:
Joe Russo
Anthony Russo


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

Ah, ok. I'll add this function:

Edit:
By the way. Don't use another call for the script if the script is already running. That breaks the window history and creates a second instance.


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

(2019-08-10, 09:57)sualfred Wrote: Ah, ok. I'll add this function:

Thanks!

(2019-08-10, 09:57)sualfred Wrote: Edit:
By the way. Don't use another call for the script if the script is already running. That breaks the window history and creates a second instance.

I don't think I am doing that. The pic and call to embuary.info is from DialogVideoInfo not script-embuary-video.

One more question if I may:
Does this script close any open windows when playing from YouTube from script-embuary-video.xml? Specifically DialogVideoInfo.


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

I don't force a Dialog.Close(all) for youtube playbacks.
Should I? I can add it if required.

Edit:
The director issue should also be resolved. Please check the github version and let me know if it's working now.


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

The way I use the script is through DialogVideoInfo so currently I have a few issues like using a slide animation to hide VideoInfo when the script is open. It works initailly then the transition from script-embuary-person.xml to script-embuary-video.xml and vice versa breaks the condition somehow. Maybe you can set a property I can use until the script closes completely so I can hide DialogVideoInfo until Embuary Info is done?

The other is when launching YouTube from 10055 I have DialogVideoInfo in the way and I assume since you have the stack and override onclicks I can't close the Dialog for fullscreen video playback?


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

You can useĀ 
Code:
Window.IsVisible(script-embuary-video.xml) | Window.IsVisible(script-embuary-person.xml)

The youtube videos start with a simple PlayMedia(url) command and I let Kodi do its things. I'll add a Dialog.Close(all) to the onclick command.


RE: script.embuary.info - the little ExtendedInfo brother - mikeSiLVO - 2019-08-10

That's what I am currently using:
Code:
<animation effect="slide" end="-730,0" time="500" tween="quadratic" condition="Window.IsVisible(script-embuary-person.xml) | Window.IsVisible(script-embuary-video.xml.xml)">Conditional</animation>
Code:
<animation effect="slide" end="1210,0" time="500" tween="quadratic" condition="Window.IsVisible(script-embuary-person.xml) | Window.IsVisible(script-embuary-video.xml.xml)">Conditional</animation>



Any suggestions on how I should close DialogVideoInfo after opening YouTude video from script-embuary-video.xml and then possibly re-open after the video ends or I press stop?

I don't know what Extended Info did but back when it worked it handled all of that with me only having to hide using:
Code:
Window.IsVisible(script-script.extendedinfo-DialogVideoInfo.xml) | Window.IsVisible(script-script.extendedinfo-DialogInfo.xml)

WOW I am really tired or something cause I keep with the typos... I just don't see it until I read it in the post.

Still have the problem with DialogVideoInfo on top during YouTube playback.


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

I only can offer you to close the info dialog before, but without reopening.


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-10

I've added a new id (10056) for the video info screen: Crew

This list is filtered and only returns the intersting parts:
Creator (for tv shows), directors, all types of writers, main + executive producers, main music composer


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-16

Script has been merged and is available on the Kodi repo once the mirrors were synced.

Edit:
And it's live.


RE: script.embuary.info - the little ExtendedInfo brother - sualfred - 2019-08-17

I've added a small and optional context menu addon to use the script in any skin. It's already availalbe in my repo and has been submitted to the Kodi repo. Should be available soon to everyone.