mirror of
https://github.com/Radarr/Radarr
synced 2024-12-22 16:02:43 +00:00
Fixed: Another runtime parsing issue for .ts files
This commit is contained in:
parent
41e02208d7
commit
061da0573a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue