Posts: 3,532
Joined: Oct 2013
Reputation:
357
2018-09-10, 22:51
(This post was last modified: 2018-09-10, 22:53 by sualfred.)
I don't know your complete code and structure, but I guess it happened when you were on a tv show or season level before.
Kodi does not render the includes in the media windows again when the page content is changed to episodes or to any other path. It just updates the container path. In that case you have to work with visible conditions, conditional item and focused layouts and/or additional view types.
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: 83
Joined: Apr 2012
Reputation:
4
2018-09-12, 07:33
(This post was last modified: 2018-09-12, 07:34 by AMoo-Miki.)
I think I got what you mean; correct me please if I misunderstood. You are proposing to either use separate views, or pass the id
down.
I was hoping not to have to duplicate an entire view just for a height difference. On passing down using params, unfortunately the conditions that check the view are not inside the fixedlist but rather outside it in different xml files; does the param I set here get to them?
PS for now I just duplicated the id
s and changed all my conditions. It would be a nightmare to manage this and I am hoping to find a cleaner solution.
Posts: 3,532
Joined: Oct 2013
Reputation:
357
In my example you don't have to duplicate codes. Just include the layout code and use params to provide the ID to change conditions for all Container($PARAM[id]).xxx.xxx values.
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: 83
Joined: Apr 2012
Reputation:
4
Thanks. I will try your proposal over the weekend and will report back.