[mythtv-firehose] mythtv branch master updated by wagnerrp. v0.27-pre2-1825-gda8ac30

Git Repo Owner noreply at mythtv.org
Sun Jul 14 16:01:40 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  da8ac305c3dbe955459a6a12e646b81109552836 (commit)
      from  030013e50aab4796c5d746906a4f933e6bdd442a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit da8ac305c3dbe955459a6a12e646b81109552836
Author:    Raymond Wagner <rwagner at mythtv.org> at Sun, 14 Jul 2013 11:55:13 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Sun, 14 Jul 2013 11:55:13 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=da8ac305c3dbe955459a6a12e646b81109552836

Fix metadata fanart selection.
When artwork is processed from metadata grabber results, the artwork is
put into a QMultiMap, indexed based off the type. When pulling values
back out of a QMultiMap, they are in reverse order from how they were
inserted. Since the grabber is assumed to place the highest rated
artwork at the top of the response list, it must be pulled back out of
the bottom of the QMultiMap.

Commit c3d64c80 made this change for all artwork types by fanart. Fanart
had special handling, to allow it to select different artwork for each
season of a television show. However, the logic used to select the
artwork resulted in being indexed from the beginning of the list, rather
than indexed from the back of the list, thus pulling the lowest rated
artwork rather than the highest.

Fixes #11678



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythmetadata/metadatafactory.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

-- 



More information about the mythtv-firehose mailing list