Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed Mar 17, 2020
1 parent 08505f7 commit 5038344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MediaManager/Platforms/Apple/AppleMediaManagerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public override TimeSpan Duration
{
return TimeSpan.Zero;
}
if (Player.CurrentItem.Duration.IsIndefinite)
return TimeSpan.Zero;
if (double.IsNaN(Player.CurrentItem.Duration.Seconds))
{
return TimeSpan.Zero;
Expand Down

0 comments on commit 5038344

Please sign in to comment.