Opened 10 months ago

Last modified 34 hours ago

#13518 accepted Bug Report - General

tmdb3.py not automatically loads available cover/banner

Reported by: warpme Owned by: rcrdnalor
Priority: minor Milestone: 31.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords: metadata tmdb
Cc: Ticket locked: no

Description

Just testing current master revisited tmdb3.py and discover following:

script finds ok metadata for given movie but not automatically loads cover & banner.

However - when I go to "edit metadata" and ask script to manually find&load online cover & banner - it loads OK cover&banner.

Is this expected?

In other words: is it expected that user will need to manually load cover/banner even if script can do this automatically?

My example is: tmdb3.py with movie id=93856

Attachments (1)

01_revert_commit_2738b98.patch (1.3 KB) - added by rcrdnalor 37 hours ago.
This reverts commit https://github.com/MythTV/mythtv/commit/2738b98 and restores lookup of coverart and fanart

Download all attachments as: .zip

Change History (12)

comment:1 Changed 10 months ago 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.

comment:2 Changed 10 months ago by warpme

Well - I think difference between Your's test and mine is how metadata grabbing is triggered. I'm triggering this by asking to retrieve metadata in Movie Library/Change? Video Details/Retrieve? Details.

I done following test:

2 remote FE: FE1 & FE2 standalone backend called BE

-On FE1 I went to Movie Library/Change? Video Details/Retrieve? Details and ask for retrieve metadata for "Chernobyl Diaries" movie.

-FE1 retrieves metadata (locally) and starts to show me txt data details but not FanArt/Cover?

-Looking on DB/videometadata in BE I see updated INETREF field with tmdb3.py_93856 but FANART & COVER fields are empty

-Also FE2 starts to show text details but also not shows FanArt/Cover?

-I go to FE1 and enter manual metadata edit, ask for searching on-line cover, select in searches list right cover and save.

-FE1 starts to show cover OK.

-DB/videometadata FIELD also starts to have filename with cover picture

-FE2 also started to show cover

So for me it looks like in my scenario not all metadata found by ttmdb3 script on FE1 was transferred to remote backend & DB. But using edit/metadata on FE1 allows to save this missing metadata in backend & DB

Repeating above procedure for FanArt? gives exactly the same results...

hope this clarifies a bit issue.

comment:3 Changed 10 months ago by rcrdnalor

@warpme:

Please post the logs for the 2 steps you described in this bug report. If the backend / frontends run with the log options 'general', 'info', you should see something like

Running Grabber:

and please grep for 'Metadata' around above log entries.

I'd expect to find those data in the backend log, but please search the frontend's log as well.

comment:4 Changed 10 months ago by warpme

Here is log entries from FE1 when I went to Movie Library/Change? Video Details/Retrieve? Details and ask for retrieve metadata for "Chernobyl Diaries" movie.

