aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-02 22:36:15 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-02 22:36:15 -0400
commit439e7efecb7f3612493dea864ccfb46c180ae528 (patch)
treec24cc0f7dd27e1347d8252cd3f2e12f50fd965ce
parente9de3278bef9e05d8791ed01432696495c87781d (diff)
remove extra trims
-rw-r--r--MediaBrowser.Api/Playback/MediaInfoService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs
index 24c9d637a..08c5d56db 100644
--- a/MediaBrowser.Api/Playback/MediaInfoService.cs
+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs
@@ -302,7 +302,7 @@ namespace MediaBrowser.Api.Playback
if (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.Playback
if (profile.DeliveryMethod == SubtitleDeliveryMethod.External)
{
- stream.DeliveryUrl = profile.Url.TrimStart('-').TrimStart('-');
+ stream.DeliveryUrl = profile.Url.TrimStart('-');
stream.IsExternalUrl = profile.IsExternalUrl;
}
}