"Duplicate" TV Shows

Hi,

I have a bit of an issue with the TV Show display in v1.4.2.3400 of the server. I recorded one show, and the display (and directory listing) are below - all are just fine. Note, in all cases below these files are inside TV Shows/PGA Tour Golf (2003)/Season 2017 (as set up automatically, and correctly I believe, by Plex DVR),


total 2188052
drwxr-xr-x 2 plex plex 4096 Feb 26 12:26 ./
drwxr-xr-x 3 plex plex 4096 Feb 25 18:04 …/
-rw-rw-rw- 1 plex plex 2240552695 Feb 25 18:04 PGA Tour Golf (2003) - 2017-02-25 00 00 00 - Honda Classic Third Round.mp4

But then, a second file recorded, in the same directory - again, the display and directory listing below,

drwxr-xr-x 2 plex plex 4096 Feb 26 20:38 ./
drwxr-xr-x 3 plex plex 4096 Feb 25 18:04 …/
-rw-rw-rw- 1 plex plex 2240552695 Feb 25 18:04 PGA Tour Golf (2003) - 2017-02-25 00 00 00 - Honda Classic Third Round.mp4
-rw-rw-rw- 1 plex plex 2803036072 Feb 26 20:38 PGA Tour Golf (2003) - 2017-02-26 00 00 00 - Honda Classic Final Round.mp4

So rather than being captured inside the same show (as I think they should be), they are displayed as two different (and independent) shows. Thoughts? Is there a way to fix this?

Thanks!

Is this a DVR recording or how you loaded the files manually?

This is a DVR recording (just post processed to convert .ts to .mp4, but then PMS moved the files to the destination directory).

I’m going to relocate this thread to the DVR forum where they can help you better than here in the Linux forum.

Hi,

Is this really a DVR issue? The filenames look fine - no? Not sure why the server is displaying this incorrectly … :-(.

Thanks!

Why would they be the same show? They are different days of the same event therefore different episodes so to speak. One is from Saturday, third round. The other Sunday, final round. If you recorded PGA Tour Golf you will have at least 4 more episodes recorded over the next 2 weekends, WGC Mexico Championship and Valspar Championship, 3rd & 4th rounds. Only images I am seeing are folder contents, not seeing how it looks on server.

They are the same show because the are all “PGA Tour Golf (2003)”. The episodes are different, that’s why I find it odd they are showing up as different items. Different episodes - yep, expect that! Different TV Shows … nope … :-(.

Thanks!

The server images are now showing for me, don’t know why they weren’t showing last night, even tried different browsers all I saw was the placeholder for the images. Yes I agree they should be showing as one show with seasons/episodes under the show.

Hi,

FYI, still a few minor bugs with the DVR - and it created a file with “(copy 1)” at the end. This causes all sorts of grief … :-(. Now episode names are lost, and I get the following (with only 1 file in the directory!).

Thanks.

For me, files with “(copy 1)” at the end generally show up when a recording ends up not being detected as a correct video file, and Plex tries to record another broadcast of the same episode instead.

In my case this typically happens when Plex shuts down a recording prematurely instead of waiting for the HDHomeRun stream to end. That, in turn, seems to happen when Plex finishes processing the EPG while a show is in the “additional X minutes” phase – it gets confused and terminates the recording, and I sometimes have to use ffmpeg to copy the video/audio streams into a new file or Plex won’t recognize the result as a correct video file.

That makes some sense. When I see this happen the recording ends early - though both video files are valid.

The issue overall though is the library (display above) getting all messed up (with or without the copy 1 file).

Hi,

Still seeing this, even in the latest version of the server. Files in the same directory, showing up as individual shows. Any way to fix this?

Thanks!

Did you do a proper Update & Refresh of the library, followed by a DB optimization to clear out the quirks found?

You also might want to do a full ‘Plex dance’ now that they’ve worked in that area.

Yep, have tried Update and Refresh. What the heck is a ‘Plex dance’? … :slight_smile:

Thanks!

From another thread: https://forums.plex.tv/discussion/158487/plex-incorrectly-identifying-tv-episodes/p1

@OttoKerner said:
Perhaps you renamed the files to a conforming name schema only after they were already (incorrectly) matched.

If this is the case, you still need to perform the ‘Plex Dance™’ to erase their checksums from the plex database.

[optional: disable the SubZero plugin if installed]

  1. move all files for the show out of ‘sight’ of plex
  2. update library (not ‘force update’ not ‘Refresh all’)
  3. empty trash
  4. clean bundles
  5. double check naming schema and move files back
  6. update library

[optional: re-enable the SubZero plugin if installed]

in this order

I am having a similar issue with some music. Here is that thread: https://forums.plex.tv/discussion/263240/duplicate-songs-in-library#latest

Hi,

OK, I did the dance … it sort of worked, mostly didn’t … :frowning: Let me try to explain.

Did step 1 - and immediately the library updated (files gone). That’s good, but I still proceeded forward (with the dance). After the dance was all done, the files are inside a single TV show, but it has several issues - below.

  1. The show used to be correctly named (PGA Tour Golf). Now it’s “A Cook’s Tour of Spain” - incorrect match. Seems the DVR is setting the match / information somehow. now it’s gone unfortunately. I remove the incorrect match (Unmatch) … and the name is (sort of) right now, based on the filename, but the TV show picture is gone / missing (was there as above, but not any more - also set by the DVR?).
  2. The episode naming is no longer correct. Again, I think the DVR is adding / storing something … the names used to be right (as below)
    Arnold Palmer Invitational, Third Round
    Arnold Palmer Invitational, Second Round

But now, they are as follows,
2017-03-18
2017-03-17

So not good here either unfortunately.

The file names are as follows,
PGA Tour Golf (2003) - 2017-03-17 00 00 00 - Arnold Palmer Invitational Second Round.mp4
PGA Tour Golf (2003) - 2017-03-18 00 00 00 - Arnold Palmer Invitational Third Round.mp4

No, I didn’t name these - Plex did, so don’t poke me about the naming … LOL. Note, mp4 is only because I transcode, but the name is identical to what Plex had it set to … and it worked before, but it seems that something is still broken in Plex here - agreed?

Thanks!

What is the metadata IN those MP4 files?

It seems no matter what you do with naming… regardless of whether you dance them in our out, nothing happens.

IF there is a DVR bug, there’s a fairly easy way, albeit a bit a work involved, to determine.

Convert to MKV, stripping ANY tags or name or title fields from the file as it copies to the new MKV container.
See how PMS likes that in a name which is ‘date only’ (no time field)

Since you did the unmatch what happens if you now use the match option?

Hi,

To the questions above - unfortunately Match just goes back to what I showed above (“A Cook’s Tour of Spain”). On the metadata, checked with ffmpeg, here is what I get for the original (.ts) file, and my .mp4 file

  1. .ts
    ;FFMETADATA1
    encoder=Lavf57.66.101

  2. .mp4
    ;FFMETADATA1
    major_brand=isom
    minor_version=512
    compatible_brands=isomiso2mp41
    encoder=Lavf57.66.101

So nothing here related to titles, etc… agreed?

Thoughts?

Thanks!