Merge pull request #19 from Artiume/Artiume-livetv-1

Update MediaInfoService.cs
This commit is contained in:
artiume 2020-02-19 06:26:06 -05:00 committed by GitHub
commit 8f5ffba29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,8 +513,8 @@ namespace MediaBrowser.Api.Playback
? streamBuilder.BuildAudioItem(options)
: streamBuilder.BuildVideoItem(options);
if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
{
if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
{
if (streamInfo != null)
{
streamInfo.PlaySessionId = playSessionId;
@ -531,9 +531,9 @@ namespace MediaBrowser.Api.Playback
// Do this after the above so that StartPositionTicks is set
SetDeviceSpecificSubtitleInfo(streamInfo, mediaSource, auth.Token);
}
}
}
else
{
{
if (streamInfo != null)
{
streamInfo.PlaySessionId = playSessionId;