mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
MediaInfo should use ParseSpeed > 0.2 for .ts files to get accurate readings.
Fixes #742
This commit is contained in:
@@ -39,7 +39,14 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
||||
mediaInfo = new MediaInfo();
|
||||
_logger.Debug("Getting media info from {0}", filename);
|
||||
|
||||
mediaInfo.Option("ParseSpeed", "0.0");
|
||||
if (filename.ToLower().EndsWith(".ts"))
|
||||
{
|
||||
mediaInfo.Option("ParseSpeed", "0.3");
|
||||
}
|
||||
else
|
||||
{
|
||||
mediaInfo.Option("ParseSpeed", "0.0");
|
||||
}
|
||||
|
||||
int open;
|
||||
|
||||
|
Reference in New Issue
Block a user