mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
update cinema mode on/off setting
This commit is contained in:
parent
252dde1722
commit
b28be7e986
@ -42,6 +42,11 @@ namespace MediaBrowser.Model.ApiClient
|
||||
existing.DateLastAccessed = server.DateLastAccessed;
|
||||
}
|
||||
|
||||
if (server.DateLastLocalConnection > existing.DateLastLocalConnection)
|
||||
{
|
||||
existing.DateLastLocalConnection = server.DateLastLocalConnection;
|
||||
}
|
||||
|
||||
existing.UserLinkType = server.UserLinkType;
|
||||
|
||||
if (!string.IsNullOrEmpty(server.AccessToken))
|
||||
|
@ -19,6 +19,7 @@ namespace MediaBrowser.Model.ApiClient
|
||||
public String AccessToken { get; set; }
|
||||
public List<WakeOnLanInfo> WakeOnLanInfos { get; set; }
|
||||
public DateTime DateLastAccessed { get; set; }
|
||||
public DateTime DateLastLocalConnection { get; set; }
|
||||
public String ExchangeToken { get; set; }
|
||||
public UserLinkType? UserLinkType { get; set; }
|
||||
public ConnectionMode? LastConnectionMode { get; set; }
|
||||
|
@ -554,6 +554,12 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The type of the collection.</value>
|
||||
public string CollectionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the original collection.
|
||||
/// </summary>
|
||||
/// <value>The type of the original collection.</value>
|
||||
public string OriginalCollectionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display order.
|
||||
/// </summary>
|
||||
|
@ -356,6 +356,8 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
var collectionFolder = item as ICollectionFolder;
|
||||
if (collectionFolder != null)
|
||||
{
|
||||
dto.OriginalCollectionType = collectionFolder.CollectionType;
|
||||
|
||||
dto.CollectionType = user == null ?
|
||||
collectionFolder.CollectionType :
|
||||
collectionFolder.GetViewType(user);
|
||||
|
Loading…
Reference in New Issue
Block a user