mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
revert origin change
This commit is contained in:
parent
4ba4072e63
commit
b94dc9d31a
@ -51,8 +51,6 @@ namespace MediaBrowser.Model.Dto
|
|||||||
public string TranscodingUrl { get; set; }
|
public string TranscodingUrl { get; set; }
|
||||||
public string TranscodingSubProtocol { get; set; }
|
public string TranscodingSubProtocol { get; set; }
|
||||||
public string TranscodingContainer { get; set; }
|
public string TranscodingContainer { get; set; }
|
||||||
|
|
||||||
public bool EnableHttpCredentials { get; set; }
|
|
||||||
|
|
||||||
public MediaSourceInfo()
|
public MediaSourceInfo()
|
||||||
{
|
{
|
||||||
@ -63,7 +61,6 @@ namespace MediaBrowser.Model.Dto
|
|||||||
SupportsTranscoding = true;
|
SupportsTranscoding = true;
|
||||||
SupportsDirectStream = true;
|
SupportsDirectStream = true;
|
||||||
SupportsDirectPlay = true;
|
SupportsDirectPlay = true;
|
||||||
EnableHttpCredentials = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int? DefaultAudioStreamIndex { get; set; }
|
public int? DefaultAudioStreamIndex { get; set; }
|
||||||
|
@ -138,11 +138,6 @@ namespace MediaBrowser.Server.Implementations.Sync
|
|||||||
mediaSource.Protocol = dynamicInfo.Protocol;
|
mediaSource.Protocol = dynamicInfo.Protocol;
|
||||||
mediaSource.RequiredHttpHeaders = dynamicInfo.RequiredHttpHeaders;
|
mediaSource.RequiredHttpHeaders = dynamicInfo.RequiredHttpHeaders;
|
||||||
|
|
||||||
if (mediaSource.Protocol == MediaProtocol.Http)
|
|
||||||
{
|
|
||||||
mediaSource.EnableHttpCredentials = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return mediaSource;
|
return mediaSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user