Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 28
Release script.embuary.helper - a skin helper service / widgets alternative
#76
tomatometerallcritics or tomatometeravgcritics ? ^^
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
#77
(2019-08-06, 16:48)sualfred Wrote: tomatometerallcritics or tomatometeravgcritics ? ^^

@sualfred , as far as I know, tomatometerallcritics.

Regards,

Bart
Reply
#78
https://www.rottentomatoes.com/about#wha...omatometer

Just added them myself.

https://github.com/HitcherUK/skin.ftv/bl...#L663-L718
Reply
#79
Ok, thank you guys. I'll change it to tomatometerallcritics and we will also adjust that in the Emby for Kodi script.
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
#80
I'm trying to work out if this is possible with either this or jurialmunkey's script.

I'm using the 'Get cast' method to open a list of actors in a video which displays their real name and character name but I'd also like to include 4 movies/TV shows each one has been in when that person is the selected item of the list. Now I've tried using 'Get more movies starring with' but that requires a ListItem.DBID value which the aforementioned list unfortunately doesn't provide. I think plugin.video.themoviedb.helper requires a tmdb_id for the same query.

Any ideas or just not possible?

Thanks.
Reply
#81
Jurialmunkey added a function for this:
https://forum.kodi.tv/showthread.php?tid...pid2874999

Edit:
But I'm not quite sure if he has added the field information that tmdb returns for searches based on a query.

@jurialmunkey 
Do you added the "known_for" information to this output? 
(see https://api.themoviedb.org/3/search/pers...dult=false)

Edit 2:
You also could get rid of my getcast method and replace it with a direct call with his addon. With this approach and some hidden containers you could build a more "x-ray" like feature. He also stores the tmdb_id information of the actors so calling Embuary Info is still supported.
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
#82
(2019-08-06, 23:48)sualfred Wrote: Jurialmunkey added a function for this:
https://forum.kodi.tv/showthread.php?tid...pid2874999

Edit:
But I'm not quite sure if he has added the field information that tmdb returns for searches based on a query.

@jurialmunkey 
Do you added the "known_for" information to this output? 
(see https://api.themoviedb.org/3/search/pers...dult=false)

Edit 2:
You also could get rid of my getcast method and replace it with a direct call with his addon. With this approach and some hidden containers you could build a more "x-ray" like feature. He also stores the tmdb_id information of the actors so calling Embuary Info is still supported.
Annoyingly, the API only exposes that info with the search call. It doesn't expose it in the detailed info for some reason.
Still, you can get it from the search call in the latest version: (replace ACTORNAME with appropriate infolabel)
xml:
plugin://plugin.video.themoviedb.helper/?info=search&type=person&query=ACTORNAME

You should be able to get from that container:
xml:
ListItem.Property(known_for)
ListItem.Property(known_for.1.title)
ListItem.Property(known_for.1.tmdb_type)
ListItem.Property(known_for.1.tmdb_id)

First property provides full concatenated list of all items with a "/" separator.
The others provide details for specific items.

The plugin path provides a list of all actors matching the query.
If you want to use it as a hidden list for details on known_for only, then you could just reference the first item with:
xml:
Container(ID).ListItemAbsolute(0).Property(known_for)

You could also pass the tmdb_id of the actor to another list to get Movies that they star in:
xml:
plugin://plugin.video.themoviedb.helper/?info=stars_in_movies&type=movie&tmdb_id=$INFO[Container(ID).ListItemAbsolute(0).Property(tmdb_id)]
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
#83
Thanks to both to you.
Reply
#84
(2019-08-06, 16:40)Hitcher Wrote:
(2019-08-06, 06:41)mardukL Wrote: Did you already implement this?
$INFO[Container(my-hidden-container-id).listitem.Rating(rottentomatoes)] - it remains empty
That's not a valid info label. These are the values Universal Scraper uses -


xml:
Listitem.Rating(tomatometerallcritics)
Listitem.Rating(tomatometeravgcritics)
Listitem.Rating(tomatometerallaudience)
Listitem.Rating(tomatometeravgaudience)

Yepp, on my side too, just ask cause helper actual just do the 'math' convert to that.

As append
tomatometerallcritics represents the percentage of professional critic

tomatometerallaudience is based on user votes

https://www.rottentomatoes.com/about#wha...omatometer
Reply
#85
@sualfred Trying to use the 'Get Kodi setting' function but it doesn't seem to want to work for any that are just numbers. The ones I'm after are musicplayer.seeksteps and videoplayer.seeksteps as I'm hoping to run them through the 'Split value' function to get the biggest step back and forward.

Thanks.
Reply
#86
Thanks, fixed on github.
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
#87
Thanks, got that working but now I'm having trouble splitting the output.

Here's my code if that helps -

xml:
<onload>RunScript(script.embuary.helper,action=getkodisetting,setting=videoplayer.seeksteps)</onload>
<onload>RunScript(script.embuary.helper,action=split,value='$ESCINFO[Window(home).property(videoplayer.seeksteps)]',separator='", "',prop=MySplit)</onload>

I've tried replacing the comma with $COMMA but no results from $INFO[Window(home).Property(MySplit.0)]$INFO[Window(home).Property(MySplit.1)], etc.
Reply
#88
My fault. I've used "property" instead of "prop" like in the other functions. Fixed on GitHub. Thanks.
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
#89
@sualfred, I am trying to cut down the dependencies I have in the Amber skin.  Right now I only use the function "playliststats" from service.library.data.provider, so I can provide an infoline (library statistics) for any menu item that is a playlist.  Would you consider adding this function to embuary.helper? This is what it does (taken from the readme for service.library.data.provider):

xml:

Playliststats
Playliststats is used when a playlist or videonode is set as the onclick action in the (Home) menu. Example: Put a list in your Home.xml:
<control type="list" id="43260"> <posx>0</posx> <posy>0</posy> <width>1</width> <height>1</height> <focusedlayout/> <itemlayout/> <content>plugin://service.library.data.provider?type=playliststats&amp;id=$INFO[Container(9000).ListItem.Property(Path)]</content> </control>
The Path property has the onclick action defined. 9000 is the ID of the Home main menu. The following properties are available when the menu item containing the playlist or video node is highlighted:
Window(Home).Property(PlaylistWatched)
Window(Home).Property(PlaylistCount)
Window(Home).Property(PlaylistTVShowCount)
Window(Home).Property(PlaylistInProgress)
Window(Home).Property(PlaylistUnWatched)
Window(Home).Property(PlaylistEpisodes)
Window(Home).Property(PlaylistEpisodesUnWatched)

Thanks for considering my request.

Regards,

Bart
Reply
#90
Lol, I never looked in detail what this playliststats did. Now I understand what it does. Yeah, not a big deal. BigNoid already did the job and I just have to do some copy pasta magic with slight adjustments.
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
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 28

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