Fixed: Parsing .ts files for runtime should work now

pull/38/merge
Mark McDowall 11 years ago
parent 5c2073b297
commit 94d50de6cb

@ -61,7 +61,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
aBitRate = aBitRate.Remove(ABindex);
Int32.TryParse(aBitRate, out audioBitRate);
Int32.TryParse(mediaInfo.Get(StreamKind.General, 0, "PlayTime"), out runTime);
Int32.TryParse(mediaInfo.Get(StreamKind.Video, 0, "PlayTime"), out runTime);
Int32.TryParse(mediaInfo.Get(StreamKind.Audio, 0, "StreamCount"), out streamCount);
string audioChannelsStr = mediaInfo.Get(StreamKind.Audio, 0, "Channel(s)");

Loading…
Cancel
Save