Merge pull request #1678 from marius-luca-87/dlna_seek_exception_fix

Fix ArgumentOutOfRangeException in ParseTimeSeekHeader
This commit is contained in:
Bond-009 2019-08-28 20:13:58 +02:00 committed by GitHub
commit 503ab56a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -634,7 +634,7 @@ namespace MediaBrowser.Api.Playback
}
else
{
value = value.Substring(Npt.Length, index);
value = value.Substring(Npt.Length, index - Npt.Length);
}
if (value.IndexOf(':') == -1)