[mythtv-commits] Ticket #12277: Metadata collection always fails for Manual Record rules

MythTV noreply at mythtv.org
Sun Oct 8 06:48:12 UTC 2017

#12277: Metadata collection always fails for Manual Record rules
 Reporter:  Steve Erlenborn <simon.sinister@…>  |          Owner:  pbennett
     Type:  Patch - Bug Fix                     |         Status:
                                                |  infoneeded
 Priority:  minor                               |      Milestone:  unknown
Component:  MythTV - Scheduling                 |        Version:
                                                |  0.27-fixes
 Severity:  medium                              |     Resolution:
 Keywords:  metadata manual record              |  Ticket locked:  0

Comment (by simon.sinister@…):

 The problem with your test is that "Hannibal" is not unique enough. You
 can see this by running the python script which retrieves metadata by

 /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -M "Hannibal"
 <?xml version='1.0' encoding='UTF-8'?>
     <description>Both a gift and a curse, Will Graham has the
 extraordinary ability to think like his prey—he sees what they see, feels
 what they feel. But while Graham is pursuing an especially troubling,
 cannibalistic murderer, Special Agent Jack Crawford teams him with a
 highly respected psychiatrist – a man with a taste for the criminal minded
 – Dr. Hannibal Lecter.</description>
       <image type="banner"
     <title>Hannibal: Rome's Worst Nightmare</title>
     <description>It is 200 years before the birth of Christ and Rome is
 the new superpower of the ancient world. She believes she is invincible -
 but one man is destined to change that. He is a man bound by oath to
 avenge the wrongs inflicted on his home and, in pursuit of revenge, he
 will stop at nothing. Hannibal explores the man behind the myth, revealing
 what drove the 26-year-old to mastermind one of the most audacious
 military moves in history. With 40,000 soldiers and 37 elephants, he
 marched 1,500 miles to challenge his enemies on their own soil. It was an
 act so daring that few people believed it possible.</description>
     <title>Why? With Hannibal Buress</title>
     <description>“Why? With Hannibal Buress” celebrates Buress’
 hilariously brilliant off-beat voice and point-of-view. If it’s in the
 zeitgeist, Buress will address it, providing his unique perspective on
 each week’s topic, answering the burning questions on his mind through
 stand-up, filmed segments, man-on-the-street interviews and special, in-
 studio guests. “Why? With Hannibal Buress” will be a weekly, half-hour
 series shot in front of a studio audience and each episode will tape the
 same week it airs. The series is executive produced by Buress, Jeff
 Stilson (“The Chris Rock Show,” “Da Ali G Show”) and Dave Becky of 3 Arts
       <image type="banner"

 As you can see above, the phrase "Hannibal" matches three different TV
 series: "Hannibal", "Hannibal: Rome's Worst Nightmare", and "Why? With
 Hannibal Buress".

 Without my patch, the MythTv backend would execute :

 /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -M "Hannibal
 (Manual Record)"

 which returns no matches at all.

 The automatic lookup of metadata only works well when the title of the
 recording matches a single series. I do wish that an exact match on the
 title would take precedence over partial matches. If a title string
 matches 3 possible solutions, but one of them is an exact match, then the
 metadata for the exact match should be selected. However, that would best
 be addressed in a separate ticket.

Ticket URL: <https://code.mythtv.org/trac/ticket/12277#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list