YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

posterscanner failing on some tvdb jpgs #2796

Closed doubledrat closed 6 years ago

doubledrat commented 6 years ago

e.g. PosterScanner: getUrlDimensions error: Not a JPEG file: starts with 0xff 0xd9: can't open url: http://thetvdb.com/banners/seasons/315068-2-3.jpg

I currently have 11 of these failures in my log.

I've downloaded the above file and it does not start with ff d9, it starts with ff d8

methilnet commented 6 years ago

put poster.scanner.Validate=false in your moviejukebox.properties file. look like something is wrong or has changed at the tvdb once more ...

JasperZ28 commented 6 years ago

Hi, Yes same issue this end, had guessed TVDB had changed something. Please advise of any updates please. Thank you, P.S. rebuilt DB from scratch..no banners or TV posters. Cheers BTW Love YAMJ !!

Omertron commented 6 years ago

poster.scanner.Validate=false will solve the issue with the posters.

This setting was really designed for websites with lax aspect ratios, so shouldn't affect theTVDB images.

A couple of runs of YAMJ should fix the issues. If there is the same issue with banners, then banner.scanner.Validate=false will work too,