The Free Software Media System - Server Backend & API
remove extra trims
Luke Pulverenti439e7efecb7f
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.csindex 24c9d637ad..08c5d56db2 100644--- a/MediaBrowser.Api/Playback/MediaInfoService.cs+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs@@ -302,7 +302,7 @@ namespace MediaBrowser.Api.Playbackif (streamInfo != null && streamInfo.PlayMethod == PlayMethod.Transcode){streamInfo.StartPositionTicks = startTimeTicks;- mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-').TrimStart('-');+ mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');mediaSource.TranscodingContainer = streamInfo.Container;mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;}@@ -324,7 +324,7 @@ namespace MediaBrowser.Api.Playbackif (profile.DeliveryMethod == SubtitleDeliveryMethod.External){- stream.DeliveryUrl = profile.Url.TrimStart('-').TrimStart('-');+ stream.DeliveryUrl = profile.Url.TrimStart('-');stream.IsExternalUrl = profile.IsExternalUrl;}}