From 061da0573a6e678e8f24370ced6566685aa49856 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 22 Nov 2013 23:45:22 -0800 Subject: [PATCH] Fixed: Another runtime parsing issue for .ts files --- src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs index ce8170a95..2ad10fa14 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs @@ -123,7 +123,7 @@ public TimeSpan GetRunTime(string filename) if (open != 0) { int runTime; - Int32.TryParse(mediaInfo.Get(StreamKind.General, 0, "PlayTime"), out runTime); + Int32.TryParse(mediaInfo.Get(StreamKind.Video, 0, "PlayTime"), out runTime); mediaInfo.Close(); return TimeSpan.FromMilliseconds(runTime);