I have created a scanner for personal media files. The scanner handles episode-based personal media the same way as the built-in Plex series scanner. Date-based personal media is scanned and in given a unique episode number instead of using the date-based approach of the built-in Plex series scanner. When I execute the scanner I am seeing the following unexplained behaviors.
Plex will sometimes fail to find the show and re-add it into Plex. This results in duplicate shows in the UI.
Plex will sometimes fail to correctly use the episode title provided in the Media.Episode() contructor
In all cases above, removing the files that caused the issue and then re-adding them results in the files correctly showing up Plex. I have debugged my plug-in and it is always providing the correct show name and episode title. If helpful I can provide logs for the error scenarios above.
I also found last night that I was running into the duplicate shows in the UI with my scanner. Though it pulled in the right show name, season, and episode number from the file, it didnt match the show apparently and the metadata agent wasn't pulling down ainthing. I also saw that it did not have the episode title displayed despite the scanner having provided it, though it did have the date the scanner provided for these episodes. This resulted in a half dozen or so shows with two entries. I fixed it by matching the second entry using the web interface and clicking fix incorrect match, it appeared they had not been matched at all, I didnt have to remove an existing match first. It found only that show and after which all the episodes showed up together propertly. It only occured on a couple of the shows I recently moved on to the my new NAS, most of them matched properly. At the same time I have a large number of partialy downloaded images. I'm wondering if thetvdb.com proxy was down so the agent wasn't able to do the matching and just failed silently? Have you seen anything in the logs? There is so much in the logs I'm having a hard time finding anything useful.