Plex Not Fetching Metadata or Subs

I have been trying to use Plex for the past couple of weeks, but I cannot seem to get Plex to fetch metadata. Firstly, my movies are titled and structured correctly, as far as I know (one movie path is: C:\Media\Movies\First Reformed (2017)\First Reformed (2017). Secondly, yes, I have looked around for a solution, but nothing I’ve seen has helped.

I have tried seemingly everything: restructured my folders, renamed all the movies and folders and corresponding files… I have tried simply placing only the movie files and subfolders in my movies folder (sans images or any other files). I have tried placing movies plus other files. I have tried changing the order of agents to prefer local files, I have tried using Plex movie and the other metadata sources. I have done the Plex dance 7 million times. No matter what I do… I am left without movie poster art and without subs (even when I have these files, appropriately titled, in the movie subfolders on my computer…).

I’m at my wit’s end, I’m afraid. Any help? I really really really would like to use Plex, but this issue is pushing me away.

Please post the contents of the Plex XML info of one of your movies.

Then do the following:

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 2 minutes
  6. either refresh one movie or add one movie into your library
  7. wait 3 minutes
  8. fetch log files and attach them here

OK, here we go. Here is the the Plex XML info for Gladiator (2000) [sorry, I tried to save as an XML file and upload it here, but I got an error message].

https://192-168-0-30.e4355e00bc944cf9b3dbfd7d3afa92fb.plex.direct:32400/library/metadata/14?checkFiles=1&includeExtras=1&includeBandwidths=1&

I am going to do the steps now. Stand by for update.

Sorry, this URL is not of use.
Please post the content which is shown in the web browser when clicking on this link.

And please don’t post similar URLs again, because they contain your X-Plex-Token which is as good as your Plex username and password.

Noted! Apologies. Here is the info:

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Movies" librarySectionUUID="77d43f7f-d6a4-4501-9f62-7341294f93de"mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1544793662">
  <Video ratingKey="14" key="/library/metadata/14" guid="com.plexapp.agents.imdb://tt0172495?lang=en" librarySectionTitle="Movies" librarySectionID="1" librarySectionKey="/library/sections/1" type="movie"title="Gladiator" summary="" thumb="/library/metadata/14/thumb/1548301358" art="/library/metadata/14/art/1548301358" duration="10257280" addedAt="1548300153" updatedAt="1548301358">
    <Media videoResolution="1080" id="14" duration="10257280" bitrate="1343" width="1920" height="816" aspectRatio="2.35" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mp4" videoFrameRate="24p"optimizedForStreaming="1" audioProfile="he-aac" has64bitOffsets="0" videoProfile="high">
      <Part accessible="1" exists="1" id="14" key="/library/parts/14/1548205360/file.mp4" duration="10257280" file="C:\Media\Movies\Gladiator (2000)\Gladiator (2000).mp4" size="1721883553" audioProfile="he-aac"container="mp4" deepAnalysisVersion="2" has64bitOffsets="0" optimizedForStreaming="1" requiredBandwidths="2491,2290,1818,1587,1587,1587,1587,1587" videoProfile="high">
        <Stream id="55" streamType="1" default="1" codec="h264" index="0" bitrate="1248" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="23.976" hasScalingMatrix="0" height="816"level="40" profile="high" refFrames="4" requiredBandwidths="2399,2198,1726,1495,1495,1495,1495,1495" streamIdentifier="1" width="1920" displayTitle="1080p (H.264)"/>
        <Stream id="56" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="95" language="English" languageCode="eng" audioChannelLayout="stereo" profile="he-aac"requiredBandwidths="93,93,93,93,93,93,93,93" samplingRate="32000" streamIdentifier="2" displayTitle="English (HE-AAC Stereo)"/>
      </Part>
    </Media>
    <Extras size="0"> </Extras>
  </Video>
</MediaContainer>

OK, now make a screen shot of
Settings - (Server) - Agents - Movies - Plex Movie


Here you go. I had been moving these around a bit, as well as with Media Center Master.

Ok, followed your steps, and here are the log files. Plex Media Server Logs_2019-01-29_15-40-59.zip (627.0 KB)

There are lots and lots of errors related to the metadata agents in the logs.

Did you update the server immediately before fetching the log files?

Try this:
Settings - Server - Network - ‘Show Advanced’ - “Enable server support for IPv6” = DISable

Create an exemption rule in the settings of your anti virus package to exclude the folder C:\Users\danie\AppData\Local\Plex Media Server from interference by the A/V.

Re-install Plex server manually, from a freshly downloaded installer:

  • Stop/quit/end Plex Server with the tray icon
  • deinstall Plex Server with the regular ‘Apps’ control panel of Windows (do not use 3rd party ‘Uninstaller’ software like Revo etc.)
  • for safety, reboot Windows
  • download the installation exe of the newer version and install it https://www.plex.tv/media-server-downloads/

You asked if I updated the server before fetching the log files: I refreshed one of the movies (refresh metadata–was that correct?), but I’m not sure if that’s what you mean.

Then I followed the rest of your instructions. I had already disabled IPv6, so that remains disabled. I created the exemption rule for my antivirus programming.

Then I uninstalled (via Windows, no 3rd party) the server, rebooted, and installed it again. I removed the films from that directory, did the Plex dance, placed them back, and re-scanned the library. Sadly, still no cover art or subtitles.

I appreciate your time so far. What should I do now? Here are the latest logs.

Plex Media Server Logs_2019-01-29_22-24-48.zip (794.7 KB)

One last try: clear the agent caches https://support.plex.tv/articles/202967376-clearing-plugin-channel-agent-http-caches/

Then try to ‘Refresh Metadata’ on one movie.

Ok, removed all the plug-in support / cache subfolders, then refreshed metadata for Gladiator. Still nothing. (logs attached)

Are there any other folders I am supposed to remove?Plex Media Server Logs_2019-01-29_23-24-26.zip (868.3 KB)

Any other suggestions?

Is there anything else I need to do? You said there were lots of metadata errors. Is that something that can be fixed on my part?

Sorry, I ran into some things I don’t understand and have asked a few other guys which haven’t got back, yet…

Sorry, didn’t mean to rush you–I feared this had been put aside. I appreciate it!

The logs give a hint of the issue we have seen before when the ipv6 routes to image.tmdb.org are not reachable

you can do some testing using curl.exe for specific url’s eg
http://image.tmdb.org/t/p/w300/jXtKhWFg3ykUMABl6iZuJs9B462.jpg
and time them

Logs show 100 seconds+ before images are returned
See these examples

2019-01-29 23:11:36,078 (34a0) :  DEBUG (networking:166) - Requesting 'http://image.tmdb.org/t/p/w300/jXtKhWFg3ykUMABl6iZuJs9B462.jpg'

2019-01-29 23:13:16,302 (34a0) :  DEBUG (networking:198) - Not caching 'http://image.tmdb.org/t/p/w300/jXtKhWFg3ykUMABl6iZuJs9B462.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)

and

2019-01-29 23:13:16,311 (34a0) :  DEBUG (networking:166) - Requesting 'http://image.tmdb.org/t/p/w300/5vZw7ltCKI0JiOYTtRxaIC3DX0e.jpg'
2019-01-29 23:14:56,365 (34a0) :  DEBUG (networking:198) - Not caching 'http://image.tmdb.org/t/p/w300/5vZw7ltCKI0JiOYTtRxaIC3DX0e.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)
2019-01-29 23:14:56,371 (34a0) :  DEBUG (networking:166) - Requesting 'http://image.tmdb.org/t/p/w300/tfhJDGI8uyMlUVjGQ61iW4WNnPb.jpg'
2019-01-29 23:16:36,424 (34a0) :  DEBUG (networking:198) - Not caching 'http://image.tmdb.org/t/p/w300/tfhJDGI8uyMlUVjGQ61iW4WNnPb.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)

and so on

And with an overhead of 100 second + for each image, the overall request to the agent to get metadata times out after 10 minutes

Jan 29, 2019 23:11:26.288 [25340] DEBUG - HTTP requesting GET http://127.0.0.1:54136/:/plugins/com.plexapp.agents.imdb/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZW5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzMgozOXM0CmRiaWRpMApzNwp2ZXJzaW9ubnMxMApwYXJlbnRHVUlEbnM4CnBhcmVudElEczUKTW92aWVzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMuaW1kYjovL3R0MDE3MjQ5NT9sYW5nPWVuczQKZ3VpZHM5CnR0MDE3MjQ5NXMyCmlkcjAK
Jan 29, 2019 23:21:26.602 [25340] ERROR - Error issuing curl_easy_perform(handle): 28
Jan 29, 2019 23:21:26.602 [25340] DEBUG - HTTP simulating 408 after curl timeout
Jan 29, 2019 23:21:26.602 [25340] DEBUG - [com.plexapp.agents.imdb] HTTP reply status 408, with 0 bytes of content.

It may be that your ISP DNS is returning ipv6 addresses and yet unable to reach some ipv6 sites

nslookup image.tmdb.org will probably show 5 ipv6 addresses and 5 ipv4 addresses. The 100 second dekay arises when trying out each of the ipv6 routes with a 20 second timeout on each.
The issue was investigated on this forum thread

You could try to disable ipv6 in the router - or get your isp to look into why image.tmdb.org is not reachable through the 5 ipv6 addresses

Note that the ipv6 setting within Plex Media Server Network Settings does not have any impact on how outward connections are made

I disabled IPV6 (had to look up how to do this, lol) and it appears to have fixed the problem! Thank you so much sa2000 and to Otto for helping out! You guys are wonderful.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.