[mythtv-commits] Ticket #12539: tmdb3.py consistently fails with country specific option

MythTV noreply at mythtv.org
Tue Nov 10 22:29:45 UTC 2015


#12539: tmdb3.py consistently fails with country specific option
---------------------------------------------+-----------------------------
     Reporter:  laughing_man77@…             |      Owner:  jyavenard
         Type:  Bug Report - Crash           |     Status:  new
     Priority:  major                        |  Milestone:  unknown
    Component:  MythTV - Mythmetadatalookup  |    Version:  Unspecified
     Severity:  medium                       |   Keywords:  tmdb3.py
Ticket locked:  0                            |  country AU
---------------------------------------------+-----------------------------
 fetching of metadata from TMDB consistently fails on my system. TV series
 still works fine. Going through the crash reports, I narrowed it down to:

 {{{
 $ /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a AU -d 6535
 Usage: tmdb3.py [options]

 tmdb3.py: error: no such option: -d
 javery at server:~$ /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a AU -D
 6535
 Traceback (most recent call last):
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 312, in <module>
     main()
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 306, in main
     buildSingle(args[0], opts)
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 70, in
 buildSingle
     index = zip(*releases)[0].index(opts.country)
 ValueError: tuple.index(x): x not in tuple
 }}}
 After Checking out https://code.mythtv.org/trac/ticket/12538 (Not sure if
 this ticket is a duplicate of #12538), I tried:

 {{{
 $ /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 6535
 }}}

 ...and this did not fail.

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


More information about the mythtv-commits mailing list