diff options
| -rw-r--r-- | Jellyfin.Data/Enums/PermissionKind.cs | 42 | ||||
| -rw-r--r-- | Jellyfin.Data/Enums/PreferenceKind.cs | 24 | ||||
| -rw-r--r-- | Jellyfin.Data/Enums/Weekday.cs | 14 |
3 files changed, 40 insertions, 40 deletions
diff --git a/Jellyfin.Data/Enums/PermissionKind.cs b/Jellyfin.Data/Enums/PermissionKind.cs index 8b1472f97..7d5200874 100644 --- a/Jellyfin.Data/Enums/PermissionKind.cs +++ b/Jellyfin.Data/Enums/PermissionKind.cs @@ -8,106 +8,106 @@ namespace Jellyfin.Data.Enums /// <summary> /// Whether the user is an administrator. /// </summary> - IsAdministrator, + IsAdministrator = 0, /// <summary> /// Whether the user is hidden. /// </summary> - IsHidden, + IsHidden = 1, /// <summary> /// Whether the user is disabled. /// </summary> - IsDisabled, + IsDisabled = 2, /// <summary> /// Whether the user can control shared devices. /// </summary> - EnableSharedDeviceControl, + EnableSharedDeviceControl = 3, /// <summary> /// Whether the user can access the server remotely. /// </summary> - EnableRemoteAccess, + EnableRemoteAccess = 4, /// <summary> /// Whether the user can manage live tv. /// </summary> - EnableLiveTvManagement, + EnableLiveTvManagement = 5, /// <summary> /// Whether the user can access live tv. /// </summary> - EnableLiveTvAccess, + EnableLiveTvAccess = 6, /// <summary> /// Whether the user can play media. /// </summary> - EnableMediaPlayback, + EnableMediaPlayback = 7, /// <summary> /// Whether the server should transcode audio for the user if requested. /// </summary> - EnableAudioPlaybackTranscoding, + EnableAudioPlaybackTranscoding = 8, /// <summary> /// Whether the server should transcode video for the user if requested. /// </summary> - EnableVideoPlaybackTranscoding, + EnableVideoPlaybackTranscoding = 9, /// <summary> /// Whether the user can delete content. /// </summary> - EnableContentDeletion, + EnableContentDeletion = 10, /// <summary> /// Whether the user can download content. /// </summary> - EnableContentDownloading, + EnableContentDownloading = 11, /// <summary> /// Whether to enable sync transcoding for the user. /// </summary> - EnableSyncTranscoding, + EnableSyncTranscoding = 12, /// <summary> /// Whether the user can do media conversion. /// </summary> - EnableMediaConversion, + EnableMediaConversion = 13, /// <summary> /// Whether the user has access to all devices. /// </summary> - EnableAllDevices, + EnableAllDevices = 14, /// <summary> /// Whether the user has access to all channels. /// </summary> - EnableAllChannels, + EnableAllChannels = 15, /// <summary> /// Whether the user has access to all folders. /// </summary> - EnableAllFolders, + EnableAllFolders = 16, /// <summary> /// Whether to enable public sharing for the user. /// </summary> - EnablePublicSharing, + EnablePublicSharing = 17, /// <summary> /// Whether the user can remotely control other users. /// </summary> - EnableRemoteControlOfOtherUsers, + EnableRemoteControlOfOtherUsers = 18, /// <summary> /// Whether the user is permitted to do playback remuxing. /// </summary> - EnablePlaybackRemuxing, + EnablePlaybackRemuxing = 19, /// <summary> /// Whether the server should force transcoding on remote connections for the user. /// </summary> - ForceRemoteSourceTranscoding + ForceRemoteSourceTranscoding = 20 } } diff --git a/Jellyfin.Data/Enums/PreferenceKind.cs b/Jellyfin.Data/Enums/PreferenceKind.cs index e0e9cfe04..de8eecc73 100644 --- a/Jellyfin.Data/Enums/PreferenceKind.cs +++ b/Jellyfin.Data/Enums/PreferenceKind.cs @@ -8,61 +8,61 @@ namespace Jellyfin.Data.Enums /// <summary> /// A list of blocked tags. /// </summary> - BlockedTags, + BlockedTags = 0, /// <summary> /// A list of blocked channels. /// </summary> - BlockedChannels, + BlockedChannels = 1, /// <summary> /// A list of blocked media folders. /// </summary> - BlockedMediaFolders, + BlockedMediaFolders = 2, /// <summary> /// A list of enabled devices. /// </summary> - EnabledDevices, + EnabledDevices = 3, /// <summary> /// A list of enabled channels /// </summary> - EnabledChannels, + EnabledChannels = 4, /// <summary> /// A list of enabled folders. /// </summary> - EnabledFolders, + EnabledFolders = 5, /// <summary> /// A list of folders to allow content deletion from. /// </summary> - EnableContentDeletionFromFolders, + EnableContentDeletionFromFolders = 6, /// <summary> /// A list of latest items to exclude. /// </summary> - LatestItemExcludes, + LatestItemExcludes = 7, /// <summary> /// A list of media to exclude. /// </summary> - MyMediaExcludes, + MyMediaExcludes = 8, /// <summary> /// A list of grouped folders. /// </summary> - GroupedFolders, + GroupedFolders = 9, /// <summary> /// A list of unrated items to block. /// </summary> - BlockUnratedItems, + BlockUnratedItems = 10, /// <summary> /// A list of ordered views. /// </summary> - OrderedViews + OrderedViews = 11 } } diff --git a/Jellyfin.Data/Enums/Weekday.cs b/Jellyfin.Data/Enums/Weekday.cs index b80a03a33..b799fd811 100644 --- a/Jellyfin.Data/Enums/Weekday.cs +++ b/Jellyfin.Data/Enums/Weekday.cs @@ -2,12 +2,12 @@ namespace Jellyfin.Data.Enums { public enum Weekday { - Sunday, - Monday, - Tuesday, - Wednesday, - Thursday, - Friday, - Saturday + Sunday = 0, + Monday = 1, + Tuesday = 2, + Wednesday = 3, + Thursday = 4, + Friday = 5, + Saturday = 6 } } |
