[mythtv-firehose] mythtv branch fixes/0.26 updated by wagnerrp. v0.26.0-214-gce8f070

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

The branch, fixes/0.26 has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  ce8f07005d607d1b6578e1085c796d0eafe490ce (commit)
      from  858c28a2cd7b1f5fcb6d224d1f319e6bb3a19021 (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 ce8f07005d607d1b6578e1085c796d0eafe490ce
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 12:01:33 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ce8f07005d607d1b6578e1085c796d0eafe490ce

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
(cherry picked from commit da8ac305c3dbe955459a6a12e646b81109552836)


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


More information about the mythtv-firehose mailing list