[mythtv-commits] Ticket #13518: tmdb3.py not automatically loads available cover/banner

MythTV noreply at mythtv.org
Thu Nov 21 23:21:05 UTC 2019


#13518: tmdb3.py not automatically loads available cover/banner
----------------------------------+------------------------------
 Reporter:  warpme                |          Owner:  (none)
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  needs_triage
Component:  MythTV - General      |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:  metadata tmdb         |  Ticket locked:  0
----------------------------------+------------------------------

Comment (by steveerl):

 I just tried the data retrieval command which MythTv runs for that movie.
 I'm using English (-l en) as my language and the United States (-a US) as
 my country.


 {{{
 /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 93856
 <?xml version='1.0' encoding='UTF-8'?>
 <metadata>
   <item>
     <title>Chernobyl Diaries</title>
     <tagline>Experience the fallout</tagline>
     <description>A group of six tourists looking to go off the beaten
 path, hire an 'extreme tour guide' who, ignoring warnings, takes them into
 the city of Pripyat, the former home to the workers of the Chernobyl
 nuclear reactor, but now a deserted town since the disaster more than 25
 years earlier. After a brief exploration of the abandoned city, the group
 members find themselves stranded, only to discover that they are not
 alone.</description>
     <inetref>93856</inetref>
     <homepage>http://www.chernobyldiaries.com/</homepage>
     <releasedate>2012-05-25</releasedate>
     <userrating>5.000000</userrating>
     <popularity>9.534</popularity>
     <revenue>18112929</revenue>
     <year>2012</year>
     <runtime>88</runtime>
     <certifications>
       <certification locale="US" name="R"/>
       <certification locale="NL" name="16"/>
       <certification locale="PT" name="M/16"/>
       <certification locale="DE" name="16"/>
       <certification locale="AU" name="MA15+"/>
       <certification locale="GB" name="15"/>
     </certifications>
     <categories>
       <category name="Horror"/>
       <category name="Thriller"/>
     </categories>
     <countries>
       <country name="United States of America"/>
     </countries>
     <studios>
       <studio name="Oren Peli / Brian Witten Pictures"/>
       <studio name="Alcon Entertainment"/>
       <studio name="FilmNation Entertainment"/>
     </studios>
     <people>
       ...
     </people>
     <images>
       <image
 url="http://image.tmdb.org/t/p/original/7g2O3tYxzfWTr4TC5A35CJsWtm5.jpg"
 width="1920" type="fanart"
 thumb="http://image.tmdb.org/t/p/w300/7g2O3tYxzfWTr4TC5A35CJsWtm5.jpg"
 height="1200"/>
 ...
       <image
 url="http://image.tmdb.org/t/p/original/sSjARwbHdUabVJs3y1TtoCfpckx.jpg"
 width="1400" type="coverart"
 thumb="http://image.tmdb.org/t/p/w92/sSjARwbHdUabVJs3y1TtoCfpckx.jpg"
 height="2100"/>
 ...
     </images>
   </item>
 </metadata>
 }}}

 The actual output is much bigger, but I had to edit out many instances of
 **people**, **fanart**, and **coverart** (replacing them with '...') to
 avoid exceeding Trac's limit on number of web addresses in a comment.

 Next, I tried setting up a manual recording rule for "Chernobyl Diaries",
 and the FanArt (background picture), and CoverArt were automatically
 retrieved and displayed fine, without any need to edit metadata. You can
 see from the output above that the movie database did not specify any
 Banner art.

 Try running the same command on your system. Note that I'm running on a
 Linux system, so you may need to alter the path, if you are running on
 some other OS.

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


More information about the mythtv-commits mailing list