• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 28
Release script.embuary.helper - a skin helper service / widgets alternative
#91
(2019-08-27, 15:49)sualfred Wrote: 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.

Excellent! Thank you Smile

Regards,

Bart
Reply
#92
@bsoriano 

https://github.com/sualfred/script.embua...f6f1a475ba

Call (prefix is optional. Default prefix is "Stats". So you can use multiple playlist stats container with other paths at the same time)
Code:

            <content>plugin://script.embuary.helper/?info=getpathstats&amp;path=$INFO[Container(100).ListItem.Property(path)]&amp;prefix=test</content>

Result:
Code:

Window(Home).Property(test_watched)
Window(Home).Property(test_count)
Window(Home).Property(test_TVShowCount)
Window(Home).Property(test_InProgress)
Window(Home).Property(test_Unwatched)
Window(Home).Property(test_Episodes)
Window(Home).Property(test_WatchedEpisodes)
Window(Home).Property(test_UnwatchedEpisodes)
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
#93
(2019-08-27, 16:40)sualfred Wrote: @bsoriano 

https://github.com/sualfred/script.embua...f6f1a475ba

Call (prefix is optional. Default prefix is "Stats". So you can use multiple playlist stats container with other paths at the same time)
Code:

            <content>plugin://script.embuary.helper/?info=getpathstats&amp;path=$INFO[Container(100).ListItem.Property(path)]&amp;prefix=test</content>

Result:
Code:

Window(Home).Property(test_watched)
Window(Home).Property(test_count)
Window(Home).Property(test_TVShowCount)
Window(Home).Property(test_InProgress)
Window(Home).Property(test_Unwatched)
Window(Home).Property(test_Episodes)
Window(Home).Property(test_WatchedEpisodes)
Window(Home).Property(test_UnwatchedEpisodes)
@sualfred, works like a charm! Thank you Smile

Regards,

Bart
Reply
#94
Great. Thanks for the feedback. Good timing for the request. I've already planned to submit the a version that includes the copyskinnodes for tomorrow.
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
#95
@sualfred , a new request.  Would you please add, for the episodes widgets returned by the plugin, the tv show poster as part of the art for each listitem? I do not use any landscape/fanart widgets in Amber, they are either poster or square, so for any episode widgets I show, the tv show poster is the art that makes the most sense.

Thanks for considering my request.

Regards,

Bart
Reply
#96
Ups, missed that one. Will do it once I'm in the office.
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
#97
@bsoriano 
Checked it. It's already there -> ListItem.Art(tvshow.poster)
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
#98
(2019-09-03, 07:45)sualfred Wrote: @bsoriano 
Checked it. It's already there -> ListItem.Art(tvshow.poster)

@sualfred, that’s strange. I tried using the Next Up episodes widget yesterday and the tv show posters were not showing. When I went to see what the art was for the items, listitem.art(tvshow.poster) was not filled.

Regards,

Bart
Reply
#99
Doubled checked it. Art(tvshow.poster) is filled. I just copy the item['art'] values from the database. It should be there.
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
(2019-09-03, 12:10)sualfred Wrote: Doubled checked it. Art(tvshow.poster) is filled. I just copy the item['art'] values from the database. It should be there.

OK, thanks. I will see what is going on with my db then. I will let you know.

Regards,

Bart
Reply
(2019-09-03, 12:10)sualfred Wrote: Doubled checked it. Art(tvshow.poster) is filled. I just copy the item['art'] values from the database. It should be there.
@sualfred , I checked and my db is fine.  The only art items that have a value for the listitems for Next Up is listitem.art(thumb) and listitem.icon.  All others are empty.  The same thing happens with widgets from Skin Helper Widgets.  However, widgets from playlists are fine.  I am running latest Matrix nightly in case that might make a difference. Any idea of what could be happening?

I switched to Embuary to see if the behavior is different.  it is not.  Since the art you have for the Next Up widget is thumb/icon, it is shown correctly.  Using the devhelper web interface done by Ryan Rector I can see that none of the other listitem.art have values.

