1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-05 15:47:20 +02:00

Fixed: Another runtime parsing issue for .ts files

This commit is contained in:
Mark McDowall 2013-11-22 23:45:22 -08:00
parent 41e02208d7
commit 061da0573a

View File

@ -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);