[mythtv-commits] Ticket #12263: tmdb3: crashes when area set and no rating exists

MythTV noreply at mythtv.org
Sat Sep 6 13:39:37 UTC 2014


#12263: tmdb3: crashes when area set and no rating exists
----------------------------------------+-----------------------
     Reporter:  angela.schmid@…         |      Owner:  jyavenard
         Type:  Bug Report - General    |     Status:  new
     Priority:  minor                   |  Milestone:  unknown
    Component:  MythTV - Video Library  |    Version:  0.27.3
     Severity:  medium                  |   Keywords:  tmdb3
Ticket locked:  0                       |
----------------------------------------+-----------------------
 {{{
 /usr/share/mythtv/metadata/Movie/tmdb3.py -l de -a DE -D 153120  --debug

 ...
 loading
 http://api.themoviedb.org/3/movie/153120/releases?api_key=c27cb71cff5bd76e1a7a009380562c62
 {u'countries': [], u'id': 153120}
 Traceback (most recent call last):
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 303, in <module>
     main()
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 297, in main
     buildSingle(args[0], opts)
   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 64, in
 buildSingle
     index = zip(*releases)[0].index(opts.country)
 IndexError: list index out of range
 }}}

 {{{
 http://api.themoviedb.org/3/movie/153120/releases?api_key=c27cb71cff5bd76e1a7a009380562c62
 provides
 {"id":153120,"countries":[]}
 }}}

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


More information about the mythtv-commits mailing list