Trying to get the latest episode of Teen Mom 2 but am getting the following error.
An error has occurred while importing folder: C:\SABnzbd\complete\TV\Teen Mom 2 S05E01 Revelations HDTV x264-W4F: Sequence contains more than one matching element
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at NzbDrone.Core.Tv.SeriesRepository.FindByTitle(String cleanTitle) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Tv\SeriesRepository.cs:line 33
at NzbDrone.Core.Tv.SeriesService.FindByTitle(String title) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Tv\SeriesService.cs:line 100
at NzbDrone.Core.Parser.ParsingService.GetSeries(String title) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Parser\ParsingService.cs:line 79
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessSubFolder(DirectoryInfo subfolderInfo) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\MediaFiles\DownloadedEpisodesImportService.cs:line 101
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessDownloadedEpisodesFolder() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\MediaFiles\DownloadedEpisodesImportService.cs:line 72
Ahh yes, its because drone’s title cleaner removes special characters, spaces and numbers from the title when comparing, turning both Teen Mom and Teen Mom 2 into teenmom.
I guess maybe it’s not the same error, but related to the same show. This was the error before I upgrade and still the same result.
System.InvalidOperationException: Operation is not valid due to the current state of the object
at System.Linq.Enumerable.Single[Series] (IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.SingleOrDefault[Series] (IEnumerable`1 source) [0x00000] in :0
at NzbDrone.Core.Tv.SeriesRepository.FindByTitle (System.String cleanTitle) [0x00000] in :0
at NzbDrone.Core.Tv.SeriesService.FindByTitle (System.String title) [0x00000] in :0
at NzbDrone.Core.Parser.ParsingService.GetSeries (System.String title) [0x00000] in :0
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessVideoFile (System.String videoFile) [0x00000] in :0
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessDownloadedEpisodesFolder () [0x00000] in :0
@pbaf what series are you seeing this with? Do you have another series with a very similar title? Looks like the same error, but that was fixed some time ago, so its not the exact same.
It was Teen Mom and Teen Mom 2, however something happened last night at 1:30am PST. It all processed even though it had been failing for weeks. I did upgrade yesterday and it continued to fail every minute up until 1:30am, so I am not sure what changed, but the DiskScanService picked them all up!