Posts: 707
Joined: Aug 2009
Reputation:
161
2019-10-19, 13:11
(This post was last modified: 2019-10-19, 13:11 by roidy.)
From a list of episodes is it possible to get the title/label of that episodes season?
I can get the shows title using ListItem.TVShowTitle but there doesn't seem to be a way to get the season title/label.
Posts: 3,532
Joined: Oct 2013
Reputation:
357
Wait a minute. Isn't Container.Foldername exactly what you are looking for? But that is only filled in MyVideoNav.xml.
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
Posts: 3,532
Joined: Oct 2013
Reputation:
357
Yep, only works on a regular tvshow -> season -> episodes structure
Haven't had season names in mind. Does it work if you add sortby="season" to the <content> path?
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
Posts: 3,532
Joined: Oct 2013
Reputation:
357
2019-10-19, 18:18
(This post was last modified: 2019-10-19, 18:19 by sualfred.)
Ah, now I remember. I've added ListItem.Property(season_label) for it. Kodi is always sorting it by label, that was why.
And if you are still interested, I've modified my getbydbid method to include the season label as ListItem.Property(season_label) for episodes, too:
-> plugin://script.embuary.helper/?info=getbydbid&type=episode&dbid=$INFO[ListItem.DBID]
Thanks for pointing me to this "issue". I'll adopt these changes to Embuary, 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