Regression: Post-processing (MCEBuddy) Removes Metadata

Server Version#: Version 1.42.2.10156
Player Version#: NA

I am experiencing a new regression that I have not experienced in previous versions of Plex Media Server.

After each football game, I use MCEBuddy Custom Cuts to go through and remove any commercials that Plex missed on the first pass. It then processes and updates the .mkv file in place with the new version.

In previous versions of Plex Media Server, this all worked perfectly and the metadata for the show stayed intact.

Now, with the latest versions (it’s been happening for over a month now), the show is removed and we are losing metadata altogether.

Is there a new setting/consideration we must apply to ensure that when the file is replaced, the associated metadata stays intact? Again, this has not happened for many years now and has only started happening recently.

Thank you for any assistance you can provide.

Automatic library scans in combination with automatically emptying trash after scans?

1 Like

Thank you for that suggestion @tom80H … maybe automatic scans were introduced somehow. I have always done them after edits/updates. Is there a way to only scan every hour or so?

Yes, you can enable periodic scans in Settings > [Server Name] > Library

1 Like

Awesome… found it, thank you. :+1::folded_hands: We will have to wait until the Lions return from their bye week next before I can try it out again. I will update here once I have another try at it.

Bummer @tom80H it looks like as long as the scan doesn’t happen everything is good. But as soon as the scan occurs the file metadata gets wiped out. :frowning: This used to not happen so it would be valuable to track down to figure out how to preserve data with the file intact. I can confirm the filename is the same.

My personal recommendation:
No library scans at all should occur in a library which is used solely for DVR content.
And you should indeed create separate libraries for anything you record off air. Maybe even change the agent of these libraries to personal media.

Only after you have verified that the recorded media can in fact be matched with a Plex agent, and that they conform to Plex’s naming scheme (and in the case of series, to one of the supported episode orderings) you can and should move them into a regular library.

Hi @OttoKerner thank you for your reply.

No library scans at all should occur in a library which is used solely for DVR content.

So how do I make sure this happens (or doesn’t happen in this case)? The setting as I understand it above is applied to all libraries not to any particular one, as I understand it.

And you should create separate libraries for anything you record off air.

This is the case for this particular library.

Only after you have verified that the recorded media can in fact be matched with a Plex agent, and that they conform to Plex’s naming scheme (and in the case of series, to one of the supported episode orderings) you can and should move them into a regular library

The name does not change so therefore it’s abiding by how Plex originally created it. Again, this is something that has popped up recently it’s been working perfectly in the past without any issue. Thank you for your continued assistance and guidance.

For reference these are the current settings for scan/agent. I am open to suggestions on what should be used.

image

That won’t help if it appeared in the EPG with an episode numbering that is different from what’s available in TMDB and TVDB.
Or if it is not match-able with one of the Plex agents at all. (sports, etc.)
Even though Plex recorded it off-air, that doesn’t mean that it can be successfully and correctly matched by Plex’s agents. All the metadata of DVR recordings come from the EPG, which is not generally synchronized with Plex’s metadata agents.

Unfortunately, the only way is to disable automatic and periodic library scans in general and go fully manual.
Though if you use external apps for curating other media, these apps might be able to trigger a scan of a particular Plex library, after they have added files to that library. Some of the *arr apps definitely can do that.

Wow so dropping Agent to Plex Series revealed a ton of new settings that were not there before. Looks like somehow this setting got changed to Personal Media Shows which was the problem? We’ll see how this fares going forward.

Doh… alright, I will consider this as the next step if the agent change doesn’t work. :+1:

Yeah I have not changed MCEBuddy in quite some time and it has been working really great during that time. I am hoping it’s this agent change that was the issue and we’ll see how it goes. :crossed_fingers:

This is the exact opposite of what I am recommending. Don’t use a Plex metadata agent with a DVR library. It might work with some items/series, but will miserably fail with others.

Don’t use a Plex metadata agent with a DVR library

I do not see an option to not use one? What am I missing here, please?

Sorry, I meant “Personal Media” (which means no external metadata is fetched)

Are you saying that I should set it to Plex Personal Media then? It was set to Personal Media Shows before and it led to this problem.

Even if set to Personal Media, Library scans should not get triggered at all.

If you need Plex to get notified about a changed video length, or different number of audio streams etc., use “Analyze” only.

Even if set to Personal Media, Library scans should not get triggered at all.

To be sure here, it was set to Personal Media Shows (and had the reported problems), but now it’s set to Plex Series which is the same setting as other libraries we use. I am hoping this addresses the issue.

If you select Plex Series as an agent, we are
back to Regression: Post-processing (MCEBuddy) Removes Metadata - #12 by OttoKerner

Or did you mean you have selected Plex TV Series as a Scanner?

Haha @OttoKerner ok… so it WAS this (and was breaking badly):

But it is NOW this (to try out and is the same settings as other libraries):

Make sense? :slight_smile:

It means upon library scans or attempts at Match/Fix Match, that Plex will potentially overwrite those precious metadata from the EPG.
Nice, if it happens to get the correct title and episode ordering, but catastrophic if not.

Keep the scanner at “Plex TV Series”, but select “Plex Personal Media” as agent, is my recommendation.

1 Like