New TV Show Metadata not Refreshing

Server Version#: Version 1.19.1.2645
Player Version#: Version 4.22.3

Over the last few days, I’ve noticed that PMS will not refresh the metadata on newly added episodes or new shows added. For existing shows, the latest episode remains listed as “Episode X” rather than pulling the name of the episode. New shows are not matching automatically. I can manually “Refresh Metadata” and the information is pulled in correctly as well as matching the new shows, but I’m just wondering if this is happening to anyone else. I use TVDB for my tv show agent. Attached are what I see on the homepage after 30 mins of waiting where this used to be a few mins to complete.

Plex Snip

Plex Snip 2

What I noticed when watching the “Alerts” scroll by is that PMS isn’t refreshing the entire series when a new episode is added. It is only trying to update the one episode and eventually says “Finished Processing” which isn’t what used to happen.

I have run through the “Optimize Database”, “Clean Bundles” and “Empty Trash” as well as allowed the scheduled tasks to run overnight for the last few days.

Any ideas?

Update with Additional Details

Over the weekend I removed my TV show libraries, uninstalled Plex, deleted the entire folder reinstalled Plex and reimported all of my TV show folders. No issues when adding metadata for entire shows however, it still fails to pull the metadata automatically as I add episodes a series. For example: Added the new Family Guy episode from last night to my library (S18E17). Rather than pulling the title of the episode, it remained titled “Episode 17”. When I look at the “Alerts” tab under settings, Plex only “downloads metadata” for the newest episode which isn’t what it used to do. Only when I go to the shows main page and click “Refresh Metadata” does it then pull all of the information and includes the newest episode name correctly. I can do this as I add episodes but I don’t know what changed and why it’s stopped working as expected.

Any assistance is greatly appreciated.

Update #2 4/29/2020

I have restored a previous version of the Plex Media Folder location from a 3/22/2020 version that I know was working. I also removed all of the episodes that I have added since then (I use Sonarr to track everything) and any time I add a new episode, the metadata fails to load automatically and only works if I click “Refresh Metadata” manually in each series. I have also updated to Version 1.19.2.2737 this morning with no change.

Update #3 4/29/2020

Reset modem and router to defaults and set everything back up. Refreshed metadata on all TV shows and movies and scanned for new TV Shows only with the same result. Attached are the logs after I tried to add 2 episodes to a single series. Plex Media Scanner.log (5.1 MB) Plex Media Server.log (4.3 MB)

Please let me know if anything else is needed. Thank you.

FYI, I worked through the logs and I think I found what the problem was. I was receiving the “Address already in use” error that was identified here: Random "Failed to connect to 127.0.0.1 port 32400: Address already in use" errors during scan. That led met to finding this article here: Plex Library Scans Initiate Hundreds of TCP_WAIT Sessions using up all available ports?. I didn’t understand how to apply the port changes but my logic was, if I can’t double the size of the ports, just split up my large TV library and that has worked well for the last 2 weeks, as I can space the scans of my TV libraries apart.

Can anyone provide some steps/screenshots on how to add more “ephemeral ports” as that seems to have worked for others. I would much rather have 1 library and I’ll happily re-import everything.

Thank you.

Run this command on the command line to show the current setting for the max number of ports:

netsh int ipv4 show dynamicport tcp

This is the exact command I used to increase the number of ports to the max possible:

netsh int ipv4 set dynamicport tcp start=1025 num=64511

I also decreased the TcpTimedWaitDelay registry setting to 30 seconds. Please see this link for more information on both settings:

https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance

With these changes there should be no reason to split up your library no matter how many directories it has.

1 Like

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