Out of nowhere, Plex suddenly stopped downloading metadata for new episodes of shows.
So when I open a show listing, it says, Showname - S6 E9 – Episode 9. But no information beyond that. The picture looks like a preview from the video.
I’ve tried disabling all other agents (sub-zero, etc) except TheTVDB agent - to no avail. I’ve tried reboot PMS and rebooting my computer - to no avail. I’ve made no changes so I’m not sure what happened. And these are popular shows (not sure if show names are allowed here) that I’ve verified have the episode data on the tvdb correctly. I just updated to 1.4.4.3495 from the previous most stable version - also didn’t fix it. Tried the Plex Dance a few times - no go usually, but I’ve gotten it to work a couple of times.
@ChuckPA said:
May I have your log files please (Settings - Server - Help - Download Logs)?
Attach that zip file using the Document Attach feature above ^^
Sorry for the delay.
Oddly enough I see that some shows/episodes do seem to get metadata and others don’t.
Modern Family episode didn’t get metadata. Then Homeland episode didn’t get metadata then a bunch of Plex Dance got metadata for Homeland (just clicking refresh didn’t work, just dance once didn’t work). Then Top Gear didn’t get metadata. Then another Homeland episode didn’t get metadata. A bunch of Plex Dance got it for Homeland. Then an episode of New Girl did get metadata.
Just tried refreshing metadata for the previously mentioned Modern Family episode. Didn’t work.
So I just added an episode of Brooklyn 99. Didn’t get metadata until I clicked on it and then it did get metadata (maybe it was still downloading though and I was just impatient). Attaching logs from this time point.
While PMS reports no data, I verified there is data on TVDB.
2017-03-22 18:51:56,976 (2db4) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/5244/tree'
2017-03-22 18:51:56,982 (2db4) : INFO (logkit:16) - def update()
2017-03-22 18:51:56,983 (2db4) : DEBUG (networking:166) - Requesting 'https://tvdb2.plex.tv/login'
2017-03-22 18:51:57,523 (2db4) : DEBUG (networking:161) - Fetching 'https://tvdb2.plex.tv/series/95011?lang=en' from the HTTP cache
2017-03-22 18:51:57,569 (2db4) : DEBUG (networking:161) - Fetching 'https://tvdb2.plex.tv/series/95011/actors' from the HTTP cache
2017-03-22 18:51:57,589 (2db4) : DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2017-03-22 18:51:57,591 (2db4) : DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.thetvdb
2017-03-22 18:51:57,618 (2db4) : DEBUG (networking:161) - Fetching 'https://meta.plex.tv/tv_e/95011/modern+family/2009' from the HTTP cache
2017-03-22 18:51:57,640 (2db4) : INFO (logkit:16) - Skipping extra 452284 because type series_slider was not recognized.
2017-03-22 18:51:57,640 (2db4) : INFO (logkit:16) - modern family - Added 0 of 1 extras.
2017-03-22 18:51:57,657 (2db4) : DEBUG (networking:166) - Requesting 'https://tvdb2.plex.tv/series/95011/episodes?page=1'
2017-03-22 18:51:58,230 (2db4) : DEBUG (networking:166) - Requesting 'https://tvdb2.plex.tv/series/95011/episodes?page=2'
2017-03-22 18:51:58,770 (2db4) : INFO (logkit:16) - Show ordering is DVD: False
2017-03-22 18:51:58,770 (2db4) : INFO (logkit:16) - No media for season 3 episode 1 - skipping population of episode data
2017-03-22 18:51:58,770 (2db4) : INFO (logkit:16) - No media for season 1 episode 1 - skipping population of episode data
2017-03-22 18:51:58,772 (2db4) : INFO (logkit:16) - No media for season 2 episode 1 - skipping population of episode data
2017-03-22 18:51:58,772 (2db4) : INFO (logkit:16) - No media for season 0 episode 1 - skipping population of episode data```
My first thought is to clear the Agent caches. Point candid, how those work is magic to me (i'm not a web or python guy)
How about we start here? This my first choice.
https://support.plex.tv/hc/en-us/articles/202967376-Clearing-Plugin-Channel-Agent-HTTP-Caches
I removed all of the agents folders from the cache folder. Then tried updating the Modern Family episode. Unfortunately, it didn’t work.
Edit: Could it be that it uses tvdb2.plex.tv (per your log snippet)? Maybe when it works, it gets it directly from the TVDB? I don’t know how it works by any means, just spitballing here. But I tried to load https://tvdb2.plex.tv/series/95011/episodes?page=1 in the browser and got
"Error": "Not authorized"
}```
I assume that's expected and parameters for permissions are passed behind the scenes when Plex is in use, but thought I'd mention it just in case.
When they are in your log file, it’s a problem because PMS is adding your authentication information. In an external browser, you will get ‘not authorized’.
My concern is why is it in your PMS logs? This shouldn’t be.
@ChuckPA said:
I did. I saw errors in the log files. I had actually missed your references to seeing them at the browser even though you were perfectly clear
Is there any possibility of you setting up another PMS (VM or another physical machine) and copy the file into that machine and let it match.
In your config, please leave everything as default.
OK so I don’t have another machine right now to set up Plex on… so I sent the file to a friend with Plex on March 27. At that point, I tried updating that episode again, no help. He was busy throughout the week and just got around to adding it to his Plex, it downloaded metadata without issue. I went to check my episode, and mine had metadata too. I don’t know what happened but I guess it fixed itself.
All other episodes of miscellaneous shows that have been added in the interim have also gotten their metadata. No idea what changed here…
I can provide you my logs again or his, but I’m not sure what help they’ll be. They’ll probably just show normal downloading of metadata.
Brooklyn Nine-Nine Season 3 Episode 22, the metadata won’t download. All other episodes downloaded fine (20, 21, 23, etc). Metadata exists on the TVDB.
Tried refreshing episode twice and then saved logs.
Brooklyn Nine-Nine Season 3 Episode 22, the metadata won’t download. All other episodes downloaded fine (20, 21, 23, etc). Metadata exists on the TVDB.
Tried refreshing episode twice and then saved logs.
Please show me the XML for the file and also please check the file for embedded tags. If you get metadata for all but one file, 99.999% of the time, it’s the file itself.
From what I see in your logs:
[chuck@lizum user.106]$ grep -i s03e22 *
com.plexapp.agents.opensubtitles.log:2017-04-03 22:06:16,653 (1c40) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.720p.HDTV.x264-AVS.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.488372
com.plexapp.agents.opensubtitles.log:2017-04-03 22:06:16,654 (1c40) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.720p.HDTV.x264-AVS.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.488372
com.plexapp.agents.opensubtitles.log:2017-04-03 22:06:16,654 (1c40) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.1080p.WEB-DL.DD5.1.H.264-NTb.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.437500
com.plexapp.agents.opensubtitles.log:2017-04-03 22:09:06,301 (430c) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.720p.HDTV.x264-AVS.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.488372
com.plexapp.agents.opensubtitles.log:2017-04-03 22:09:06,301 (430c) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.720p.HDTV.x264-AVS.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.488372
com.plexapp.agents.opensubtitles.log:2017-04-03 22:09:06,302 (430c) : INFO (logkit:16) - Comparing "Brooklyn.Nine-Nine.S03E22.1080p.WEB-DL.DD5.1.H.264-NTb.srt" vs. "Brooklyn Nine-Nine - 3x22 - Bureau.mkv" and it had the ratio: 0.437500
[chuck@lizum user.107]$
The only reason this isn’t adding is because Plex already knows of it and it didn’t come in right before…
Can you pull it out, do the full dance, then put it back?
Yes, it did get subtitles (or I had them -not fully sure). But no other metadata (Title or synopsis, etc).
Plex shows the episode title as “Episode 22.” The actual .mkv file is named with the episode title.
I attached the XML that’s retrieved from Plex’s Media Info > View XML on the episode. I hope that’s what you meant.
As for embedded tags, I’m not sure what you mean - but if you mean opening the file in VLC and looking at Media Info there, then it’s all empty, except title shows the filename (without extension). If you mean clicking Edit in Plex, then all the fields in General and Tags are empty. The Poster seems like a screenshot.
Now for full Plex Dance: (Move out episode + srt, Update Library, Delete Trash, Clean Bundles, Move in episode + srt, Update Library). Sadly did not work.
Uploading logs again for good measure.
Yes, MKV’s do allow for Title, etc. If they are all blank (which 99.99% are) we’re good. PMS doesn’t read from them but I like clean just to be 10000% certain
I have to go back and dig through my past threads. I am highly suspicious of ‘episode 22’. something about that number rings in my mind.
I’m going to also go and create a dummy mkv to test with and see if I can recreate your issue. If I can, I can use that to get more help.
My local media assets is on top. I do this because if I want to override any images, this is what makes it possible. Since I don’t have any images, it has no effect here.
My Library settings for where to get Metadata from