Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60) +--- Thread: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) (/showthread.php?tid=145656) |
Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - muttley:bd - 2012-11-19 Hi, after some user feedback (http://forum.xbmc.org/showthread.php?tid=58141&page=18). I have install latested xbmc version 12.0 Frodo beta 1. With this version I have the same issues as users report. What my internal scraper function return for poster (film: Avatar): Quote:DEBUG: scraper: GetMovieThumbs returned <details><thumb>http://pad.mymovies.it/filmclub/2008/03/090/locandina.jpg</thumb><thumb>http://pad.mymovies.it/filmclub/2008/03/090/locandinap This are the errors that log report: Quote:12:18:30 T:140175892866816 DEBUG: CurlFile::Open(0x7f7d280997b0) http://pad.mymovies.it/filmclub/2008/03/090/locandina.jpg if I try (on linux) "file locandina.jpg", get: Quote:locandina.jpg: JPEG image data, JFIF standard 1.02 The images reported in my log are correctly opened by firefox... Any suggest?! p.s. on XBMC 11.0 with the same scraper I have not problems. RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - muttley:bd - 2012-11-29 bump RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - jmarshall - 2012-11-30 The (avatar) image loads locally fine (i.e. if you download and pop it in a folder as a poster.jpg). Can you confirm this? RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - muttley:bd - 2012-12-03 (2012-11-30, 03:51)jmarshall Wrote: The (avatar) image loads locally fine (i.e. if you download and pop it in a folder as a poster.jpg). Can you confirm this? yes...if i download (wget http://pad.mymovies.it/filmclub/2008/03/090/locandina.jpg) and set it with" Choose Art/Browse" on the film sheet, all it's ok. You can also try... mhhh...but...why?! thanks for your help RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - jmarshall - 2012-12-04 Confirmed the problem: The stream specifies it's not seekable (we can't get the filesize for instance). CxImage doesn't handle this at all (i.e. it blindly assumes it can seek) so the jpeg decoding fails as we don't seek back to the correct position after reading EXIF info. Will see why the internal decoder is failing. RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - jmarshall - 2012-12-04 A fix for the internal decoder is available. You can check progress here: https://github.com/xbmc/xbmc/pull/1885 Cheers, Jonathan RE: Thumb (poster) error: Error: Not a JPEG file: starts with 0xec 0x46 (115) - muttley:bd - 2012-12-04 thanks for your help! ...and good work. |