[mythtv-commits] Ticket #13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML API in 3 months time on October 1st, 2017

MythTV noreply at mythtv.org
Mon Aug 14 12:41:57 UTC 2017


#13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML
API in 3 months time on October 1st, 2017
-------------------------------------------------+-------------------------
 Reporter:  Frederick Henderson <frederickjh@…>  |          Owner:
                                                 |  markspieth
     Type:  Bug Report - General                 |         Status:
                                                 |  assigned
 Priority:  minor                                |      Milestone:  29.0
Component:  MythTV - Mythmetadatalookup          |        Version:
                                                 |  Unspecified
 Severity:  medium                               |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by bmeek):

 Here's one that has no actors (per
 http://thetvdb.com/?tab=series&id=283661&lid=7):

 /usr/local/share/mythtv/metadata/Television/ttvdb.py -l en -a US -D 283661

 This works for me:
 {{{
 diff --git a/mythtv/programs/scripts/metadata/Television/ttvdb.py
 b/mythtv/programs/scripts/metadata/Television/ttvdb.py
 index 2356bad0e3..c8f8bcb138 100755
 --- a/mythtv/programs/scripts/metadata/Television/ttvdb.py
 +++ b/mythtv/programs/scripts/metadata/Television/ttvdb.py
 @@ -1263,6 +1263,7 @@ def Getseries_episode_data(t, opts,
 series_season_ep, language = None):

      # Get Cast members
      cast_members=''
 +    tmp_cast = ''
      try:
          series_data = search_for_series(t, series_name, opts.language)
          tmp_cast = series_data['_actors']
 }}}

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


More information about the mythtv-commits mailing list