aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs2
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)