2019-11-24 17:28:23.416506 I  Managed child (PID: 17988) has started! * command=/usr/share/mythtv/metadata/Television/ttvdb.py -v, timeout=0
2019-11-24 17:28:28.488546 I  Managed child (PID: 17988) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb.py -v, status=0, result=0
2019-11-24 17:28:28.538560 I  Running Grabber: /usr/share/mythtv/metadata/Television/ttvdb.py -l pl -a US -M Chernobyl with timeout 240 sec
2019-11-24 17:28:28.538587 D  Launching: /usr/share/mythtv/metadata/Television/ttvdb.py -l pl -a US -M Chernobyl
2019-11-24 17:28:28.571973 I  Managed child (PID: 18011) has started!  command=/usr/share/mythtv/metadata/Television/ttvdb.py -l pl -a US -M Chernobyl, timeout=0
2019-11-24 17:28:34.021501 I  Managed child (PID: 18011) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb.py -l pl -a US -M Chernobyl, status=0, result=0
2019-11-24 17:28:34.047536 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.048058 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.048543 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.049034 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.049317 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.049699 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.049983 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.050372 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.052012 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.052323 I  Result Found, Season 1 Episode 3
2019-11-24 17:28:34.061393 D  Launching: /usr/share/mythtv/metadata/Movie/tmdb3.py -v
2019-11-24 17:28:34.094794 I  Managed child (PID: 18035) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, timeout=0
2019-11-24 17:28:34.577550 I  Managed child (PID: 18035) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, status=0, result=0
2019-11-24 17:28:34.596585 I  Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl with timeout 240 sec
2019-11-24 17:28:34.596615 D  Launching: /usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl
2019-11-24 17:28:34.631535 I  Managed child (PID: 18037) has started!  command=/usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl, timeout=0
2019-11-24 17:28:38.313558 D  Running HouseKeeper.
2019-11-24 17:28:38.313589 D  Checking to run HardwareProfiler
2019-11-24 17:29:04.757855 I  Managed child (PID: 18037) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl, status=0, result=0
2019-11-24 17:29:04.797030 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.797462 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.797953 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.798410 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.798838 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.799245 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.799646 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.800056 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.800459 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.800857 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.801294 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.801725 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.802129 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.802513 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.802913 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.803319 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.803706 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.804081 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.804353 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.804640 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.805087 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.805501 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.805900 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.806281 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.806661 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.807046 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.807433 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.807827 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.808221 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.808662 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.809045 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.809447 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.809840 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.810231 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.810613 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.811039 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.811532 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.811974 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.812361 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:04.815841 D  Launching: /usr/share/mythtv/metadata/Movie/tmdb3.py -v
2019-11-24 17:29:04.850110 I  Managed child (PID: 18148) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, timeout=0
2019-11-24 17:29:05.352858 I  Managed child (PID: 18148) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, status=0, result=0
2019-11-24 17:29:05.401910 I  Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl with timeout 240 sec
2019-11-24 17:29:05.401933 D  Launching: /usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl
2019-11-24 17:29:05.436554 I  Managed child (PID: 18150) has started!  command=/usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl, timeout=0
2019-11-24 17:29:07.672487 I  Managed child (PID: 18150) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -a US -M Chernobyl, status=0, result=0
2019-11-24 17:29:07.711367 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.711853 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.712347 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.712752 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.713161 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.713568 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.713982 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.714384 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.714794 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.715257 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.715676 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.716067 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.716475 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.716860 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.717263 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.717674 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.718052 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.718455 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.718735 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.719022 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.719413 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.719812 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.720211 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.720595 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.720972 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.721356 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.721772 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.722190 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.722632 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.723035 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.723423 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.723827 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.724220 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.724619 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.725042 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.725454 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.725857 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.726235 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.726621 I  Result Found, Season 1 Episode 3
2019-11-24 17:29:07.727447 I  Returning Metadata Results: Chernobyl 1 3
2019-11-24 17:29:12.160097 D  Launching: xscreensaver-command -deactivate >&- 2>&-
2019-11-24 17:29:12.194492 I  Managed child (PID: 18178) has started! *& command=xscreensaver-command -deactivate >&- 2>&-, timeout=0
2019-11-24 17:29:12.275304 I  Managed child (PID: 18178) has exited! command=xscreensaver-command -deactivate >&- 2>&-, status=0, result=0
2019-11-24 17:29:12.458715 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/5cc12861c93e4.jpg
2019-11-24 17:29:13.073982 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//bannershttps://beta.thetvdb.com/images/missing/movie.jpg
2019-11-24 17:29:14.290265 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/5c37d0fd8f5e8.jpg
2019-11-24 17:29:15.507755 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/165471-1.jpg
2019-11-24 17:29:16.772042 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//bannershttps://beta.thetvdb.com/images/missing/movie.jpg
2019-11-24 17:29:17.587807 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/286970-2.jpg
2019-11-24 17:29:18.402988 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/331052-1.jpg
2019-11-24 17:29:19.220282 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/5cf3e030986c4.jpg
2019-11-24 17:29:20.063077 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/5cf3e850b465e.jpg
2019-11-24 17:29:20.882622 E  MetadataImageDownload: failed to download thumbnail from: http://www.thetvdb.com/banners/_cache//banners/posters/133921-1.jpg
2019-11-24 17:29:21.106308 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_52296_31894.jpg
2019-11-24 17:29:21.329343 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_17540_5563.jpg
2019-11-24 17:29:21.545030 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_12802_24983.jpg
2019-11-24 17:29:21.750197 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_25458_58915.jpg
2019-11-24 17:29:21.960025 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_4546_55005.jpg
2019-11-24 17:29:22.174318 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_32394_11673.jpg
2019-11-24 17:29:22.381343 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_14720_65106.jpg
2019-11-24 17:29:22.602279 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_51586_3684.jpg
2019-11-24 17:29:22.825662 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_33722_1275.jpg
2019-11-24 17:29:23.031006 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_43046_28533.jpg
2019-11-24 17:29:23.245355 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_24375_7269.jpg
2019-11-24 17:29:23.886807 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_47953_61023.jpg
2019-11-24 17:29:24.093753 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_58549_5062.jpg
2019-11-24 17:29:24.349642 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_26217_6979.jpg
2019-11-24 17:29:24.581724 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_54194_43319.jpg
2019-11-24 17:29:24.801060 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_35291_29577.jpg
2019-11-24 17:29:25.008794 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_53609_46926.jpg
2019-11-24 17:29:25.224915 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_41778_43700.jpg
2019-11-24 17:29:25.430056 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_1765_27733.jpg
2019-11-24 17:29:25.656684 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_9887_32122.jpg
2019-11-24 17:29:25.863467 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_47935_12692.jpg
2019-11-24 17:29:26.068849 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_8594_56464.jpg
2019-11-24 17:29:26.274182 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_26054_12305.jpg
2019-11-24 17:29:26.493836 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_46133_54773.jpg
2019-11-24 17:29:26.700786 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_21300_28877.jpg
2019-11-24 17:29:26.914226 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_34830_9971.jpg
2019-11-24 17:29:27.119377 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_48211_50000.jpg
2019-11-24 17:29:27.324867 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_57345_30712.jpg
2019-11-24 17:29:27.530646 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_39286_38189.jpg
2019-11-24 17:29:27.759381 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_45790_16195.jpg
2019-11-24 17:29:27.966518 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_7939_37799.jpg
2019-11-24 17:29:28.209190 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_16925_20341.jpg
2019-11-24 17:29:28.414435 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_41025_39179.jpg
2019-11-24 17:29:28.636235 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_39068_19971.jpg
2019-11-24 17:29:28.857584 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_51680_48748.jpg
2019-11-24 17:29:29.072219 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_64187_44342.jpg
2019-11-24 17:29:29.277371 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_9719_29225.jpg
2019-11-24 17:29:29.482487 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_33077_57105.jpg
2019-11-24 17:29:29.687883 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_27347_11642.jpg
2019-11-24 17:29:29.688370 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_52296_31894.jpg
2019-11-24 17:29:29.688561 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_17540_5563.jpg
2019-11-24 17:29:29.688706 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_12802_24983.jpg
2019-11-24 17:29:29.688855 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_25458_58915.jpg
2019-11-24 17:29:29.688998 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_4546_55005.jpg
2019-11-24 17:29:29.689132 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_32394_11673.jpg
2019-11-24 17:29:29.689271 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_14720_65106.jpg
2019-11-24 17:29:29.689411 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_51586_3684.jpg
2019-11-24 17:29:29.689545 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_33722_1275.jpg
2019-11-24 17:29:29.689690 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_43046_28533.jpg
2019-11-24 17:29:29.689829 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_24375_7269.jpg
2019-11-24 17:29:29.689961 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_47953_61023.jpg
2019-11-24 17:29:29.690098 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_58549_5062.jpg
2019-11-24 17:29:29.690238 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_26217_6979.jpg
2019-11-24 17:29:29.690375 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_54194_43319.jpg
2019-11-24 17:29:29.690520 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_35291_29577.jpg
2019-11-24 17:29:29.690656 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_53609_46926.jpg
2019-11-24 17:29:29.690788 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_41778_43700.jpg
2019-11-24 17:29:29.690924 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_1765_27733.jpg
2019-11-24 17:29:29.691062 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_9887_32122.jpg
2019-11-24 17:29:29.691192 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_47935_12692.jpg
2019-11-24 17:29:29.691327 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_8594_56464.jpg
2019-11-24 17:29:29.691463 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_26054_12305.jpg
2019-11-24 17:29:29.691597 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_46133_54773.jpg
2019-11-24 17:29:29.691765 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_21300_28877.jpg
2019-11-24 17:29:29.691906 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_34830_9971.jpg
2019-11-24 17:29:29.692046 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_48211_50000.jpg
2019-11-24 17:29:29.692190 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_57345_30712.jpg
2019-11-24 17:29:29.692328 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_39286_38189.jpg
2019-11-24 17:29:29.692459 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_45790_16195.jpg
2019-11-24 17:29:29.692601 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_7939_37799.jpg
2019-11-24 17:29:29.692740 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_16925_20341.jpg
2019-11-24 17:29:29.692876 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_41025_39179.jpg
2019-11-24 17:29:29.693015 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_39068_19971.jpg
2019-11-24 17:29:29.693156 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_51680_48748.jpg
2019-11-24 17:29:29.693294 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_64187_44342.jpg
2019-11-24 17:29:29.693434 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_9719_29225.jpg
2019-11-24 17:29:29.693571 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_33077_57105.jpg
2019-11-24 17:29:29.693710 D  Threaded Image Thumbnail Download: /home/minimyth/.mythtv/cache/metadata-thumbcache/thumbnail_27347_11642.jpg
2019-11-24 17:29:35.696750 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_SG_GETFILELIST,mythtv...) called from UI thread
2019-11-24 17:29:36.362648 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_FILE_EXISTS,Czarnobyl. Reaktor strachu Season 1_coverart.jpg...) called from UI thread
2019-11-24 17:29:36.367156 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_SG_GETFILELIST,mythtv...) called from UI thread
2019-11-24 17:29:36.682892 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_FILE_EXISTS,Czarnobyl. Reaktor strachu Season 1_coverart.jpg...) called from UI thread
2019-11-24 17:29:36.683930 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_FILE_EXISTS,Czarnobyl. Reaktor strachu Season 1_fanart.jpg...) called from UI thread
2019-11-24 17:29:36.687866 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_SG_GETFILELIST,mythtv...) called from UI thread
2019-11-24 17:29:36.901427 D  MythCoreContext::SendReceiveStringList(): SendReceiveStringList(QUERY_SG_GETFILELIST,mythtv...) called from UI thread
2019-11-24 17:29:38.313977 D  Running HouseKeeper.
2019-11-24 17:29:38.314007 D  Checking to run HardwareProfiler

