mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Manually specify enum values
This commit is contained in:
parent
64c14beb27
commit
623dcde65c
@ -8,106 +8,106 @@ namespace Jellyfin.Data.Enums
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user is an administrator.
|
/// Whether the user is an administrator.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
IsAdministrator,
|
IsAdministrator = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user is hidden.
|
/// Whether the user is hidden.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
IsHidden,
|
IsHidden = 1,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user is disabled.
|
/// Whether the user is disabled.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
IsDisabled,
|
IsDisabled = 2,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can control shared devices.
|
/// Whether the user can control shared devices.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableSharedDeviceControl,
|
EnableSharedDeviceControl = 3,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can access the server remotely.
|
/// Whether the user can access the server remotely.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableRemoteAccess,
|
EnableRemoteAccess = 4,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can manage live tv.
|
/// Whether the user can manage live tv.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableLiveTvManagement,
|
EnableLiveTvManagement = 5,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can access live tv.
|
/// Whether the user can access live tv.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableLiveTvAccess,
|
EnableLiveTvAccess = 6,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can play media.
|
/// Whether the user can play media.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableMediaPlayback,
|
EnableMediaPlayback = 7,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the server should transcode audio for the user if requested.
|
/// Whether the server should transcode audio for the user if requested.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableAudioPlaybackTranscoding,
|
EnableAudioPlaybackTranscoding = 8,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the server should transcode video for the user if requested.
|
/// Whether the server should transcode video for the user if requested.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableVideoPlaybackTranscoding,
|
EnableVideoPlaybackTranscoding = 9,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can delete content.
|
/// Whether the user can delete content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableContentDeletion,
|
EnableContentDeletion = 10,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can download content.
|
/// Whether the user can download content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableContentDownloading,
|
EnableContentDownloading = 11,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether to enable sync transcoding for the user.
|
/// Whether to enable sync transcoding for the user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableSyncTranscoding,
|
EnableSyncTranscoding = 12,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can do media conversion.
|
/// Whether the user can do media conversion.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableMediaConversion,
|
EnableMediaConversion = 13,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user has access to all devices.
|
/// Whether the user has access to all devices.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableAllDevices,
|
EnableAllDevices = 14,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user has access to all channels.
|
/// Whether the user has access to all channels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableAllChannels,
|
EnableAllChannels = 15,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user has access to all folders.
|
/// Whether the user has access to all folders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableAllFolders,
|
EnableAllFolders = 16,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether to enable public sharing for the user.
|
/// Whether to enable public sharing for the user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnablePublicSharing,
|
EnablePublicSharing = 17,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user can remotely control other users.
|
/// Whether the user can remotely control other users.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableRemoteControlOfOtherUsers,
|
EnableRemoteControlOfOtherUsers = 18,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the user is permitted to do playback remuxing.
|
/// Whether the user is permitted to do playback remuxing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnablePlaybackRemuxing,
|
EnablePlaybackRemuxing = 19,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the server should force transcoding on remote connections for the user.
|
/// Whether the server should force transcoding on remote connections for the user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ForceRemoteSourceTranscoding
|
ForceRemoteSourceTranscoding = 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,61 +8,61 @@ namespace Jellyfin.Data.Enums
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of blocked tags.
|
/// A list of blocked tags.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BlockedTags,
|
BlockedTags = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of blocked channels.
|
/// A list of blocked channels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BlockedChannels,
|
BlockedChannels = 1,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of blocked media folders.
|
/// A list of blocked media folders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BlockedMediaFolders,
|
BlockedMediaFolders = 2,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of enabled devices.
|
/// A list of enabled devices.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnabledDevices,
|
EnabledDevices = 3,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of enabled channels
|
/// A list of enabled channels
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnabledChannels,
|
EnabledChannels = 4,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of enabled folders.
|
/// A list of enabled folders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnabledFolders,
|
EnabledFolders = 5,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of folders to allow content deletion from.
|
/// A list of folders to allow content deletion from.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnableContentDeletionFromFolders,
|
EnableContentDeletionFromFolders = 6,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of latest items to exclude.
|
/// A list of latest items to exclude.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
LatestItemExcludes,
|
LatestItemExcludes = 7,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of media to exclude.
|
/// A list of media to exclude.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
MyMediaExcludes,
|
MyMediaExcludes = 8,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of grouped folders.
|
/// A list of grouped folders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
GroupedFolders,
|
GroupedFolders = 9,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of unrated items to block.
|
/// A list of unrated items to block.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BlockUnratedItems,
|
BlockUnratedItems = 10,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of ordered views.
|
/// A list of ordered views.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
OrderedViews
|
OrderedViews = 11
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,12 @@ namespace Jellyfin.Data.Enums
|
|||||||
{
|
{
|
||||||
public enum Weekday
|
public enum Weekday
|
||||||
{
|
{
|
||||||
Sunday,
|
Sunday = 0,
|
||||||
Monday,
|
Monday = 1,
|
||||||
Tuesday,
|
Tuesday = 2,
|
||||||
Wednesday,
|
Wednesday = 3,
|
||||||
Thursday,
|
Thursday = 4,
|
||||||
Friday,
|
Friday = 5,
|
||||||
Saturday
|
Saturday = 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user