Merge pull request #8325 from nielsvanvelzen/uuid-userconfiguration
This commit is contained in:
commit
871ae39c9f
|
@ -326,10 +326,10 @@ namespace Jellyfin.Server.Implementations.Users
|
||||||
EnableNextEpisodeAutoPlay = user.EnableNextEpisodeAutoPlay,
|
EnableNextEpisodeAutoPlay = user.EnableNextEpisodeAutoPlay,
|
||||||
RememberSubtitleSelections = user.RememberSubtitleSelections,
|
RememberSubtitleSelections = user.RememberSubtitleSelections,
|
||||||
SubtitleLanguagePreference = user.SubtitleLanguagePreference ?? string.Empty,
|
SubtitleLanguagePreference = user.SubtitleLanguagePreference ?? string.Empty,
|
||||||
OrderedViews = user.GetPreference(PreferenceKind.OrderedViews),
|
OrderedViews = user.GetPreferenceValues<Guid>(PreferenceKind.OrderedViews),
|
||||||
GroupedFolders = user.GetPreference(PreferenceKind.GroupedFolders),
|
GroupedFolders = user.GetPreferenceValues<Guid>(PreferenceKind.GroupedFolders),
|
||||||
MyMediaExcludes = user.GetPreference(PreferenceKind.MyMediaExcludes),
|
MyMediaExcludes = user.GetPreferenceValues<Guid>(PreferenceKind.MyMediaExcludes),
|
||||||
LatestItemsExcludes = user.GetPreference(PreferenceKind.LatestItemExcludes)
|
LatestItemsExcludes = user.GetPreferenceValues<Guid>(PreferenceKind.LatestItemExcludes)
|
||||||
},
|
},
|
||||||
Policy = new UserPolicy
|
Policy = new UserPolicy
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,10 +22,10 @@ namespace MediaBrowser.Model.Configuration
|
||||||
HidePlayedInLatest = true;
|
HidePlayedInLatest = true;
|
||||||
PlayDefaultAudioTrack = true;
|
PlayDefaultAudioTrack = true;
|
||||||
|
|
||||||
LatestItemsExcludes = Array.Empty<string>();
|
LatestItemsExcludes = Array.Empty<Guid>();
|
||||||
OrderedViews = Array.Empty<string>();
|
OrderedViews = Array.Empty<Guid>();
|
||||||
MyMediaExcludes = Array.Empty<string>();
|
MyMediaExcludes = Array.Empty<Guid>();
|
||||||
GroupedFolders = Array.Empty<string>();
|
GroupedFolders = Array.Empty<Guid>();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -48,7 +48,7 @@ namespace MediaBrowser.Model.Configuration
|
||||||
|
|
||||||
public bool DisplayMissingEpisodes { get; set; }
|
public bool DisplayMissingEpisodes { get; set; }
|
||||||
|
|
||||||
public string[] GroupedFolders { get; set; }
|
public Guid[] GroupedFolders { get; set; }
|
||||||
|
|
||||||
public SubtitlePlaybackMode SubtitleMode { get; set; }
|
public SubtitlePlaybackMode SubtitleMode { get; set; }
|
||||||
|
|
||||||
|
@ -56,11 +56,11 @@ namespace MediaBrowser.Model.Configuration
|
||||||
|
|
||||||
public bool EnableLocalPassword { get; set; }
|
public bool EnableLocalPassword { get; set; }
|
||||||
|
|
||||||
public string[] OrderedViews { get; set; }
|
public Guid[] OrderedViews { get; set; }
|
||||||
|
|
||||||
public string[] LatestItemsExcludes { get; set; }
|
public Guid[] LatestItemsExcludes { get; set; }
|
||||||
|
|
||||||
public string[] MyMediaExcludes { get; set; }
|
public Guid[] MyMediaExcludes { get; set; }
|
||||||
|
|
||||||
public bool HidePlayedInLatest { get; set; }
|
public bool HidePlayedInLatest { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user