[mythtv-commits] Ticket #11678: Video metadata downloads the least popular fanart from tmdb
MythTV
noreply at mythtv.org
Sun Jul 14 10:50:50 UTC 2013
#11678: Video metadata downloads the least popular fanart from tmdb
-------------------------+--------------------------------------
Reporter: anonymous@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: Unspecified | Severity: medium
Keywords: | Ticket locked: 0
-------------------------+--------------------------------------
This is seen with current master. It has been an issue for well over a
year as well. I have seen at least one other person mention this on the
users list and it was dismissed as a false report.
When a query to tmdb returns multiple rows for fanart, the last one is
downloaded and used. This is the lowest rated from tmdb and should not be
the one used.
Simply changing tmdp3.py to use m.images.insert(0,{...}) rather than
m.images.append({...}) (reverses the sort) for fanart results in the
proper image being used. I assume, however, that the fix should actually
be in myth's code. Coverart also uses the append method and the first
item is downloaded in that case.
On another note, if you reset all metadata for a video, it does not delete
the existing fanart. When you then retrieve details, it also does not
overwrite the existing image. Unless you manually delete the image, you
cannot replace it with an updated one. To refresh an image, one has to
both delete the fanart file and clear their themecache entry which is
cumbersome.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11678>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list