Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 25
Release script.embuary.info - get TMDb data - the little ExtendedInfo brother
Hello, I use Kodi for Android TV with the Embuary Info extension which is set in French language. But when I update my library, the titles of the series episodes are in English. How is it done ?

Sorry if the question has already been asked

Thanks for your help
Reply
With Embuary info, all the information is return with my default language "French". But the "Plot" only is always in "english" for all movies. I don't know why ?
This seems specific with all language with more than 2 characters like : ar-AE|ar-SA|es-ES|es-MX|fr-CA|fr-FR|pt-BR|pt-PT|zh-CN|zh-TW
Tested with : it, de, all works well.

My default language 

Image

With Embuary info "Plot" only is in english

Image

The same movie from site TMDB, the plot is in french :

Image

Result from the API command line, the plot is in french : https://api.themoviedb.org/3/movie/949-h...uage=fr-FR

Image
Reply
(2021-04-13, 17:38)ellega Wrote: With Embuary info, all the information is return with my default language "French". But the "Plot" only is always in "english" for all movies. I don't know why ?
This seems specific with all language with more than 2 characters like : ar-AE|ar-SA|es-ES|es-MX|fr-CA|fr-FR|pt-BR|pt-PT|zh-CN|zh-TW
Tested with : it, de, all works well.

My default language 

Image

With Embuary info "Plot" only is in english

Image

The same movie from site TMDB, the plot is in french :

Image

Result from the API command line, the plot is in french : https://api.themoviedb.org/3/movie/949-h...uage=fr-FR

Image

I sent a pull request that solves this problem
Reply
(2021-04-13, 22:01)caperucitaferoz Wrote:
(2021-04-13, 17:38)ellega Wrote: With Embuary info, all the information is return with my default language "French". But the "Plot" only is always in "english" for all movies. I don't know why ?
This seems specific with all language with more than 2 characters like : ar-AE|ar-SA|es-ES|es-MX|fr-CA|fr-FR|pt-BR|pt-PT|zh-CN|zh-TW
Tested with : it, de, all works well.

My default language 

Image

With Embuary info "Plot" only is in english

Image

The same movie from site TMDB, the plot is in french :

Image

Result from the API command line, the plot is in french : https://api.themoviedb.org/3/movie/949-h...uage=fr-FR

Image

I sent a pull request that solves this problem

I have seen your PR before your answer here Smile . Thanks again

PS :

For users who want fix this issue : 

you can download the file fixed "tmdb.py" here : https://github.com/caperucitaferoz/scrip...ources/lib
Then copy "tmdb.py" under "Kodi\addons\script.embuary.info\resources\lib\".

or 

Download full zip here : https://github.com/caperucitaferoz/scrip...lation.zip
Then use Kodi => Settings => Add-ons => install from file ZIP
Reply
Thank you so much ! great it works
Reply
I've merged the fix and pushed it to the Kodi repo yesterday.

Sorry for the delay and thanks to the submisson @caperucitaferoz
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

Thanks so much for this great script.
I'm trying to create a 7-day calendar using the nextaired widgets.

Can you think of a way to show dates for all 7 days?
The widgets are hidden when no content is available (= no date available).
Reply
@Gade 
Not sure if I understand u correctly, but just take a look at Embuary

https://github.com/sualfred/skin.embuary...tAired.xml
and
https://github.com/sualfred/skin.embuary...2029-L2091
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
@sualfred
Thanks, exactly. I already looked at that.

I'm doing a visible calendar for all seven weekdays, even the ones without shows:

Image

I could create a variable to show the empty days, but the dates are more tricky.
Reply
Ah, you need dates in general. 

What about using a hidden container of the parent node of the script and use the item labels for it? (plugin://script.embuary.info/nextaired)
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
Exactly.
Thanks a lot! That's a great idea.

It worked using a lot of variables (and looks better with the dates):

Image
Reply
I've no doubt that is is an extremely noob question but I have not been able to figure it out and need to ask...

I've run the following script and have ben able to access all the information in ControlID (10051)
xml:

<onclick>RunScript(script.embuary.info,call=person,query='"$INFO[Window(movieinformation).Property(ActorName)]"')</onclick>


I need to place data in ControlID 10052, 20053 and 10054 on a panel but don't know how to set the Content.  How can I set the content so that panel will fill out the data?
Reply
The content is filled by the script. No need for a manual action.
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
I did not do a good job of explaining my issue and while I came across it working with Embuary Info it was really unrelated and much more basic.

I was trying to understand this section of code for PanelD 10052 and could follow it fine except for the "missing" <content>.  I could not figure out how this panel was getting the data.  I still don't know for sure but after far too long tying to figure it out I finally figured realized it must be due to the ID (10052) assigned to the panel.

Image
Reply
As I said, filled by the script. Also the control actions are handled by the script.

Example
https://github.com/sualfred/script.embua...#L313-L326
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
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 25

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