mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Fixed: Another runtime parsing issue for .ts files
This commit is contained in:
@@ -123,7 +123,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||||||
if (open != 0)
|
if (open != 0)
|
||||||
{
|
{
|
||||||
int runTime;
|
int runTime;
|
||||||
Int32.TryParse(mediaInfo.Get(StreamKind.General, 0, "PlayTime"), out runTime);
|
Int32.TryParse(mediaInfo.Get(StreamKind.Video, 0, "PlayTime"), out runTime);
|
||||||
|
|
||||||
mediaInfo.Close();
|
mediaInfo.Close();
|
||||||
return TimeSpan.FromMilliseconds(runTime);
|
return TimeSpan.FromMilliseconds(runTime);
|
||||||
|
|||||||
Reference in New Issue
Block a user