2013-11-29, 02:33
(2013-11-29, 01:48)redglory Wrote: Here you go: log
Thanks
(2013-11-29, 01:48)redglory Wrote: It seems you always expect a folder with files inside.
Yes, and I've hit this problem before, so my mistake. It appears that some systems (maybe older XBMC versions) return "null" for "files" on empty directories, rather than no files property (or even just an empty list) whenever there are no files. I have a centralised GetDirectory method which I should have used on this occasion (when looking up the extra* art), but didn't.... now all Files.GetDirectory access goes through the centralised method which includes a work around for the data issue...
Thanks for reporting.
texturecache.py (Version 1.1.9)
- Chg: Tweak rbphdmi logic slightly: Check HDMI has actually turned on/off; don't turn off HDMI if the TV/monitor has been powered off (if supported by TV/monitor - if not, assume "always on" with @hdmi.force.hotplug=yes).
texturecache.py (Version 1.2.0)
- Fix: null being returned for files from Files.GetDirectory call on some systems - ensure centralised method used everywhere