parent
d35a7ba8bd
commit
292993d8ef
@ -1,27 +1,113 @@
|
|||||||
namespace Jellyfin.Data.Enums
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The types of user permissions.
|
||||||
|
/// </summary>
|
||||||
public enum PermissionKind
|
public enum PermissionKind
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user is an administrator.
|
||||||
|
/// </summary>
|
||||||
IsAdministrator,
|
IsAdministrator,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user is hidden.
|
||||||
|
/// </summary>
|
||||||
IsHidden,
|
IsHidden,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user is disabled.
|
||||||
|
/// </summary>
|
||||||
IsDisabled,
|
IsDisabled,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can control shared devices.
|
||||||
|
/// </summary>
|
||||||
EnableSharedDeviceControl,
|
EnableSharedDeviceControl,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can access the server remotely.
|
||||||
|
/// </summary>
|
||||||
EnableRemoteAccess,
|
EnableRemoteAccess,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can manage live tv.
|
||||||
|
/// </summary>
|
||||||
EnableLiveTvManagement,
|
EnableLiveTvManagement,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can access live tv.
|
||||||
|
/// </summary>
|
||||||
EnableLiveTvAccess,
|
EnableLiveTvAccess,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can play media.
|
||||||
|
/// </summary>
|
||||||
EnableMediaPlayback,
|
EnableMediaPlayback,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the server should transcode audio for the user if requested.
|
||||||
|
/// </summary>
|
||||||
EnableAudioPlaybackTranscoding,
|
EnableAudioPlaybackTranscoding,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the server should transcode video for the user if requested.
|
||||||
|
/// </summary>
|
||||||
EnableVideoPlaybackTranscoding,
|
EnableVideoPlaybackTranscoding,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can delete content.
|
||||||
|
/// </summary>
|
||||||
EnableContentDeletion,
|
EnableContentDeletion,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can download content.
|
||||||
|
/// </summary>
|
||||||
EnableContentDownloading,
|
EnableContentDownloading,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether to enable sync transcoding for the user.
|
||||||
|
/// </summary>
|
||||||
EnableSyncTranscoding,
|
EnableSyncTranscoding,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can do media conversion.
|
||||||
|
/// </summary>
|
||||||
EnableMediaConversion,
|
EnableMediaConversion,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user has access to all devices.
|
||||||
|
/// </summary>
|
||||||
EnableAllDevices,
|
EnableAllDevices,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user has access to all channels.
|
||||||
|
/// </summary>
|
||||||
EnableAllChannels,
|
EnableAllChannels,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user has access to all folders.
|
||||||
|
/// </summary>
|
||||||
EnableAllFolders,
|
EnableAllFolders,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether to enable public sharing for the user.
|
||||||
|
/// </summary>
|
||||||
EnablePublicSharing,
|
EnablePublicSharing,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user can remotely control other users.
|
||||||
|
/// </summary>
|
||||||
EnableRemoteControlOfOtherUsers,
|
EnableRemoteControlOfOtherUsers,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the user is permitted to do playback remuxing.
|
||||||
|
/// </summary>
|
||||||
EnablePlaybackRemuxing,
|
EnablePlaybackRemuxing,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the server should force transcoding on remote connections for the user.
|
||||||
|
/// </summary>
|
||||||
ForceRemoteSourceTranscoding
|
ForceRemoteSourceTranscoding
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,68 @@
|
|||||||
namespace Jellyfin.Data.Enums
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The types of user preferences.
|
||||||
|
/// </summary>
|
||||||
public enum PreferenceKind
|
public enum PreferenceKind
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// A list of blocked tags.
|
||||||
|
/// </summary>
|
||||||
BlockedTags,
|
BlockedTags,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of blocked channels.
|
||||||
|
/// </summary>
|
||||||
BlockedChannels,
|
BlockedChannels,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of blocked media folders.
|
||||||
|
/// </summary>
|
||||||
BlockedMediaFolders,
|
BlockedMediaFolders,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of enabled devices.
|
||||||
|
/// </summary>
|
||||||
EnabledDevices,
|
EnabledDevices,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of enabled channels
|
||||||
|
/// </summary>
|
||||||
EnabledChannels,
|
EnabledChannels,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of enabled folders.
|
||||||
|
/// </summary>
|
||||||
EnabledFolders,
|
EnabledFolders,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of folders to allow content deletion from.
|
||||||
|
/// </summary>
|
||||||
EnableContentDeletionFromFolders,
|
EnableContentDeletionFromFolders,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of latest items to exclude.
|
||||||
|
/// </summary>
|
||||||
LatestItemExcludes,
|
LatestItemExcludes,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of media to exclude.
|
||||||
|
/// </summary>
|
||||||
MyMediaExcludes,
|
MyMediaExcludes,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of grouped folders.
|
||||||
|
/// </summary>
|
||||||
GroupedFolders,
|
GroupedFolders,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of unrated items to block.
|
||||||
|
/// </summary>
|
||||||
BlockUnratedItems,
|
BlockUnratedItems,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of ordered views.
|
||||||
|
/// </summary>
|
||||||
OrderedViews
|
OrderedViews
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue