plex-credits-detect icon indicating copy to clipboard operation
plex-credits-detect copied to clipboard

End of file error and No such file or directory error

Open tylerreed19 opened this issue 3 years ago • 0 comments

I'm getting the same errors on the same episodes, each time i open the program it autoscans this same shows season every time and throws these errors everytime. This show has been in my Plex server since like day 1, and I have not edited this Show/Season since when I first added it. I can verify the files are in the folders, and can play in Plex. And not understanding what the End of file error is. I've gotten it for other videos as well now. Here is output

DetectSingleEpisode Exception: System.AggregateException: One or more errors occurred. (End of file)
 ---> System.ApplicationException: End of file
   at SoundFingerprinting.Emy.FFmpeg.Common.ErrorExtensions.ThrowExceptionIfError(Int32 error)
   at SoundFingerprinting.Emy.FFmpeg.Demuxer.OpenInputFile(String file)
   at SoundFingerprinting.Emy.FFmpeg.Demuxer..ctor(String file, MediaType mediaType, CancellationToken cancellationToken)
   at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService.ReadAVTrack(String source, MediaType mediaType, Double seconds, Int32 count, AVTrackReadConfiguration avTrackReadConfiguration, CancellationToken cancellationToken)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService.ReadTrack(String file, MediaType mediaType, Double seconds, AVTrackReadConfiguration configuration)
   at SoundFingerprinting.Emy.FFmpegAudioService.ReadAVTrackFromFile(String pathToFile, AVTrackReadConfiguration configuration, Double seconds, Double startsAt, MediaType mediaType)
   at SoundFingerprinting.Emy.FFmpegAudioService.GetAudioTrack(String path, Int32 sampleRate, Double seconds)
   at SoundFingerprinting.Emy.FFmpegAudioService.ReadMonoSamplesFromFile(String path, Int32 sampleRate, Double seconds, Double startAt)
   at SoundFingerprinting.Command.FingerprintCommand.<>c__DisplayClass13_0.<From>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at SoundFingerprinting.Command.QueryCommand.Query(DateTime relativeTo)
   at SoundFingerprinting.Command.QueryCommand.Query()
   --- End of inner exception stack trace ---
   at plexCreditsDetect.Scanner.DoSingleQuery(Settings settings, Boolean isCredits, Episode ep, MediaType avtype, Segments audioSegments, Segments videoSegments)
   at plexCreditsDetect.Scanner.DetectSingleEpisode(Episode ep, Settings settings) in C:\Documents\projects\plex-credits-detect\plex-credits-detect\Scanner.cs:line 441

Detecting: /The Simpsons (1987)/Season 2/The Simpsons - S02E02 - Simpson and Delilah.mkv
DetectSingleEpisode Exception: System.AggregateException: One or more errors occurred. (No such file or directory)
 ---> System.ApplicationException: No such file or directory
   at SoundFingerprinting.Emy.FFmpeg.Common.ErrorExtensions.ThrowExceptionIfError(Int32 error)
   at SoundFingerprinting.Emy.FFmpeg.Demuxer.OpenInputFile(String file)
   at SoundFingerprinting.Emy.FFmpeg.Demuxer..ctor(String file, MediaType mediaType, CancellationToken cancellationToken)
   at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService.ReadAVTrack(String source, MediaType mediaType, Double seconds, Int32 count, AVTrackReadConfiguration avTrackReadConfiguration, CancellationToken cancellationToken)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService.ReadTrack(String file, MediaType mediaType, Double seconds, AVTrackReadConfiguration configuration)
   at SoundFingerprinting.Emy.FFmpegAudioService.ReadAVTrackFromFile(String pathToFile, AVTrackReadConfiguration configuration, Double seconds, Double startsAt, MediaType mediaType)
   at SoundFingerprinting.Emy.FFmpegAudioService.GetAudioTrack(String path, Int32 sampleRate, Double seconds)
   at SoundFingerprinting.Emy.FFmpegAudioService.ReadMonoSamplesFromFile(String path, Int32 sampleRate, Double seconds, Double startAt)
   at SoundFingerprinting.Command.FingerprintCommand.<>c__DisplayClass13_0.<From>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at SoundFingerprinting.Command.QueryCommand.Query(DateTime relativeTo)
   at SoundFingerprinting.Command.QueryCommand.Query()
   --- End of inner exception stack trace ---
   at plexCreditsDetect.Scanner.DoSingleQuery(Settings settings, Boolean isCredits, Episode ep, MediaType avtype, Segments audioSegments, Segments videoSegments)
   at plexCreditsDetect.Scanner.DetectSingleEpisode(Episode ep, Settings settings) in C:\Documents\projects\plex-credits-detect\plex-credits-detect\Scanner.cs:line 441```

tylerreed19 avatar Nov 11 '22 20:11 tylerreed19