diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-08-28 20:13:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-28 20:13:58 +0200 |
| commit | 503ab56a59bcd55be6f5ad4415fdda97dc607e0a (patch) | |
| tree | d30d48e4a515f14f6223ae072218da3c8927a119 | |
| parent | efaa6681582de6a2ed8d19f40c015294db3d8993 (diff) | |
| parent | b711ece82983dcefa40b5d3486b11250023a2b09 (diff) | |
Merge pull request #1678 from marius-luca-87/dlna_seek_exception_fix
Fix ArgumentOutOfRangeException in ParseTimeSeekHeader
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 496c2032a..17aa6b23a 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -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) |
