mirror of https://github.com/Sonarr/Sonarr
Fixed: Parsing .ts files for runtime should work now
This commit is contained in:
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…
Reference in New Issue