In backend log there is no any entries related to this metadata query.

comment:5 Changed 10 months ago by steveerl

It looks like odd string of "_cache/banners/" showing up in the MetadataImageDownload? log lines is causing problems. Note that there's really two slashes between '_cache' and 'banners', but that WikiFormatting doesn't seem to allow that to display properly. If you try to load the full path identified in the above log in a web browser ...

http://www.thetvdb.com/banners/_cache//banners/posters/5cc12861c93e4.jpg

it fails. But if you extract the odd string '_cache/banners/'

http://www.thetvdb.com/banners/posters/5cc12861c93e4.jpg

it loads a poster corresponding to that movie.

Also, some of the web addresses seem to be the result of two link addresses slammed together. For example:

http://www.thetvdb.com/banners/_cache//bannershttps://beta.thetvdb.com/images/missing/movie.jpg

comment:6 Changed 10 months ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Owner: set to Bill Meek
Status: newassigned

comment:7 Changed 10 months ago by warpme

isn't that we have 2 separate issues here:

1.issue with odd string '_cache/banners/' & two link addresses slammed together passed to MetadataImageDownload?

2.issue with not all metadata found by grabber is transferred to remote backend storage & DB

comment:8 Changed 6 months ago by Stuart Auchterlonie

Milestone: 31.031.1

