mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
Add user cinema mode setting
This commit is contained in:
@@ -91,7 +91,7 @@ namespace MediaBrowser.Common.Net
|
||||
public bool LogErrorResponseBody { get; set; }
|
||||
public bool EnableKeepAlive { get; set; }
|
||||
|
||||
public bool EnableUnconditionalCache { get; set; }
|
||||
public CacheMode CacheMode { get; set; }
|
||||
public TimeSpan CacheLength { get; set; }
|
||||
|
||||
private string GetHeaderValue(string name)
|
||||
@@ -125,4 +125,10 @@ namespace MediaBrowser.Common.Net
|
||||
RequestContentType = "application/x-www-form-urlencoded";
|
||||
}
|
||||
}
|
||||
|
||||
public enum CacheMode
|
||||
{
|
||||
None = 1,
|
||||
Unconditional = 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user