Thank you for your help.

Regards,

Bart
Reply
Can you upload me your video db to reproduce it on my end?
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
(2019-09-06, 06:21)sualfred Wrote: Can you upload me your video db to reproduce it on my end?
@sualfred, here is a link to a zip file with my video db: https://1drv.ms/u/s!AlII29kkG6TFiNkME7mP...g?e=Pz7qwJ

Thanks again for looking into this.

Regards,

Bart
Reply
Tested and checked the values for episodes. "tvshow.poster" is there. And it also gets correctly set. 

xml:
2019-09-06 15:28:15.207 T:40316  NOTICE: [ script.embuary.helper ] --> JSON CALL: {"params": {"sort": {"order": "descending", "method": "lastplayed"}, "filter": {"and": [{"operator": "true", "field": "inprogress", "value": ""}]}, "properties": ["title", "playcount", "season", "episode", "showtitle", "originaltitle", "plot", "votes", "file", "rating", "ratings", "userrating", "resume", "tvshowid", "firstaired", "art", "streamdetails", "runtime", "director", "writer", "cast", "dateadded", "lastplayed"]}, "jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetEpisodes"}
2019-09-06 15:28:15.207 T:40316  NOTICE: [ script.embuary.helper ] --> JSON RESULT: {"id":1,"jsonrpc":"2.0","result":{"episodes":[{"art":{"season.banner":"image://L%3a%5cCarnival%20Row%5cseason01-banner.jpg/","season.poster":"image://L%3a%5cCarnival%20Row%5cseason01-poster.jpg/","thumb":"image://L%3a%5cCarnival%20Row%5cSeason%201%5cCarnival%20Row%20-%201x03%20-%20Kingdoms%20of%20the%20Moon-thumb.jpg/","tvshow.banner":"image://L%3a%5cCarnival%20Row%5cbanner.jpg/","tvshow.fanart":"image://L%3a%5cCarnival%20Row%5cfanart.jpg/","tvshow.poster":"image://L%3a%5cCarnival%20Row%5cposter.jpg/"},"cast":[],"dateadded":"2019-08-30 06:51:48","director":[],"episode":3,"episodeid":15468,"file":"L:\\Carnival Row\\Season 1\\Carnival Row - 1x03 - Kingdoms of the Moon.mkv","firstaired":"2019-08-30","label":"1x03. Kingdoms of the Moon","lastplayed":"2019-09-01 20:42:08","originaltitle":"","playcount":0,"plot":"Once, as a Burguish soldier, Philo was tasked with protecting a faerish mimasery. While The Pact bears down on them, Philo meets Vignette and finds love in the most unlikely of places.","rating":0.0,"ratings":{},"resume":{"position":461.0,"total":3602.0},"runtime":3602,"season":1,"showtitle":"Carnival Row","streamdetails":{"audio":[{"channels":6,"codec":"e-ac-3","language":"eng"}],"subtitle":[{"language":"eng"},{"language":"eng"},{"language":"ara"},{"language":"dan"},{"language":"deu"},{"language":"spa"},{"language":"spa"},{"language":"fin"},{"language":"fre"},{"language":"heb"},{"language":"hin"},{"language":"ind"},{"language":"ita"},{"language":"kor"},{"language":"error"},{"language":"dut"},{"language":"pol"},{"language":"por"},{"language":"rus"},{"language":"swe"},{"language":"tam"},{"language":"tel"},{"language":"tha"},{"language":"ota"},{"language":"chi"},{"language":"chi"}],"video":[{"aspect":1.7799999713897706,"codec":"h264","duration":3602,"height":1080,"language":"","stereomode":"","width":1920}]},"title":"Kingdoms of the Moon","tvshowid":58,"userrating":0,"votes":"0","writer":[]}],"limits":{"end":1,"start":0,"total":1}}}

