[mythtv-commits] Ticket #11264: For the ttvdb.py -N option, return all episode data that matches a episode name

MythTV noreply at mythtv.org
Thu Nov 29 18:59:20 UTC 2012


#11264: For the ttvdb.py -N option, return all episode data that matches a episode
name
-------------------------------------+-------------------------------------
     Reporter:  r.d.vaughan@…        |      Owner:  mdean
         Type:  Patch - Feature      |     Status:  new
     Priority:  minor                |  Milestone:  unknown
    Component:  Contributed Scripts  |    Version:  0.25-fixes
  & Apps                             |   Keywords:  ttvdb, scripts,
     Severity:  low                  |  metadata
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 At this time when there are two TV episodes with identical episode names,
 the ttvdb.py grabber only returns metadata for the last matching episode
 in theTvdb.com. This can be the metadata for an episode that has not been
 broadcast yet.

 With the attached patch, ttvdb.py now returns multiple episode's "<item>"
 metadata in a most recent broadcast (ascending) episode order.

 To be of value, this patch requires a MythTV change which when multiple
 "<item>"s are returned by ttvdb.py, MythTV uses the program's "original
 air date" to match against the TTVDB episode's "<releasedate>". If there
 is no match or there is no program "original air date" then select the
 first "<item>"s metadata, this will duplicate what is being used today.

 Note that the thetvdb.com episode "<releasedate>" is unique for an episode
 and is identical for all languages.

 The attached patch is valid for MythTV v0.25 and higher.

 Basically this patch allows MythTV recording metadata to be a little more
 accurate. Recently the TV series Haven and American Horror Story both had
 identical episode names which using Schedule Direct's "original air date"
 could have been properly identified.
 Changes to the python metadata bindings, MythWeb, Service APIs and/or the
 mythmetadatalookup may be require.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11264>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list