mirror of
https://github.com/Radarr/Radarr
synced 2025-02-27 16:42:46 +00:00
MediaInfo should use ParseSpeed > 0.2 for .ts files to get accurate readings.
Fixes #742
This commit is contained in:
parent
211863d55d
commit
1a402a9cf4
1 changed files with 8 additions and 1 deletions
|
@ -39,7 +39,14 @@ public MediaInfoModel GetMediaInfo(string filename)
|
||||||
mediaInfo = new MediaInfo();
|
mediaInfo = new MediaInfo();
|
||||||
_logger.Debug("Getting media info from {0}", filename);
|
_logger.Debug("Getting media info from {0}", filename);
|
||||||
|
|
||||||
|
if (filename.ToLower().EndsWith(".ts"))
|
||||||
|
{
|
||||||
|
mediaInfo.Option("ParseSpeed", "0.3");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
mediaInfo.Option("ParseSpeed", "0.0");
|
mediaInfo.Option("ParseSpeed", "0.0");
|
||||||
|
}
|
||||||
|
|
||||||
int open;
|
int open;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue