Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 25
Release script.embuary.info - get TMDb data - the little ExtendedInfo brother
#1
Embuary Info Script



This script provides skinners the option to call The Movie DB for actor and video infos.

Region, language, API, caching settings:
  • The script already comes with a own TMDb API. For more information you can add your own OMDb API key to get Rotten ratings, etc.
  • I've implemented my own translation fallback rules, because the TMDb API doesn't include a working and good fallback solution. It always tries to find the preferred data based on your config.
  • To reduce the API requests fetched data will be cached for 14 days (for widgets only 3h). This can be disabled in the script settings.

Supported Kodi versions
  • Leia / Matrix

Download
Context menu add-on
With the optional context menu add-on it's possible to use this script in all skins.
  • Available on my private Kodi repo
  • In the Kodi Repo once it has been reviewed. Available in the Kodi repo

Wiki / documentation
Please take a look at the readme and shipped .xml files of the script for reference.
https://github.com/sualfred/script.embua.../README.md

Examples of calling the script
  • RunScript(script.embuary.info,call=person,query='"Bruce Willis"')
  • RunScript(script.embuary.info,call=person,tmb_id=65)
  • RunScript(script.embuary.info,call=tv,query='"Californication"')
  • RunScript(script.embuary.info,call=movie,query='"Iron Man"')
  • With string + year: RunScript(script.embuary.info,call=movie,query='"Iron Man"',year=2000)
  • With IMDb number: RunScript(script.embuary.info,call=movie,external_id=tt12345)
  • With TVDb number: RunScript(script.embuary.info,call=tv,external_id=12345)
  • Season with TVDb number: RunScript(script.embuary.info,call=tv,tmbd_id=65,season=1)

Shipped widgets (also available by browsing the addon)
  • plugin://script.embuary.info/?info=trending&call=movie&get=week = trending movies
  • plugin://script.embuary.info/?info=movies&call=upcoming = upcoming movies
  • plugin://script.embuary.info/?info=movies&call=now_playing = now playing movies
  • plugin://script.embuary.info/?info=movies&call=top_rated = top rated movies
  • plugin://script.embuary.info/?info=movies&call=popular = popular movies
  • plugin://script.embuary.info/?info=trending&call=tv&get=week = trending shows
  • plugin://script.embuary.info/?info=tvshows&call=top_rated = top rates shows
  • plugin://script.embuary.info/?info=tvshows&call=popular = popular shows
  • plugin://script.embuary.info/?info=tvshows&call=airing_today = shows airing today
  • plugin://script.embuary.info/?info=tvshows&call=on_the_air = shows on the air

Help to translate the script into your language!
Translate on TransiFex

Donations
Free beer or money for the tip jar of my daughter is welcome and helps me to stay motivated Smile
Please click here to donate
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
#2
@Hitcher
fyi

@jurialmunkey 

I have not tested any implementation with your plugin, but to get them working as they should you have to provide listitem properties to your listings:

- ListItem.Property(id) = The Movie DB ID, required for tv, movie and persons.
- ListItem.Property(call) = 'tv', 'movie' or 'person' which represents the type of the listitem. If it's an image you can use 'image' and it should be openend in the fullscreen viewer.
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
#3
Thanks, hoping to have time to give a test later this week.

EDIT: @sualfred Couldn't wait lol.

When you say 'All available information of the called person' what exactly do you mean and how do we get that info?

I've tried things like this -

xml:
$INFO[Container(10051).ListItem.Born]
$INFO[Container(10051).ListItem.Birthday]
$INFO[Container(10051).ListItem.Biography]

Thanks.
Reply
#4
Sorry, I'll create shipped xmls for reference tomorrow.

I hope that helps:
Persons: https://github.com/sualfred/script.embua...#L231-L240
Movies: https://github.com/sualfred/script.embua...#L273-L302
Shows: https://github.com/sualfred/script.embua...#L317-L331
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
#5
Got it, thanks.

xml:
$INFO[Container(10051).ListItem.Property(Age)]
$INFO[Container(10051).ListItem.Property(Birthday)]
$INFO[Container(10051).ListItem.Property(Biography)]

Works perfectly.
Reply
#6
Err, there is no "Born". I assume just a copy/paste issue, but to prevent confusion to others: 

Code:

$INFO[Container(10051).ListItem.Property(Birthday)]
$INFO[Container(10051).ListItem.Property(Deathday)]
$INFO[Container(10051).ListItem.Property(Age)]
$INFO[Container(10051).ListItem.Property(Biography)]
$INFO[Container(10051).ListItem.Property(place_of_birth)]
$INFO[Container(10051).ListItem.Property(known_for_department)]
$INFO[Container(10051).ListItem.Property(gender)]
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
#7
Didn't take too long to modify script-script.extendedinfo-DialogInfo.xml into script-embuary-person.xml.

Image

Image

Image

Any thoughts on opening up a slideshow when clicking on an actor image instead of using script-embuary-image.xml to show just one?
Reply
#8
I did that at first, but I was facing a memory bug that affected <focusedlayout> items. I'll take a look at it again.

Please let me know if you are facing any issues or Python errors so it can hit the repo soon.
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
#9
(2019-08-05, 22:48)sualfred Wrote: I did that at first, but I was facing a memory bug that affected <focusedlayout> items. I'll take a look at it again.
I see that ExtendInfo uses script-script.module.kodi65-pictureviewer.xml for the actor slideshow if that's any help to you.

(2019-08-05, 22:48)sualfred Wrote: Please let me know if you are facing any issues or Python errors so it can hit the repo soon.
Nothing so far, it's all good. Will test on my main setup later and report back.
Reply
#10
Thanks, I know about his pictureviewer. It's basically the same like I do. I just had issues with another stack of the same images object. Totally weird one. Anyway, I'll give it another try. I would prefer a slideshow, too.
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
#11
Do I have also here to take care of this problem i have with ExtendedInfo+Artwork or does it work completely different without this problem?
Reply
#12
You always have to deal with those things.
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
#13
@Hitcher 
Switched to a slideshow, see https://github.com/sualfred/script.embua...4f2164ee0c
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
#14
Great work again.

In my skin can scroll through the actors while in the library. Would love to be able to show the bio details if possible beside the image of each actor while scrolling through them like below

Image
Reply
#15
This script has it's own window. There is no way to access any information outside of them. This is not a new skin helper service.
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
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 25

Logout Mark Read Team Forum Stats Members Help
script.embuary.info - get TMDb data - the little ExtendedInfo brother2