Code:
$INFO[Container(203).ListItem.Art(tvshow.poster)] -> [KodiDevKit] 2019-09-06 15:30:23: image://L%3a%5cCarnival%20Row%5cposter.jpg/
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
(2019-09-06, 15:31)sualfred Wrote: Tested and checked the values for episodes. "tvshow.poster" is there. And it also gets correctly set. 

xml:
2019-09-06 15:28:15.207 T:40316  NOTICE: [ script.embuary.helper ] --> JSON CALL: {"params": {"sort": {"order": "descending", "method": "lastplayed"}, "filter": {"and": [{"operator": "true", "field": "inprogress", "value": ""}]}, "properties": ["title", "playcount", "season", "episode", "showtitle", "originaltitle", "plot", "votes", "file", "rating", "ratings", "userrating", "resume", "tvshowid", "firstaired", "art", "streamdetails", "runtime", "director", "writer", "cast", "dateadded", "lastplayed"]}, "jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetEpisodes"}
2019-09-06 15:28:15.207 T:40316  NOTICE: [ script.embuary.helper ] --> JSON RESULT: {"id":1,"jsonrpc":"2.0","result":{"episodes":[{"art":{"season.banner":"image://L%3a%5cCarnival%20Row%5cseason01-banner.jpg/","season.poster":"image://L%3a%5cCarnival%20Row%5cseason01-poster.jpg/","thumb":"image://L%3a%5cCarnival%20Row%5cSeason%201%5cCarnival%20Row%20-%201x03%20-%20Kingdoms%20of%20the%20Moon-thumb.jpg/","tvshow.banner":"image://L%3a%5cCarnival%20Row%5cbanner.jpg/","tvshow.fanart":"image://L%3a%5cCarnival%20Row%5cfanart.jpg/","tvshow.poster":"image://L%3a%5cCarnival%20Row%5cposter.jpg/"},"cast":[],"dateadded":"2019-08-30 06:51:48","director":[],"episode":3,"episodeid":15468,"file":"L:\\Carnival Row\\Season 1\\Carnival Row - 1x03 - Kingdoms of the Moon.mkv","firstaired":"2019-08-30","label":"1x03. Kingdoms of the Moon","lastplayed":"2019-09-01 20:42:08","originaltitle":"","playcount":0,"plot":"Once, as a Burguish soldier, Philo was tasked with protecting a faerish mimasery. While The Pact bears down on them, Philo meets Vignette and finds love in the most unlikely of places.","rating":0.0,"ratings":{},"resume":{"position":461.0,"total":3602.0},"runtime":3602,"season":1,"showtitle":"Carnival Row","streamdetails":{"audio":[{"channels":6,"codec":"e-ac-3","language":"eng"}],"subtitle":[{"language":"eng"},{"language":"eng"},{"language":"ara"},{"language":"dan"},{"language":"deu"},{"language":"spa"},{"language":"spa"},{"language":"fin"},{"language":"fre"},{"language":"heb"},{"language":"hin"},{"language":"ind"},{"language":"ita"},{"language":"kor"},{"language":"error"},{"language":"dut"},{"language":"pol"},{"language":"por"},{"language":"rus"},{"language":"swe"},{"language":"tam"},{"language":"tel"},{"language":"tha"},{"language":"ota"},{"language":"chi"},{"language":"chi"}],"video":[{"aspect":1.7799999713897706,"codec":"h264","duration":3602,"height":1080,"language":"","stereomode":"","width":1920}]},"title":"Kingdoms of the Moon","tvshowid":58,"userrating":0,"votes":"0","writer":[]}],"limits":{"end":1,"start":0,"total":1}}}
Code:
$INFO[Container(203).ListItem.Art(tvshow.poster)] -> [KodiDevKit] 2019-09-06 15:30:23: image://L%3a%5cCarnival%20Row%5cposter.jpg/

@sualfred, there must be something I am doing wrong in my skin then.  I will have to investigate more I guess.  Thanks for looking into this.

Regards,

Bart
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 28

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