mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update MediaInfoService.cs
This commit is contained in:
parent
82911c8a20
commit
963b69c7b2
@ -405,6 +405,7 @@ namespace MediaBrowser.Api.Playback
|
|||||||
user.Policy.EnableAudioPlaybackTranscoding);
|
user.Policy.EnableAudioPlaybackTranscoding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Beginning of Playback Determination: Attempt DirectPlay first
|
||||||
if (mediaSource.SupportsDirectPlay)
|
if (mediaSource.SupportsDirectPlay)
|
||||||
{
|
{
|
||||||
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource && user.Policy.ForceRemoteSourceTranscoding)
|
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
@ -460,13 +461,13 @@ namespace MediaBrowser.Api.Playback
|
|||||||
|
|
||||||
if (mediaSource.SupportsDirectStream)
|
if (mediaSource.SupportsDirectStream)
|
||||||
{
|
{
|
||||||
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource && user.Policy.ForceRemoteSourceTranscoding)
|
if (mediaSource.IsRemote && forceDirectPlayRemoteMediaSource)// && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
{
|
{
|
||||||
mediaSource.SupportsDirectStream = false;
|
mediaSource.SupportsDirectStream = true; //false
|
||||||
}
|
// }
|
||||||
else if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
// else if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
||||||
{
|
// {
|
||||||
mediaSource.SupportsDirectStream = false;
|
// mediaSource.SupportsDirectStream = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user