2016-07-18, 03:13
(2016-07-17, 12:42)badaas Wrote: 1 thing to notice is the images all have a trailing /, ie. somepath://someimage.jpg/
I *think* this happens more with SMB shares.
Or how images are being added to DB, ie. someone is not checking or terminating paths properly and adding a '/'.
Or the path you set, try removing '/' [may not be issues but as you say you set the path].
I'm a pretty crummy programmer and when ever I got stuck I'd just output everything to the screen or log and start reading.
Can you point me to script in question and have me modify it to output the path to all home screen fan art? I tried tuning on debug logging, but it's not enough.
EDIT:
I honestly don't know if this helps, but I've been comparing values from the log and text in the DB.
I was lucky enough to get a very recognisable fan art load and went looking for it in the on the TheTVDB to get their show ID and URL to help search the logs.
I found the image and then looked for it in the logs to see if it was logged; it was logged but as a failed load, so I'm guessing it's trying multiple times to get the image.
From the log:
Code:
11:15:09 T:3328 WARNING: XFILE::CDirectoryFactory::Create - unsupported protocol(image) in image://http%3a%2f%2fthetvdb.com%2fbanners%2ffanart%2foriginal%2f74205-38.jpg/
From the database:
Code:
<fanart url="http://thetvdb.com/banners/"><thumb dim="1920x1080" colors="" preview="_cache/fanart/original/74205-38.jpg">fanart/original/74205-38.jpg</thumb>
The URL in the database is correct, not trailing "/"