Moving open tickets v31.0 -> v31.1

comment:9 Changed 3 days ago by rcrdnalor

Replying on 2. issue with not all metadata found by grabber:

On v29, I created a file named "Chernobyl.mpg" in the Videos storagegroup and did

M -> Scan for Changes

I -> Change Video Details -> Retrieve

Then I selected the first one in the list: Chernobyl Diaries (2012) and pressed Enter

Logs:

mythfrontend[841]: I MetadataDownload metadatagrabber.cpp:453 (RunGrabber) Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l de -a AT -D 93856
mythfrontend[841]: I MetadataDownload metadatacommon.cpp:1202 (ParseMetadataItem) Result Found, Season 0 Episode 0
mythfrontend[841]: I MetadataDownload metadatadownload.cpp:176 (run) Returning Metadata Results:  0 0
mythfrontend[841]: I MetadataImageDownload metadataimagedownload.cpp:243 (run) Metadata Image Download: http://image.tmdb.org/t/p/original/9kOflOXZFGjcbs6AZOZ6PxQnF7W.jpg -> myth://Coverart@homeserver/tmdb3.py_93856_coverart.jpg
mythfrontend[841]: I MetadataImageDownload metadataimagedownload.cpp:243 (run) Metadata Image Download: http://image.tmdb.org/t/p/original/1BgWRWjZtD6zyJfzlfDx3NHaECQ.jpg -> myth://Fanart@homeserver/tmdb3.py_93856_fanart.jpg

Result: Got coverart and fanart and textual video description (on MythTV v29).

On my v31 test system, I got only the textual description, no coverart, fanart and no such log entry. This query is never executed.

Looking at the commit 2738b98 named "VideoDialog: fix loop when using the choose metadata popup" ( https://github.com/MythTV/mythtv/commit/2738b98 ) it seems, that this behaviour is intended, but I still do not know the exact reason for that fix.

Maybe Paul H. has some insights?

Note, when you revert this fix, you need to edit the prototype as well in the header file.

Changed 37 hours ago by rcrdnalor

This reverts commit https://github.com/MythTV/mythtv/commit/2738b98 and restores lookup of coverart and fanart

comment:10 Changed 35 hours ago by glidos

This pull request fixes one of the problems mentioned here, although not that originally posted: https://github.com/MythTV/mythtv/pull/235. This restores the thumbnail and artwork downloading when manually fetching metadata for a video from the Info menu in mythvideo

comment:11 Changed 34 hours ago by rcrdnalor

Owner: changed from Bill Meek to rcrdnalor
Status: assignedaccepted
Note: See TracTickets for help on using tickets.