Fixed: Another runtime parsing issue for .ts files

pull/40/head
Mark McDowall 11 years ago
parent 41e02208d7
commit 061da0573a

@ -123,7 +123,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
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);

Loading…
Cancel
Save