Episode missing when it exists in two libraries

Server Version#: Version 1.22.1.4275
Player Version#: Web Client
Tuner Make/Model: HDHomeRun Connect Quatro
Guide/Lineup name: Yes
Using XMLTV?: I dont think so
Channel number/Name: NBC

This might not be the correct place for this. but I am noticing this issue with episodes that got recorded by the DVR so I guess I will start here.

I have My DVR set to record shows to its own Library in Plex. The name of this Library is TV Shows Recorded. This library has 1 source location. Drive letter M. I have another Plex Library called TV Shows. This library is where I put files that I have ripped from DVD. It has its own source location. Drive Letter K.

I have just noticed that if I record an Episode (and set Plex to place the episode in TV Shows Recorded library) Plex will remove the episode from the regular TV shows Library.

I have a season of a show. There are 10 episodes in the season. These all exist in TV Shows Library. If I have Plex record one of the shows using the DVR and place the recording in TV Shows Recorded, the show no longer shows up in TV Shows library. TV Shows Library will still list the season as having 10 episodes. But if I go into the season I dont see the episodes.

I have completely deleted the show from Plex TV Shows Recorded now. I have rescanned both libraries. The shows are still missing from Plex TV Shows library. They are actually sitting in the correct folder with all the other episodes. However, I cant see them in Plex TV Shows library. I can do a search for them using their episode names though. I get a result, and I can open it. But plex says it is in Plex TV Shows Recorded library, which is incorrect. The file plays, and the file info indicates it is in the folder location being monitored by the Plex TV Show libary.

So sort of a work around. I moved the show folder out of the location that TV Shows library is using. I did a library scan. I then put the show folder back into the library folder and did another library scan. It is back to normal now. Albeit, it looks like this entire show was just added.

It happened again. This is super annoying. Apparently I am going to have to create a whole other plex instance to keep plex from f@#king up my libraries.

Here is SQL that shows the issue (perhaps this helps?)

SELECT
parent_id,
count(library_section_id)
from (select DISTINCT library_section_id, parent_id from metadata_items where parent_id is not null)
group by parent_id
having count(library_section_id) > 1

basically what this is showing is that the database gets into a state where items with different library_section_id can have teh same parent_id. Which to my mind should not be possible.

Yes I’m seeing the same thing. I’m recording the new season to a different hard drive and sometimes the recording don’t play for some new recordings on the Android client. Unable to navigate is the error. But instead of taking me to the folder where the recordings are being saved it takes me to the TV show folders for the previous seasons that are on a different hard drive in a different library and it don’t show the current season.

The recording is there in the recordings show’s folder but the Android client thinks it was added to the TV shows library where the previous seasons are stored not the new recordings of the current season.

At the server you can click on the recorded show and it plays find, it’s no problem from my phone I can play it through Plex web by casting it to the same Android device that can’t play the file because it can’t find it.

I’m recording a few dozen new shows but I noticed only about three or four of the shows do this.
I fixed these a few times by moving the show out of the recordings folder doing a new scan and deleting missing files from the database and then moving the show back in and everything works good then next week it all starts up again for that show. It’s happened over and over. I’ve gave up on trying to correct it and just when the show won’t play I use my phone to cast it to the TV I’m trying to play it on with the Android client device.

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