2012-02-02, 04:03
Martijn Wrote:Uhm slight typo in code
Will be fixed in next update. Instead of the average it uses the number of votes.
Thanks for noticing
This the date from TVDBD and as you can see this image has no rating in his API respons.
PHP Code:<Banner><id>514361</id>
<BannerPath>fanart/original/78956-14.jpg</BannerPath>
<BannerType>fanart</BannerType><BannerType2>1280x720</BannerType2>
<Colors/><Language>en</Language>
<Rating/>
<RatingCount>0</RatingCount>
<SeriesName>false</SeriesName>
<ThumbnailPath>_cache/fanart/original/78956-14.jpg</ThumbnailPath>
<VignettePath>fanart/vignette/78956-14.jpg</VignettePath>
</Banner>
I know it takes more than three days for ratings and info to get through for TMDB. Don 't know how long it takes for TVDB.
Glad I could help! Thanks for looking into it so quickly. I am noticing in the example you have above that thetvdb.com API return is giving a "0" return for RatingCount and "" for Rating. It doesn't seem that artwork should have been downloaded even with the average being used instead of the number of votes. Does there need to be a check for 0 and nil so that unrated fanart isn't downloaded? This may already be fixed. Now that AD is checking the API for Rating return, getting a false return may properly exclude the fanart, whereas the RatingCount returning a 0 is what was throwing things off.
I also have a question about the "Exclude fanart that has text" option. I love the idea of it, and I had assumed I would be able to go to the themoviedb.org and toggle an indicator so that Artwork Downloader could pull that detail from the API. That doesn't seem to be an option though. I know I'm getting plenty of artwork that has text in the jpeg. Is that option actually doing anything or am I misunderstanding its objective?