Release script.embuary.info - the little ExtendedInfo brother
#46
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
Reply
#47
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.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#48
With Avengers: Endgame again
Image
Reply
#49
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?
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#50
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
Reply
#51
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.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#52
(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.
Reply
#53
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.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#54
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?
Reply
#55
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.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#56
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.
Reply
#57
I only can offer you to close the info dialog before, but without reopening.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#58
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
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#59
Script has been merged and is available on the Kodi repo once the mirrors were synced.

Edit:
And it's live.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#60
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.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
script.embuary.info - the little ExtendedInfo brother52