Posts: 853
Joined: Mar 2010
Reputation:
16
I don't know what I did, just tested again and again and again - back to the home screen, then back to the settings...
and SUDDENLY - it's working.
I'm very tired from keep tracking all the files with the debug log, so i'll continue testing tomorrow.
right now, it seems to work good..
so, as usual, HUGE thanks, your helping me a lot, much appreciated!
Posts: 3,532
Joined: Oct 2013
Reputation:
357
2016-02-23, 23:59
(This post was last modified: 2016-02-24, 00:02 by sualfred.)
I've noticed that a lot of library nodes are stored with "library://../.../.../....xml" by using the just select method.
Example:
videodb://tvshows/genres -> library://video/tvshows/genres.xml/
Is there any reason to store them in this way or could this be changed to be "videodb://tvshows/genres" ?
I'm asking because I use some StringCompare (eg check if Container.FolderPath == Skin.String(JustSelect-Set-Path)) variables to override the heading of the window.
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: 1,479
Joined: Jan 2015
Reputation:
159
2016-02-24, 00:07
(This post was last modified: 2016-02-24, 00:07 by BobCratchett.)
They're stored like that purely because, when we list them via the json Files.GetDirectory api, that's the format that Kodi returns them to us in.
I'll be honest, I would need a lot of motivation to start messing about with the paths that Kodi is giving us, and even more to start messing about with the code block in question which has worked solidly for a long while. If you or anyone else does want to take a look into it, though, the code in question is def explorer() in library.py