Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AccessSchedule(val id: Int, val userId: UUID, val dayOfWeek: DynamicDayOfWeek, val startHour: Double, val endHour: Double)

An entity representing a user's access schedule.

Link copied to clipboard
@Serializable
data class ActivityLogEntry(val id: Long, val name: String, val overview: String? = null, val shortOverview: String? = null, val type: String, val itemId: String? = null, val date: DateTime, val userId: UUID, val userPrimaryImageTag: String? = null, val severity: LogLevel)

An activity log entry.

Link copied to clipboard
@Serializable
@SerialName(value = "ActivityLogEntry")
data class ActivityLogEntryMessage(val data: List<ActivityLogEntry>? = null, val messageId: UUID) : OutboundWebSocketMessage

Activity log created message.

Link copied to clipboard
@Serializable
data class ActivityLogEntryQueryResult(val items: List<ActivityLogEntry>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
@SerialName(value = "ActivityLogEntryStart")
data class ActivityLogEntryStartMessage(val data: String? = null) : InboundWebSocketMessage

Activity log entry start message. Data is the timing data encoded as "

$initialDelay,$

interval" in ms.

Link copied to clipboard
@Serializable
@SerialName(value = "ActivityLogEntryStop")
class ActivityLogEntryStopMessage : InboundWebSocketMessage

Activity log entry stop message.

Link copied to clipboard
@Serializable
data class AddVirtualFolderDto(val libraryOptions: LibraryOptions? = null)

Add virtual folder dto.

Link copied to clipboard
@Serializable
data class AlbumInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean, val albumArtists: List<String>, val artistProviderIds: Map<String, String?>, val songInfos: List<SongInfo>)
Link copied to clipboard
@Serializable
data class AlbumInfoRemoteSearchQuery(val searchInfo: AlbumInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class AllThemeMediaResult(val themeVideosResult: ThemeMediaResult? = null, val themeSongsResult: ThemeMediaResult? = null, val soundtrackSongsResult: ThemeMediaResult? = null)
Link copied to clipboard
@Serializable
data class ArtistInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean, val songInfos: List<SongInfo>)
Link copied to clipboard
@Serializable
data class ArtistInfoRemoteSearchQuery(val searchInfo: ArtistInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard

An enum representing formats of spatial audio.

Link copied to clipboard
@Serializable
data class AuthenticateUserByName(val username: String? = null, val pw: String? = null)

The authenticate user by name request body.

Link copied to clipboard
@Serializable
data class AuthenticationInfo(val id: Long, val accessToken: String? = null, val deviceId: String? = null, val appName: String? = null, val appVersion: String? = null, val deviceName: String? = null, val userId: UUID, val isActive: Boolean, val dateCreated: DateTime, val dateRevoked: DateTime? = null, val dateLastActivity: DateTime, val userName: String? = null)
Link copied to clipboard
@Serializable
data class AuthenticationInfoQueryResult(val items: List<AuthenticationInfo>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
data class AuthenticationResult(val user: UserDto? = null, val sessionInfo: SessionInfoDto? = null, val accessToken: String? = null, val serverId: String? = null)

A class representing an authentication result.

Link copied to clipboard
@Serializable
data class BackupManifestDto(val serverVersion: String, val backupEngineVersion: String, val dateCreated: DateTime, val path: String, val options: BackupOptionsDto)

Manifest type for backups internal structure.

Link copied to clipboard
@Serializable
data class BackupOptionsDto(val metadata: Boolean, val trickplay: Boolean, val subtitles: Boolean, val database: Boolean)

Defines the optional contents of the backup archive.

Link copied to clipboard
@Serializable
data class BackupRestoreRequestDto(val archiveFileName: String)

Defines properties used to start a restore process.

Link copied to clipboard
@Serializable
data class BaseItemDto(val name: String? = null, val originalTitle: String? = null, val serverId: String? = null, val id: UUID, val etag: String? = null, val sourceType: String? = null, val playlistItemId: String? = null, val dateCreated: DateTime? = null, val dateLastMediaAdded: DateTime? = null, val extraType: ExtraType? = null, val airsBeforeSeasonNumber: Int? = null, val airsAfterSeasonNumber: Int? = null, val airsBeforeEpisodeNumber: Int? = null, val canDelete: Boolean? = null, val canDownload: Boolean? = null, val hasLyrics: Boolean? = null, val hasSubtitles: Boolean? = null, val preferredMetadataLanguage: String? = null, val preferredMetadataCountryCode: String? = null, val container: String? = null, val sortName: String? = null, val forcedSortName: String? = null, val video3dFormat: Video3dFormat? = null, val premiereDate: DateTime? = null, val externalUrls: List<ExternalUrl>? = null, val mediaSources: List<MediaSourceInfo>? = null, val criticRating: Float? = null, val productionLocations: List<String>? = null, val path: String? = null, val enableMediaSourceDisplay: Boolean? = null, val officialRating: String? = null, val customRating: String? = null, val channelId: UUID? = null, val channelName: String? = null, val overview: String? = null, val taglines: List<String>? = null, val genres: List<String>? = null, val communityRating: Float? = null, val cumulativeRunTimeTicks: Long? = null, val runTimeTicks: Long? = null, val playAccess: PlayAccess? = null, val aspectRatio: String? = null, val productionYear: Int? = null, val isPlaceHolder: Boolean? = null, val number: String? = null, val channelNumber: String? = null, val indexNumber: Int? = null, val indexNumberEnd: Int? = null, val parentIndexNumber: Int? = null, val remoteTrailers: List<MediaUrl>? = null, val providerIds: Map<String, String?>? = null, val isHd: Boolean? = null, val isFolder: Boolean? = null, val parentId: UUID? = null, val type: BaseItemKind, val people: List<BaseItemPerson>? = null, val studios: List<NameGuidPair>? = null, val genreItems: List<NameGuidPair>? = null, val parentLogoItemId: UUID? = null, val parentBackdropItemId: UUID? = null, val parentBackdropImageTags: List<String>? = null, val localTrailerCount: Int? = null, val userData: UserItemDataDto? = null, val recursiveItemCount: Int? = null, val childCount: Int? = null, val seriesName: String? = null, val seriesId: UUID? = null, val seasonId: UUID? = null, val specialFeatureCount: Int? = null, val displayPreferencesId: String? = null, val status: String? = null, val airTime: String? = null, val airDays: List<DayOfWeek>? = null, val tags: List<String>? = null, val primaryImageAspectRatio: Double? = null, val artists: List<String>? = null, val artistItems: List<NameGuidPair>? = null, val album: String? = null, val collectionType: CollectionType? = null, val displayOrder: String? = null, val albumId: UUID? = null, val albumPrimaryImageTag: String? = null, val seriesPrimaryImageTag: String? = null, val albumArtist: String? = null, val albumArtists: List<NameGuidPair>? = null, val seasonName: String? = null, val mediaStreams: List<MediaStream>? = null, val videoType: VideoType? = null, val partCount: Int? = null, val mediaSourceCount: Int? = null, val imageTags: Map<ImageType, String>? = null, val backdropImageTags: List<String>? = null, val screenshotImageTags: List<String>? = null, val parentLogoImageTag: String? = null, val parentArtItemId: UUID? = null, val parentArtImageTag: String? = null, val seriesThumbImageTag: String? = null, val imageBlurHashes: Map<ImageType, Map<String, String>>? = null, val seriesStudio: String? = null, val parentThumbItemId: UUID? = null, val parentThumbImageTag: String? = null, val parentPrimaryImageItemId: UUID? = null, val parentPrimaryImageTag: String? = null, val chapters: List<ChapterInfo>? = null, val trickplay: Map<String, Map<String, TrickplayInfoDto>>? = null, val locationType: LocationType? = null, val isoType: IsoType? = null, val mediaType: MediaType = MediaType.UNKNOWN, val endDate: DateTime? = null, val lockedFields: List<MetadataField>? = null, val trailerCount: Int? = null, val movieCount: Int? = null, val seriesCount: Int? = null, val programCount: Int? = null, val episodeCount: Int? = null, val songCount: Int? = null, val albumCount: Int? = null, val artistCount: Int? = null, val musicVideoCount: Int? = null, val lockData: Boolean? = null, val width: Int? = null, val height: Int? = null, val cameraMake: String? = null, val cameraModel: String? = null, val software: String? = null, val exposureTime: Double? = null, val focalLength: Double? = null, val imageOrientation: ImageOrientation? = null, val aperture: Double? = null, val shutterSpeed: Double? = null, val latitude: Double? = null, val longitude: Double? = null, val altitude: Double? = null, val isoSpeedRating: Int? = null, val seriesTimerId: String? = null, val programId: String? = null, val channelPrimaryImageTag: String? = null, val startDate: DateTime? = null, val completionPercentage: Double? = null, val isRepeat: Boolean? = null, val episodeTitle: String? = null, val channelType: ChannelType? = null, val audio: ProgramAudio? = null, val isMovie: Boolean? = null, val isSports: Boolean? = null, val isSeries: Boolean? = null, val isLive: Boolean? = null, val isNews: Boolean? = null, val isKids: Boolean? = null, val isPremiere: Boolean? = null, val timerId: String? = null, val normalizationGain: Float? = null, val currentProgram: BaseItemDto? = null)

This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.

Link copied to clipboard
@Serializable
data class BaseItemDtoQueryResult(val items: List<BaseItemDto>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
enum BaseItemKind : Enum<BaseItemKind>

The base item kind.

Link copied to clipboard
@Serializable
data class BaseItemPerson(val name: String? = null, val id: UUID, val role: String? = null, val type: PersonKind = PersonKind.UNKNOWN, val primaryImageTag: String? = null, val imageBlurHashes: Map<ImageType, Map<String, String>>? = null)

This is used by the api to get information about a Person within a BaseItem.

Link copied to clipboard
@Serializable
class BasePluginConfiguration

Class BasePluginConfiguration.

Link copied to clipboard
@Serializable
data class BookInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean, val seriesName: String? = null)
Link copied to clipboard
@Serializable
data class BookInfoRemoteSearchQuery(val searchInfo: BookInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class BoxSetInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean)
Link copied to clipboard
@Serializable
data class BoxSetInfoRemoteSearchQuery(val searchInfo: BoxSetInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class BrandingOptionsDto(val loginDisclaimer: String? = null, val customCss: String? = null, val splashscreenEnabled: Boolean)

The branding options DTO for API use. This DTO excludes SplashscreenLocation to prevent it from being updated via API.

Link copied to clipboard
@Serializable
data class BufferRequestDto(val when: DateTime, val positionTicks: Long, val isPlaying: Boolean, val playlistItemId: UUID)

Class BufferRequestDto.

Link copied to clipboard
@Serializable
data class CastReceiverApplication(val id: String, val name: String)

The cast receiver application model.

Link copied to clipboard
@Serializable
data class ChannelFeatures(val name: String, val id: UUID, val canSearch: Boolean, val mediaTypes: List<ChannelMediaType>, val contentTypes: List<ChannelMediaContentType>, val maxPageSize: Int? = null, val autoRefreshLevels: Int? = null, val defaultSortFields: List<ChannelItemSortField>, val supportsSortOrderToggle: Boolean, val supportsLatestMedia: Boolean, val canFilter: Boolean, val supportsContentDownloading: Boolean)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ChannelMappingOptionsDto(val tunerChannels: List<TunerChannelMapping>, val providerChannels: List<NameIdPair>, val mappings: List<NameValuePair>, val providerName: String? = null)

Channel mapping options dto.

Link copied to clipboard
Link copied to clipboard
@Serializable
enum ChannelMediaType : Enum<ChannelMediaType>
Link copied to clipboard
@Serializable
enum ChannelType : Enum<ChannelType>

Enum ChannelType.

Link copied to clipboard
@Serializable
data class ChapterInfo(val startPositionTicks: Long, val name: String? = null, val imagePath: String? = null, val imageDateModified: DateTime, val imageTag: String? = null)

Class ChapterInfo.

Link copied to clipboard
@Serializable
data class ClientCapabilitiesDto(val playableMediaTypes: List<MediaType>, val supportedCommands: List<GeneralCommandType>, val supportsMediaControl: Boolean, val supportsPersistentIdentifier: Boolean, val deviceProfile: DeviceProfile? = null, val appStoreUrl: String? = null, val iconUrl: String? = null)

Client capabilities dto.

Link copied to clipboard
@Serializable
data class ClientLogDocumentResponseDto(val fileName: String)

Client log document response dto.

Link copied to clipboard
@Serializable
data class CodecProfile(val type: CodecType, val conditions: List<ProfileCondition>, val applyConditions: List<ProfileCondition>, val codec: String? = null, val container: String? = null, val subContainer: String? = null)

Defines the MediaBrowser.Model.Dlna.CodecProfile.

Link copied to clipboard
@Serializable
enum CodecType : Enum<CodecType>
Link copied to clipboard
@Serializable
data class CollectionCreationResult(val id: UUID)
Link copied to clipboard
@Serializable
enum CollectionType : Enum<CollectionType>

Collection type.

Link copied to clipboard

The collection type options.

Link copied to clipboard
@Serializable
data class ConfigImageTypes(val backdropSizes: List<String>? = null, val baseUrl: String? = null, val logoSizes: List<String>? = null, val posterSizes: List<String>? = null, val profileSizes: List<String>? = null, val secureBaseUrl: String? = null, val stillSizes: List<String>? = null)
Link copied to clipboard
@Serializable
data class ConfigurationPageInfo(val name: String, val enableInMainMenu: Boolean, val menuSection: String? = null, val menuIcon: String? = null, val displayName: String? = null, val pluginId: UUID? = null)

The configuration page info.

Link copied to clipboard
@Serializable
data class ContainerProfile(val type: DlnaProfileType, val conditions: List<ProfileCondition>, val container: String? = null, val subContainer: String? = null)

Defines the MediaBrowser.Model.Dlna.ContainerProfile.

Link copied to clipboard
@Serializable
data class CountryInfo(val name: String? = null, val displayName: String? = null, val twoLetterIsoRegionName: String? = null, val threeLetterIsoRegionName: String? = null)

Class CountryInfo.

Link copied to clipboard
@Serializable
data class CreatePlaylistDto(val name: String, val ids: List<UUID>, val userId: UUID? = null, val mediaType: MediaType? = null, val users: List<PlaylistUserPermissions>, val isPublic: Boolean)

Create new playlist dto.

Link copied to clipboard
@Serializable
data class CreateUserByName(val name: String, val password: String? = null)

The create user by name request body.

Link copied to clipboard
@Serializable
data class CultureDto(val name: String, val displayName: String, val twoLetterIsoLanguageName: String, val threeLetterIsoLanguageName: String? = null, val threeLetterIsoLanguageNames: List<String>)

Class CultureDto.

Link copied to clipboard
@Serializable
data class CustomDatabaseOption(val key: String, val value: String)

The custom value option for custom database providers.

Link copied to clipboard
@Serializable
data class CustomDatabaseOptions(val pluginName: String, val pluginAssembly: String, val connectionString: String, val options: List<CustomDatabaseOption>)

Defines the options for a custom database connector.

Link copied to clipboard
@Serializable
data class DatabaseConfigurationOptions(val databaseType: String, val customProviderOptions: CustomDatabaseOptions? = null, val lockingBehavior: DatabaseLockingBehaviorTypes)

Options to configure jellyfins managed database.

Link copied to clipboard

Defines all possible methods for locking database access for concurrent queries.

Link copied to clipboard
@Serializable
enum DayOfWeek : Enum<DayOfWeek>
Link copied to clipboard
@Serializable
enum DayPattern : Enum<DayPattern>
Link copied to clipboard
@Serializable
data class DefaultDirectoryBrowserInfoDto(val path: String? = null)

Default directory browser info.

Link copied to clipboard

Enum containing deinterlace methods.

Link copied to clipboard
@Serializable
data class DeviceInfoDto(val name: String? = null, val customName: String? = null, val accessToken: String? = null, val id: String? = null, val lastUserName: String? = null, val appName: String? = null, val appVersion: String? = null, val lastUserId: UUID? = null, val dateLastActivity: DateTime? = null, val capabilities: ClientCapabilitiesDto, val iconUrl: String? = null)

A DTO representing device information.

Link copied to clipboard
@Serializable
data class DeviceInfoDtoQueryResult(val items: List<DeviceInfoDto>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
data class DeviceOptionsDto(val id: Int, val deviceId: String? = null, val customName: String? = null)

A dto representing custom options for a device.

Link copied to clipboard
@Serializable
data class DeviceProfile(val name: String? = null, val id: UUID? = null, val maxStreamingBitrate: Int? = null, val maxStaticBitrate: Int? = null, val musicStreamingTranscodingBitrate: Int? = null, val maxStaticMusicBitrate: Int? = null, val directPlayProfiles: List<DirectPlayProfile>, val transcodingProfiles: List<TranscodingProfile>, val containerProfiles: List<ContainerProfile>, val codecProfiles: List<CodecProfile>, val subtitleProfiles: List<SubtitleProfile>)

A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.

Link copied to clipboard
@Serializable
data class DirectPlayProfile(val container: String, val audioCodec: String? = null, val videoCodec: String? = null, val type: DlnaProfileType)

Defines the MediaBrowser.Model.Dlna.DirectPlayProfile.

Link copied to clipboard
@Serializable
data class DisplayPreferencesDto(val id: String? = null, val viewType: String? = null, val sortBy: String? = null, val indexBy: String? = null, val rememberIndexing: Boolean, val primaryImageHeight: Int, val primaryImageWidth: Int, val customPrefs: Map<String, String?>, val scrollDirection: ScrollDirection, val showBackdrop: Boolean, val rememberSorting: Boolean, val sortOrder: SortOrder, val showSidebar: Boolean, val client: String? = null)

Defines the display preferences for any item that supports them (usually Folders).

Link copied to clipboard
@Serializable
enum DlnaProfileType : Enum<DlnaProfileType>
Link copied to clipboard

An enum representing an algorithm to downmix surround sound to stereo.

Link copied to clipboard
@Serializable
enum DynamicDayOfWeek : Enum<DynamicDayOfWeek>

An enum that represents a day of the week, weekdays, weekends, or all days.

Link copied to clipboard

An enum representing the options to disable embedded subs.

Link copied to clipboard
@Serializable
enum EncoderPreset : Enum<EncoderPreset>

Enum containing encoder presets.

Link copied to clipboard
@Serializable
enum EncodingContext : Enum<EncodingContext>
Link copied to clipboard
@Serializable
data class EncodingOptions(val encodingThreadCount: Int, val transcodingTempPath: String? = null, val fallbackFontPath: String? = null, val enableFallbackFont: Boolean, val enableAudioVbr: Boolean, val downMixAudioBoost: Double, val downMixStereoAlgorithm: DownMixStereoAlgorithms, val maxMuxingQueueSize: Int, val enableThrottling: Boolean, val throttleDelaySeconds: Int, val enableSegmentDeletion: Boolean, val segmentKeepSeconds: Int, val hardwareAccelerationType: HardwareAccelerationType, val encoderAppPath: String? = null, val encoderAppPathDisplay: String? = null, val vaapiDevice: String? = null, val qsvDevice: String? = null, val enableTonemapping: Boolean, val enableVppTonemapping: Boolean, val enableVideoToolboxTonemapping: Boolean, val tonemappingAlgorithm: TonemappingAlgorithm, val tonemappingMode: TonemappingMode, val tonemappingRange: TonemappingRange, val tonemappingDesat: Double, val tonemappingPeak: Double, val tonemappingParam: Double, val vppTonemappingBrightness: Double, val vppTonemappingContrast: Double, val h264Crf: Int, val h265Crf: Int, val encoderPreset: EncoderPreset? = null, val deinterlaceDoubleRate: Boolean, val deinterlaceMethod: DeinterlaceMethod, val enableDecodingColorDepth10Hevc: Boolean, val enableDecodingColorDepth10Vp9: Boolean, val enableDecodingColorDepth10HevcRext: Boolean, val enableDecodingColorDepth12HevcRext: Boolean, val enableEnhancedNvdecDecoder: Boolean, val preferSystemNativeHwDecoder: Boolean, val enableIntelLowPowerH264HwEncoder: Boolean, val enableIntelLowPowerHevcHwEncoder: Boolean, val enableHardwareEncoding: Boolean, val allowHevcEncoding: Boolean, val allowAv1Encoding: Boolean, val enableSubtitleExtraction: Boolean, val hardwareDecodingCodecs: List<String>? = null, val allowOnDemandMetadataBasedKeyframeExtractionForExtensions: List<String>? = null)

Class EncodingOptions.

Link copied to clipboard
@Serializable
data class EndPointInfo(val isLocal: Boolean, val isInNetwork: Boolean)
Link copied to clipboard
@Serializable
data class ExternalIdInfo(val name: String, val key: String, val type: ExternalIdMediaType? = null)

Represents the external id information for serialization to the client.

Link copied to clipboard

The specific media type of an MediaBrowser.Model.Providers.ExternalIdInfo.

Link copied to clipboard
@Serializable
data class ExternalUrl(val name: String? = null, val url: String? = null)
Link copied to clipboard
@Serializable
enum ExtraType : Enum<ExtraType>
Link copied to clipboard
@Serializable
data class FileSystemEntryInfo(val name: String, val path: String, val type: FileSystemEntryType)

Class FileSystemEntryInfo.

Link copied to clipboard

Enum FileSystemEntryType.

Link copied to clipboard
@Serializable
data class FolderStorageDto(val path: String, val freeSpace: Long, val usedSpace: Long, val storageType: String? = null, val deviceId: String? = null)

Contains information about a specific folder.

Link copied to clipboard
@Serializable
data class FontFile(val name: String? = null, val size: Long, val dateCreated: DateTime, val dateModified: DateTime)

Class FontFile.

Link copied to clipboard
@Serializable
@SerialName(value = "ForceKeepAlive")
data class ForceKeepAliveMessage(val data: Int, val messageId: UUID) : OutboundWebSocketMessage

Force keep alive websocket messages.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class ForgotPasswordDto(val enteredUsername: String)

Forgot Password request body DTO.

Link copied to clipboard
@Serializable
data class ForgotPasswordPinDto(val pin: String)

Forgot Password Pin enter request body DTO.

Link copied to clipboard
@Serializable
data class ForgotPasswordResult(val action: ForgotPasswordAction, val pinFile: String? = null, val pinExpirationDate: DateTime? = null)
Link copied to clipboard
@Serializable
data class GeneralCommand(val name: GeneralCommandType, val controllingUserId: UUID, val arguments: Map<String, String?>)
Link copied to clipboard
@Serializable
@SerialName(value = "GeneralCommand")
data class GeneralCommandMessage(val data: GeneralCommand? = null, val messageId: UUID) : OutboundWebSocketMessage

General command websocket message.

Link copied to clipboard

This exists simply to identify a set of known commands.

Link copied to clipboard
@Serializable
data class GetProgramsDto(val channelIds: List<UUID>? = null, val userId: UUID? = null, val minStartDate: DateTime? = null, val hasAired: Boolean? = null, val isAiring: Boolean? = null, val maxStartDate: DateTime? = null, val minEndDate: DateTime? = null, val maxEndDate: DateTime? = null, val isMovie: Boolean? = null, val isSeries: Boolean? = null, val isNews: Boolean? = null, val isKids: Boolean? = null, val isSports: Boolean? = null, val startIndex: Int? = null, val limit: Int? = null, val sortBy: List<ItemSortBy>? = null, val sortOrder: List<SortOrder>? = null, val genres: List<String>? = null, val genreIds: List<UUID>? = null, val enableImages: Boolean? = null, val enableTotalRecordCount: Boolean = true, val imageTypeLimit: Int? = null, val enableImageTypes: List<ImageType>? = null, val enableUserData: Boolean? = null, val seriesTimerId: String? = null, val librarySeriesId: UUID? = null, val fields: List<ItemFields>? = null)

Get programs dto.

Link copied to clipboard
@Serializable
data class GroupInfoDto(val groupId: UUID, val groupName: String, val state: GroupStateType, val participants: List<String>, val lastUpdatedAt: DateTime)

Class GroupInfoDto.

Link copied to clipboard
@Serializable
enum GroupQueueMode : Enum<GroupQueueMode>

Enum GroupQueueMode.

Link copied to clipboard
@Serializable
enum GroupRepeatMode : Enum<GroupRepeatMode>

Enum GroupRepeatMode.

Link copied to clipboard
@Serializable
enum GroupShuffleMode : Enum<GroupShuffleMode>

Enum GroupShuffleMode.

Link copied to clipboard
@Serializable
enum GroupStateType : Enum<GroupStateType>

Enum GroupState.

Link copied to clipboard
@Serializable
data class GroupStateUpdate(val state: GroupStateType, val reason: PlaybackRequestType)

Class GroupStateUpdate.

Link copied to clipboard
@Serializable
sealed interface GroupUpdate

Represents the list of possible group update types

Link copied to clipboard
@Serializable
enum GroupUpdateType : Enum<GroupUpdateType>

Enum GroupUpdateType.

Link copied to clipboard
@Serializable
data class GuideInfo(val startDate: DateTime, val endDate: DateTime)
Link copied to clipboard

Enum containing hardware acceleration types.

Link copied to clipboard
@Serializable
data class IgnoreWaitRequestDto(val ignoreWait: Boolean)

Class IgnoreWaitRequestDto.

Link copied to clipboard
@Serializable
enum ImageFormat : Enum<ImageFormat>

Enum ImageOutputFormat.

Link copied to clipboard
@Serializable
data class ImageInfo(val imageType: ImageType, val imageIndex: Int? = null, val imageTag: String? = null, val path: String? = null, val blurHash: String? = null, val height: Int? = null, val width: Int? = null, val size: Long)

Class ImageInfo.

Link copied to clipboard
@Serializable
data class ImageOption(val type: ImageType, val limit: Int, val minWidth: Int)
Link copied to clipboard
@Serializable
enum ImageOrientation : Enum<ImageOrientation>
Link copied to clipboard
@Serializable
data class ImageProviderInfo(val name: String, val supportedImages: List<ImageType>)

Class ImageProviderInfo.

Link copied to clipboard
@Serializable
enum ImageResolution : Enum<ImageResolution>

Enum ImageResolution.

Link copied to clipboard
Link copied to clipboard
@Serializable
enum ImageType : Enum<ImageType>

Enum ImageType.

Link copied to clipboard
@Serializable
@SerialName(value = "KeepAlive")
class InboundKeepAliveMessage : InboundWebSocketMessage

Keep alive websocket messages.

Link copied to clipboard
@Serializable
sealed interface InboundWebSocketMessage : WebSocketMessage

Represents the list of possible inbound websocket types

Link copied to clipboard
@Serializable
data class InstallationInfo(val guid: UUID, val name: String? = null, val version: String? = null, val changelog: String? = null, val sourceUrl: String? = null, val checksum: String? = null, val packageInfo: PackageInfo? = null)

Class InstallationInfo.

Link copied to clipboard
@Serializable
data class IPlugin(val name: String? = null, val description: String? = null, val id: UUID, val version: String? = null, val assemblyFilePath: String? = null, val canUninstall: Boolean, val dataFolderPath: String? = null)

Defines the MediaBrowser.Common.Plugins.IPlugin.

Link copied to clipboard
@Serializable
enum IsoType : Enum<IsoType>

Enum IsoType.

Link copied to clipboard
@Serializable
data class ItemCounts(val movieCount: Int, val seriesCount: Int, val episodeCount: Int, val artistCount: Int, val programCount: Int, val trailerCount: Int, val songCount: Int, val albumCount: Int, val musicVideoCount: Int, val boxSetCount: Int, val bookCount: Int, val itemCount: Int)

Class LibrarySummary.

Link copied to clipboard
@Serializable
enum ItemFields : Enum<ItemFields>

Used to control the data that gets attached to DtoBaseItems.

Link copied to clipboard
@Serializable
enum ItemFilter : Enum<ItemFilter>

Enum ItemFilter.

Link copied to clipboard
@Serializable
enum ItemSortBy : Enum<ItemSortBy>

These represent sort orders.

Link copied to clipboard
@Serializable
data class JoinGroupRequestDto(val groupId: UUID)

Class JoinGroupRequestDto.

Link copied to clipboard
@Serializable
enum KeepUntil : Enum<KeepUntil>
Link copied to clipboard
@Serializable
@SerialName(value = "LibraryChanged")
data class LibraryChangedMessage(val data: LibraryUpdateInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Library changed message.

Link copied to clipboard
@Serializable
data class LibraryOptionInfoDto(val name: String? = null, val defaultEnabled: Boolean)

Library option info dto.

Link copied to clipboard
@Serializable
data class LibraryOptions(val enabled: Boolean, val enablePhotos: Boolean, val enableRealtimeMonitor: Boolean, val enableLufsScan: Boolean, val enableChapterImageExtraction: Boolean, val extractChapterImagesDuringLibraryScan: Boolean, val enableTrickplayImageExtraction: Boolean, val extractTrickplayImagesDuringLibraryScan: Boolean, val pathInfos: List<MediaPathInfo>, val saveLocalMetadata: Boolean, val enableInternetProviders: Boolean, val enableAutomaticSeriesGrouping: Boolean, val enableEmbeddedTitles: Boolean, val enableEmbeddedExtrasTitles: Boolean, val enableEmbeddedEpisodeInfos: Boolean, val automaticRefreshIntervalDays: Int, val preferredMetadataLanguage: String? = null, val metadataCountryCode: String? = null, val seasonZeroDisplayName: String, val metadataSavers: List<String>? = null, val disabledLocalMetadataReaders: List<String>, val localMetadataReaderOrder: List<String>? = null, val disabledSubtitleFetchers: List<String>, val subtitleFetcherOrder: List<String>, val disabledMediaSegmentProviders: List<String>, val mediaSegmentProviderOrder: List<String>, val skipSubtitlesIfEmbeddedSubtitlesPresent: Boolean, val skipSubtitlesIfAudioTrackMatches: Boolean, val subtitleDownloadLanguages: List<String>? = null, val requirePerfectSubtitleMatch: Boolean, val saveSubtitlesWithMedia: Boolean, val saveLyricsWithMedia: Boolean = false, val saveTrickplayWithMedia: Boolean = false, val disabledLyricFetchers: List<String>, val lyricFetcherOrder: List<String>, val preferNonstandardArtistsTag: Boolean = false, val useCustomTagDelimiters: Boolean = false, val customTagDelimiters: List<String>, val delimiterWhitelist: List<String>, val automaticallyAddToCollection: Boolean, val allowEmbeddedSubtitles: EmbeddedSubtitleOptions, val typeOptions: List<TypeOptions>)
Link copied to clipboard
@Serializable
data class LibraryOptionsResultDto(val metadataSavers: List<LibraryOptionInfoDto>, val metadataReaders: List<LibraryOptionInfoDto>, val subtitleFetchers: List<LibraryOptionInfoDto>, val lyricFetchers: List<LibraryOptionInfoDto>, val mediaSegmentProviders: List<LibraryOptionInfoDto>, val typeOptions: List<LibraryTypeOptionsDto>)

Library options result dto.

Link copied to clipboard
@Serializable
data class LibraryStorageDto(val id: UUID, val name: String, val folders: List<FolderStorageDto>)

Contains informations about a libraries storage informations.

Link copied to clipboard
@Serializable
data class LibraryTypeOptionsDto(val type: String? = null, val metadataFetchers: List<LibraryOptionInfoDto>, val imageFetchers: List<LibraryOptionInfoDto>, val supportedImageTypes: List<ImageType>, val defaultImageOptions: List<ImageOption>)

Library type options dto.

Link copied to clipboard
@Serializable
data class LibraryUpdateInfo(val foldersAddedTo: List<String>, val foldersRemovedFrom: List<String>, val itemsAdded: List<String>, val itemsRemoved: List<String>, val itemsUpdated: List<String>, val collectionFolders: List<String>, val isEmpty: Boolean)

Class LibraryUpdateInfo.

Link copied to clipboard
@Serializable
data class ListingsProviderInfo(val id: String? = null, val type: String? = null, val username: String? = null, val password: String? = null, val listingsId: String? = null, val zipCode: String? = null, val country: String? = null, val path: String? = null, val enabledTuners: List<String>? = null, val enableAllTuners: Boolean, val newsCategories: List<String>? = null, val sportsCategories: List<String>? = null, val kidsCategories: List<String>? = null, val movieCategories: List<String>? = null, val channelMappings: List<NameValuePair>? = null, val moviePrefix: String? = null, val preferredLanguage: String? = null, val userAgent: String? = null)
Link copied to clipboard
@Serializable
data class LiveStreamResponse(val mediaSource: MediaSourceInfo)
Link copied to clipboard
@Serializable
data class LiveTvInfo(val services: List<LiveTvServiceInfo>, val isEnabled: Boolean, val enabledUsers: List<String>)
Link copied to clipboard
@Serializable
data class LiveTvOptions(val guideDays: Int? = null, val recordingPath: String? = null, val movieRecordingPath: String? = null, val seriesRecordingPath: String? = null, val enableRecordingSubfolders: Boolean, val enableOriginalAudioWithEncodedRecordings: Boolean, val tunerHosts: List<TunerHostInfo>? = null, val listingProviders: List<ListingsProviderInfo>? = null, val prePaddingSeconds: Int, val postPaddingSeconds: Int, val mediaLocationsCreated: List<String>? = null, val recordingPostProcessor: String? = null, val recordingPostProcessorArguments: String? = null, val saveRecordingNfo: Boolean, val saveRecordingImages: Boolean)
Link copied to clipboard
@Serializable
data class LiveTvServiceInfo(val name: String? = null, val homePageUrl: String? = null, val status: LiveTvServiceStatus, val statusMessage: String? = null, val version: String? = null, val hasUpdateAvailable: Boolean, val isVisible: Boolean, val tuners: List<String>? = null)

Class ServiceInfo.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class LocalizationOption(val name: String? = null, val value: String? = null)
Link copied to clipboard
@Serializable
enum LocationType : Enum<LocationType>

Enum LocationType.

Link copied to clipboard
@Serializable
data class LogFile(val dateCreated: DateTime, val dateModified: DateTime, val size: Long, val name: String)
Link copied to clipboard
@Serializable
enum LogLevel : Enum<LogLevel>
Link copied to clipboard
@Serializable
data class LyricDto(val metadata: LyricMetadata, val lyrics: List<LyricLine>)

LyricResponse model.

Link copied to clipboard
@Serializable
data class LyricLine(val text: String, val start: Long? = null, val cues: List<LyricLineCue>? = null)

Lyric model.

Link copied to clipboard
@Serializable
data class LyricLineCue(val position: Int, val endPosition: Int, val start: Long, val end: Long? = null)

LyricLineCue model, holds information about the timing of words within a LyricLine.

Link copied to clipboard
@Serializable
data class LyricMetadata(val artist: String? = null, val album: String? = null, val title: String? = null, val author: String? = null, val length: Long? = null, val by: String? = null, val offset: Long? = null, val creator: String? = null, val version: String? = null, val isSynced: Boolean? = null)

LyricMetadata model.

Link copied to clipboard
@Serializable
data class MediaAttachment(val codec: String? = null, val codecTag: String? = null, val comment: String? = null, val index: Int, val fileName: String? = null, val mimeType: String? = null, val deliveryUrl: String? = null)

Class MediaAttachment.

Link copied to clipboard
@Serializable
data class MediaPathDto(val name: String, val path: String? = null, val pathInfo: MediaPathInfo? = null)

Media Path dto.

Link copied to clipboard
@Serializable
data class MediaPathInfo(val path: String)
Link copied to clipboard
@Serializable
enum MediaProtocol : Enum<MediaProtocol>
Link copied to clipboard
@Serializable
data class MediaSegmentDto(val id: UUID, val itemId: UUID, val type: MediaSegmentType = MediaSegmentType.UNKNOWN, val startTicks: Long, val endTicks: Long)

Api model for MediaSegment's.

Link copied to clipboard
@Serializable
data class MediaSegmentDtoQueryResult(val items: List<MediaSegmentDto>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
enum MediaSegmentType : Enum<MediaSegmentType>

Defines the types of content an individual Jellyfin.Database.Implementations.Entities.MediaSegment represents.

Link copied to clipboard
@Serializable
data class MediaSourceInfo(val protocol: MediaProtocol, val id: String? = null, val path: String? = null, val encoderPath: String? = null, val encoderProtocol: MediaProtocol? = null, val type: MediaSourceType, val container: String? = null, val size: Long? = null, val name: String? = null, val isRemote: Boolean, val eTag: String? = null, val runTimeTicks: Long? = null, val readAtNativeFramerate: Boolean, val ignoreDts: Boolean, val ignoreIndex: Boolean, val genPtsInput: Boolean, val supportsTranscoding: Boolean, val supportsDirectStream: Boolean, val supportsDirectPlay: Boolean, val isInfiniteStream: Boolean, val useMostCompatibleTranscodingProfile: Boolean = false, val requiresOpening: Boolean, val openToken: String? = null, val requiresClosing: Boolean, val liveStreamId: String? = null, val bufferMs: Int? = null, val requiresLooping: Boolean, val supportsProbing: Boolean, val videoType: VideoType? = null, val isoType: IsoType? = null, val video3dFormat: Video3dFormat? = null, val mediaStreams: List<MediaStream>? = null, val mediaAttachments: List<MediaAttachment>? = null, val formats: List<String>? = null, val bitrate: Int? = null, val fallbackMaxStreamingBitrate: Int? = null, val timestamp: TransportStreamTimestamp? = null, val requiredHttpHeaders: Map<String, String?>? = null, val transcodingUrl: String? = null, val transcodingSubProtocol: MediaStreamProtocol, val transcodingContainer: String? = null, val analyzeDurationMs: Int? = null, val defaultAudioStreamIndex: Int? = null, val defaultSubtitleStreamIndex: Int? = null, val hasSegments: Boolean)
Link copied to clipboard
@Serializable
enum MediaSourceType : Enum<MediaSourceType>
Link copied to clipboard
@Serializable
data class MediaStream(val codec: String? = null, val codecTag: String? = null, val language: String? = null, val colorRange: String? = null, val colorSpace: String? = null, val colorTransfer: String? = null, val colorPrimaries: String? = null, val dvVersionMajor: Int? = null, val dvVersionMinor: Int? = null, val dvProfile: Int? = null, val dvLevel: Int? = null, val rpuPresentFlag: Int? = null, val elPresentFlag: Int? = null, val blPresentFlag: Int? = null, val dvBlSignalCompatibilityId: Int? = null, val rotation: Int? = null, val comment: String? = null, val timeBase: String? = null, val codecTimeBase: String? = null, val title: String? = null, val hdr10PlusPresentFlag: Boolean? = null, val videoRange: VideoRange = VideoRange.UNKNOWN, val videoRangeType: VideoRangeType = VideoRangeType.UNKNOWN, val videoDoViTitle: String? = null, val audioSpatialFormat: AudioSpatialFormat = AudioSpatialFormat.NONE, val localizedUndefined: String? = null, val localizedDefault: String? = null, val localizedForced: String? = null, val localizedExternal: String? = null, val localizedHearingImpaired: String? = null, val displayTitle: String? = null, val nalLengthSize: String? = null, val isInterlaced: Boolean, val isAvc: Boolean? = null, val channelLayout: String? = null, val bitRate: Int? = null, val bitDepth: Int? = null, val refFrames: Int? = null, val packetLength: Int? = null, val channels: Int? = null, val sampleRate: Int? = null, val isDefault: Boolean, val isForced: Boolean, val isHearingImpaired: Boolean, val height: Int? = null, val width: Int? = null, val averageFrameRate: Float? = null, val realFrameRate: Float? = null, val referenceFrameRate: Float? = null, val profile: String? = null, val type: MediaStreamType, val aspectRatio: String? = null, val index: Int, val score: Int? = null, val isExternal: Boolean, val deliveryMethod: SubtitleDeliveryMethod? = null, val deliveryUrl: String? = null, val isExternalUrl: Boolean? = null, val isTextSubtitleStream: Boolean, val supportsExternalStream: Boolean, val path: String? = null, val pixelFormat: String? = null, val level: Double? = null, val isAnamorphic: Boolean? = null)

Class MediaStream.

Link copied to clipboard

Media streaming protocol. Lowercase for backwards compatibility.

Link copied to clipboard
@Serializable
enum MediaStreamType : Enum<MediaStreamType>

Enum MediaStreamType.

Link copied to clipboard
@Serializable
enum MediaType : Enum<MediaType>

Media types.

Link copied to clipboard
@Serializable
data class MediaUpdateInfoDto(val updates: List<MediaUpdateInfoPathDto>)

Media Update Info Dto.

Link copied to clipboard
@Serializable
data class MediaUpdateInfoPathDto(val path: String? = null, val updateType: String? = null)

The media update info path.

Link copied to clipboard
@Serializable
data class MediaUrl(val url: String? = null, val name: String? = null)
Link copied to clipboard
@Serializable
data class MessageCommand(val header: String? = null, val text: String, val timeoutMs: Long? = null)
Link copied to clipboard
@Serializable
data class MetadataConfiguration(val useFileCreationTimeForDateAdded: Boolean)
Link copied to clipboard
@Serializable
data class MetadataEditorInfo(val parentalRatingOptions: List<ParentalRating>, val countries: List<CountryInfo>, val cultures: List<CultureDto>, val externalIdInfos: List<ExternalIdInfo>, val contentType: CollectionType? = null, val contentTypeOptions: List<NameValuePair>)

A class representing metadata editor information.

Link copied to clipboard
@Serializable
enum MetadataField : Enum<MetadataField>

Enum MetadataFields.

Link copied to clipboard
@Serializable
data class MetadataOptions(val itemType: String? = null, val disabledMetadataSavers: List<String>? = null, val localMetadataReaderOrder: List<String>? = null, val disabledMetadataFetchers: List<String>? = null, val metadataFetcherOrder: List<String>? = null, val disabledImageFetchers: List<String>? = null, val imageFetcherOrder: List<String>? = null)

Class MetadataOptions.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class MovePlaylistItemRequestDto(val playlistItemId: UUID, val newIndex: Int)

Class MovePlaylistItemRequestDto.

Link copied to clipboard
@Serializable
data class MovieInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean)
Link copied to clipboard
@Serializable
data class MovieInfoRemoteSearchQuery(val searchInfo: MovieInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class MusicVideoInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean, val artists: List<String>? = null)
Link copied to clipboard
@Serializable
data class MusicVideoInfoRemoteSearchQuery(val searchInfo: MusicVideoInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class NameGuidPair(val name: String? = null, val id: UUID)
Link copied to clipboard
@Serializable
data class NameIdPair(val name: String? = null, val id: String? = null)
Link copied to clipboard
@Serializable
data class NameValuePair(val name: String? = null, val value: String? = null)
Link copied to clipboard
@Serializable
data class NetworkConfiguration(val baseUrl: String, val enableHttps: Boolean, val requireHttps: Boolean, val certificatePath: String, val certificatePassword: String, val internalHttpPort: Int, val internalHttpsPort: Int, val publicHttpPort: Int, val publicHttpsPort: Int, val autoDiscovery: Boolean, val enableUPnP: Boolean, val enableIPv4: Boolean, val enableIPv6: Boolean, val enableRemoteAccess: Boolean, val localNetworkSubnets: List<String>, val localNetworkAddresses: List<String>, val knownProxies: List<String>, val ignoreVirtualInterfaces: Boolean, val virtualInterfaceNames: List<String>, val enablePublishedServerUriByRequest: Boolean, val publishedServerUriBySubnet: List<String>, val remoteIpFilter: List<String>, val isRemoteIpFilterBlacklist: Boolean)

Defines the MediaBrowser.Common.Net.NetworkConfiguration.

Link copied to clipboard
@Serializable
data class NewGroupRequestDto(val groupName: String)

Class NewGroupRequestDto.

Link copied to clipboard
@Serializable
data class NextItemRequestDto(val playlistItemId: UUID)

Class NextItemRequestDto.

Link copied to clipboard
@Serializable
data class OpenLiveStreamDto(val openToken: String? = null, val userId: UUID? = null, val playSessionId: String? = null, val maxStreamingBitrate: Int? = null, val startTimeTicks: Long? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val maxAudioChannels: Int? = null, val itemId: UUID? = null, val enableDirectPlay: Boolean? = null, val enableDirectStream: Boolean? = null, val alwaysBurnInSubtitleWhenTranscoding: Boolean? = null, val deviceProfile: DeviceProfile? = null, val directPlayProtocols: List<MediaProtocol>)

Open live stream dto.

Link copied to clipboard
@Serializable
@SerialName(value = "KeepAlive")
data class OutboundKeepAliveMessage(val messageId: UUID) : OutboundWebSocketMessage

Keep alive websocket messages.

Link copied to clipboard
@Serializable
sealed interface OutboundWebSocketMessage : WebSocketMessage

Represents the list of possible outbound websocket types

Link copied to clipboard
@Serializable
data class PackageInfo(val name: String, val description: String, val overview: String, val owner: String, val category: String, val guid: UUID, val versions: List<VersionInfo>, val imageUrl: String? = null)

Class PackageInfo.

Link copied to clipboard
@Serializable
data class ParentalRating(val name: String, val value: Int? = null, val ratingScore: ParentalRatingScore? = null)

Class ParentalRating.

Link copied to clipboard
@Serializable
data class ParentalRatingScore(val score: Int, val subScore: Int? = null)

A class representing an parental rating score.

Link copied to clipboard
@Serializable
data class PathSubstitution(val from: String, val to: String)

Defines the MediaBrowser.Model.Configuration.PathSubstitution.

Link copied to clipboard
@Serializable
enum PersonKind : Enum<PersonKind>

The person kind.

Link copied to clipboard
@Serializable
data class PersonLookupInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean)
Link copied to clipboard
@Serializable
data class PersonLookupInfoRemoteSearchQuery(val searchInfo: PersonLookupInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
data class PingRequestDto(val ping: Long)

Class PingRequestDto.

Link copied to clipboard
@Serializable
data class PinRedeemResult(val success: Boolean, val usersReset: List<String>)
Link copied to clipboard
@Serializable
enum PlayAccess : Enum<PlayAccess>
Link copied to clipboard
Link copied to clipboard
@Serializable
data class PlaybackInfoDto(val userId: UUID? = null, val maxStreamingBitrate: Int? = null, val startTimeTicks: Long? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val maxAudioChannels: Int? = null, val mediaSourceId: String? = null, val liveStreamId: String? = null, val deviceProfile: DeviceProfile? = null, val enableDirectPlay: Boolean? = null, val enableDirectStream: Boolean? = null, val enableTranscoding: Boolean? = null, val allowVideoStreamCopy: Boolean? = null, val allowAudioStreamCopy: Boolean? = null, val autoOpenLiveStream: Boolean? = null, val alwaysBurnInSubtitleWhenTranscoding: Boolean? = null)

Playback info dto.

Link copied to clipboard
@Serializable
data class PlaybackInfoResponse(val mediaSources: List<MediaSourceInfo>, val playSessionId: String? = null, val errorCode: PlaybackErrorCode? = null)

Class PlaybackInfoResponse.

Link copied to clipboard
@Serializable
enum PlaybackOrder : Enum<PlaybackOrder>

Enum PlaybackOrder.

Link copied to clipboard
@Serializable
data class PlaybackProgressInfo(val canSeek: Boolean, val item: BaseItemDto? = null, val itemId: UUID, val sessionId: String? = null, val mediaSourceId: String? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val isPaused: Boolean, val isMuted: Boolean, val positionTicks: Long? = null, val playbackStartTimeTicks: Long? = null, val volumeLevel: Int? = null, val brightness: Int? = null, val aspectRatio: String? = null, val playMethod: PlayMethod, val liveStreamId: String? = null, val playSessionId: String? = null, val repeatMode: RepeatMode, val playbackOrder: PlaybackOrder, val nowPlayingQueue: List<QueueItem>? = null, val playlistItemId: String? = null)

Class PlaybackProgressInfo.

Link copied to clipboard

Enum PlaybackRequestType.

Link copied to clipboard
@Serializable
data class PlaybackStartInfo(val canSeek: Boolean, val item: BaseItemDto? = null, val itemId: UUID, val sessionId: String? = null, val mediaSourceId: String? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val isPaused: Boolean, val isMuted: Boolean, val positionTicks: Long? = null, val playbackStartTimeTicks: Long? = null, val volumeLevel: Int? = null, val brightness: Int? = null, val aspectRatio: String? = null, val playMethod: PlayMethod, val liveStreamId: String? = null, val playSessionId: String? = null, val repeatMode: RepeatMode, val playbackOrder: PlaybackOrder, val nowPlayingQueue: List<QueueItem>? = null, val playlistItemId: String? = null)

Class PlaybackStartInfo.

Link copied to clipboard
@Serializable
data class PlaybackStopInfo(val item: BaseItemDto? = null, val itemId: UUID, val sessionId: String? = null, val mediaSourceId: String? = null, val positionTicks: Long? = null, val liveStreamId: String? = null, val playSessionId: String? = null, val failed: Boolean, val nextMediaType: String? = null, val playlistItemId: String? = null, val nowPlayingQueue: List<QueueItem>? = null)

Class PlaybackStopInfo.

Link copied to clipboard
@Serializable
enum PlayCommand : Enum<PlayCommand>

Enum PlayCommand.

Link copied to clipboard
@Serializable
data class PlayerStateInfo(val positionTicks: Long? = null, val canSeek: Boolean, val isPaused: Boolean, val isMuted: Boolean, val volumeLevel: Int? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val mediaSourceId: String? = null, val playMethod: PlayMethod? = null, val repeatMode: RepeatMode, val playbackOrder: PlaybackOrder, val liveStreamId: String? = null)
Link copied to clipboard
@Serializable
data class PlaylistCreationResult(val id: String)
Link copied to clipboard
@Serializable
data class PlaylistDto(val openAccess: Boolean, val shares: List<PlaylistUserPermissions>, val itemIds: List<UUID>)

DTO for playlists.

Link copied to clipboard
@Serializable
data class PlaylistUserPermissions(val userId: UUID, val canEdit: Boolean)

Class to hold data on user permissions for playlists.

Link copied to clipboard
@Serializable
@SerialName(value = "Play")
data class PlayMessage(val data: PlayRequest? = null, val messageId: UUID) : OutboundWebSocketMessage

Play command websocket message.

Link copied to clipboard
@Serializable
enum PlayMethod : Enum<PlayMethod>
Link copied to clipboard
@Serializable
data class PlayQueueUpdate(val reason: PlayQueueUpdateReason, val lastUpdate: DateTime, val playlist: List<SyncPlayQueueItem>, val playingItemIndex: Int, val startPositionTicks: Long, val isPlaying: Boolean, val shuffleMode: GroupShuffleMode, val repeatMode: GroupRepeatMode)

Class PlayQueueUpdate.

Link copied to clipboard

Enum PlayQueueUpdateReason.

Link copied to clipboard
@Serializable
data class PlayRequest(val itemIds: List<UUID>? = null, val startPositionTicks: Long? = null, val playCommand: PlayCommand, val controllingUserId: UUID, val subtitleStreamIndex: Int? = null, val audioStreamIndex: Int? = null, val mediaSourceId: String? = null, val startIndex: Int? = null)

Class PlayRequest.

Link copied to clipboard
@Serializable
data class PlayRequestDto(val playingQueue: List<UUID>, val playingItemPosition: Int, val startPositionTicks: Long)

Class PlayRequestDto.

Link copied to clipboard
@Serializable
enum PlaystateCommand : Enum<PlaystateCommand>

Enum PlaystateCommand.

Link copied to clipboard
@Serializable
@SerialName(value = "Playstate")
data class PlaystateMessage(val data: PlaystateRequest? = null, val messageId: UUID) : OutboundWebSocketMessage

Playstate message.

Link copied to clipboard
@Serializable
data class PlaystateRequest(val command: PlaystateCommand, val seekPositionTicks: Long? = null, val controllingUserId: String? = null)
Link copied to clipboard
@Serializable
data class PluginInfo(val name: String, val version: String, val configurationFileName: String? = null, val description: String, val id: UUID, val canUninstall: Boolean, val hasImage: Boolean, val status: PluginStatus)

This is a serializable stub class that is used by the api to provide information about installed plugins.

Link copied to clipboard
@Serializable
@SerialName(value = "PackageInstallationCancelled")
data class PluginInstallationCancelledMessage(val data: InstallationInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Plugin installation cancelled message.

Link copied to clipboard
@Serializable
@SerialName(value = "PackageInstallationCompleted")
data class PluginInstallationCompletedMessage(val data: InstallationInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Plugin installation completed message.

Link copied to clipboard
@Serializable
@SerialName(value = "PackageInstallationFailed")
data class PluginInstallationFailedMessage(val data: InstallationInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Plugin installation failed message.

Link copied to clipboard
@Serializable
@SerialName(value = "PackageInstalling")
data class PluginInstallingMessage(val data: InstallationInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Package installing message.

Link copied to clipboard
@Serializable
enum PluginStatus : Enum<PluginStatus>

Plugin load status.

Link copied to clipboard
@Serializable
@SerialName(value = "PackageUninstalled")
data class PluginUninstalledMessage(val data: PluginInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Plugin uninstalled message.

Link copied to clipboard
@Serializable
data class PreviousItemRequestDto(val playlistItemId: UUID)

Class PreviousItemRequestDto.

Link copied to clipboard
@Serializable
data class ProblemDetails(val type: String? = null, val title: String? = null, val status: Int? = null, val detail: String? = null, val instance: String? = null)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ProfileCondition(val condition: ProfileConditionType, val property: ProfileConditionValue, val value: String? = null, val isRequired: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
enum ProgramAudio : Enum<ProgramAudio>
Link copied to clipboard
@Serializable
data class PublicSystemInfo(val localAddress: String? = null, val serverName: String? = null, val version: String? = null, val productName: String? = null, val operatingSystem: String? = null, val id: String? = null, val startupWizardCompleted: Boolean? = null)
Link copied to clipboard
@Serializable
data class QueryFilters(val genres: List<NameGuidPair>? = null, val tags: List<String>? = null)
Link copied to clipboard
@Serializable
data class QueryFiltersLegacy(val genres: List<String>? = null, val tags: List<String>? = null, val officialRatings: List<String>? = null, val years: List<Int>? = null)
Link copied to clipboard
@Serializable
data class QueueItem(val id: UUID, val playlistItemId: String? = null)
Link copied to clipboard
@Serializable
data class QueueRequestDto(val itemIds: List<UUID>, val mode: GroupQueueMode)

Class QueueRequestDto.

Link copied to clipboard
@Serializable
data class QuickConnectDto(val secret: String)

The quick connect request body.

Link copied to clipboard
@Serializable
data class QuickConnectResult(val authenticated: Boolean, val secret: String, val code: String, val deviceId: String, val deviceName: String, val appName: String, val appVersion: String, val dateAdded: DateTime)

Stores the state of an quick connect request.

Link copied to clipboard
@Serializable
enum RatingType : Enum<RatingType>
Link copied to clipboard
@Serializable
data class ReadyRequestDto(val when: DateTime, val positionTicks: Long, val isPlaying: Boolean, val playlistItemId: UUID)

Class ReadyRequest.

Link copied to clipboard
@Serializable
data class RecommendationDto(val items: List<BaseItemDto>? = null, val recommendationType: RecommendationType, val baselineItemName: String? = null, val categoryId: UUID)
Link copied to clipboard
Link copied to clipboard
@Serializable
enum RecordingStatus : Enum<RecordingStatus>
Link copied to clipboard
@Serializable
@SerialName(value = "RefreshProgress")
data class RefreshProgressMessage(val data: Map<String, String?>? = null, val messageId: UUID) : OutboundWebSocketMessage

Refresh progress message.

Link copied to clipboard
@Serializable
data class RemoteImageInfo(val providerName: String? = null, val url: String? = null, val thumbnailUrl: String? = null, val height: Int? = null, val width: Int? = null, val communityRating: Double? = null, val voteCount: Int? = null, val language: String? = null, val type: ImageType, val ratingType: RatingType)

Class RemoteImageInfo.

Link copied to clipboard
@Serializable
data class RemoteImageResult(val images: List<RemoteImageInfo>? = null, val totalRecordCount: Int, val providers: List<String>? = null)

Class RemoteImageResult.

Link copied to clipboard
@Serializable
data class RemoteLyricInfoDto(val id: String, val providerName: String, val lyrics: LyricDto)

The remote lyric info dto.

Link copied to clipboard
@Serializable
data class RemoteSearchResult(val name: String? = null, val providerIds: Map<String, String?>? = null, val productionYear: Int? = null, val indexNumber: Int? = null, val indexNumberEnd: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val imageUrl: String? = null, val searchProviderName: String? = null, val overview: String? = null, val albumArtist: RemoteSearchResult? = null, val artists: List<RemoteSearchResult>? = null)
Link copied to clipboard
@Serializable
data class RemoteSubtitleInfo(val threeLetterIsoLanguageName: String? = null, val id: String? = null, val providerName: String? = null, val name: String? = null, val format: String? = null, val author: String? = null, val comment: String? = null, val dateCreated: DateTime? = null, val communityRating: Float? = null, val frameRate: Float? = null, val downloadCount: Int? = null, val isHashMatch: Boolean? = null, val aiTranslated: Boolean? = null, val machineTranslated: Boolean? = null, val forced: Boolean? = null, val hearingImpaired: Boolean? = null)
Link copied to clipboard
@Serializable
data class RemoveFromPlaylistRequestDto(val playlistItemIds: List<UUID>, val clearPlaylist: Boolean, val clearPlayingItem: Boolean)

Class RemoveFromPlaylistRequestDto.

Link copied to clipboard
@Serializable
enum RepeatMode : Enum<RepeatMode>
Link copied to clipboard
@Serializable
data class RepositoryInfo(val name: String? = null, val url: String? = null, val enabled: Boolean)

Class RepositoryInfo.

Link copied to clipboard
@Serializable
@SerialName(value = "RestartRequired")
data class RestartRequiredMessage(val messageId: UUID) : OutboundWebSocketMessage

Restart required.

Link copied to clipboard
@Serializable
@SerialName(value = "ScheduledTaskEnded")
data class ScheduledTaskEndedMessage(val data: TaskResult? = null, val messageId: UUID) : OutboundWebSocketMessage

Scheduled task ended message.

Link copied to clipboard
@Serializable
@SerialName(value = "ScheduledTasksInfo")
data class ScheduledTasksInfoMessage(val data: List<TaskInfo>? = null, val messageId: UUID) : OutboundWebSocketMessage

Scheduled tasks info message.

Link copied to clipboard
@Serializable
@SerialName(value = "ScheduledTasksInfoStart")
data class ScheduledTasksInfoStartMessage(val data: String? = null) : InboundWebSocketMessage

Scheduled tasks info start message. Data is the timing data encoded as "

$initialDelay,$

interval" in ms.

Link copied to clipboard
@Serializable
@SerialName(value = "ScheduledTasksInfoStop")
class ScheduledTasksInfoStopMessage : InboundWebSocketMessage

Scheduled tasks info stop message.

Link copied to clipboard
@Serializable
enum ScrollDirection : Enum<ScrollDirection>

An enum representing the axis that should be scrolled.

Link copied to clipboard
@Serializable
data class SearchHint(val itemId: UUID, val id: UUID, val name: String, val matchedTerm: String? = null, val indexNumber: Int? = null, val productionYear: Int? = null, val parentIndexNumber: Int? = null, val primaryImageTag: String? = null, val thumbImageTag: String? = null, val thumbImageItemId: String? = null, val backdropImageTag: String? = null, val backdropImageItemId: String? = null, val type: BaseItemKind, val isFolder: Boolean? = null, val runTimeTicks: Long? = null, val mediaType: MediaType = MediaType.UNKNOWN, val startDate: DateTime? = null, val endDate: DateTime? = null, val series: String? = null, val status: String? = null, val album: String? = null, val albumId: UUID? = null, val albumArtist: String? = null, val artists: List<String>, val songCount: Int? = null, val episodeCount: Int? = null, val channelId: UUID? = null, val channelName: String? = null, val primaryImageAspectRatio: Double? = null)

Class SearchHintResult.

Link copied to clipboard
@Serializable
data class SearchHintResult(val searchHints: List<SearchHint>, val totalRecordCount: Int)

Class SearchHintResult.

Link copied to clipboard
@Serializable
data class SeekRequestDto(val positionTicks: Long)

Class SeekRequestDto.

Link copied to clipboard
@Serializable
data class SendCommand(val groupId: UUID, val playlistItemId: UUID, val when: DateTime, val positionTicks: Long? = null, val command: SendCommandType, val emittedAt: DateTime)

Class SendCommand.

Link copied to clipboard
@Serializable
enum SendCommandType : Enum<SendCommandType>

Enum SendCommandType.

Link copied to clipboard
@Serializable
data class SeriesInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean)
Link copied to clipboard
@Serializable
data class SeriesInfoRemoteSearchQuery(val searchInfo: SeriesInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
enum SeriesStatus : Enum<SeriesStatus>

The status of a series.

Link copied to clipboard
@Serializable
@SerialName(value = "SeriesTimerCancelled")
data class SeriesTimerCancelledMessage(val data: TimerEventInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Series timer cancelled message.

Link copied to clipboard
@Serializable
@SerialName(value = "SeriesTimerCreated")
data class SeriesTimerCreatedMessage(val data: TimerEventInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Series timer created message.

Link copied to clipboard
@Serializable
data class SeriesTimerInfoDto(val id: String? = null, val type: String? = null, val serverId: String? = null, val externalId: String? = null, val channelId: UUID? = null, val externalChannelId: String? = null, val channelName: String? = null, val channelPrimaryImageTag: String? = null, val programId: String? = null, val externalProgramId: String? = null, val name: String? = null, val overview: String? = null, val startDate: DateTime? = null, val endDate: DateTime? = null, val serviceName: String? = null, val priority: Int? = null, val prePaddingSeconds: Int? = null, val postPaddingSeconds: Int? = null, val isPrePaddingRequired: Boolean? = null, val parentBackdropItemId: String? = null, val parentBackdropImageTags: List<String>? = null, val isPostPaddingRequired: Boolean? = null, val keepUntil: KeepUntil? = null, val recordAnyTime: Boolean? = null, val skipEpisodesInLibrary: Boolean? = null, val recordAnyChannel: Boolean? = null, val keepUpTo: Int? = null, val recordNewOnly: Boolean? = null, val days: List<DayOfWeek>? = null, val dayPattern: DayPattern? = null, val imageTags: Map<ImageType, String>? = null, val parentThumbItemId: String? = null, val parentThumbImageTag: String? = null, val parentPrimaryImageItemId: UUID? = null, val parentPrimaryImageTag: String? = null)

Class SeriesTimerInfoDto.

Link copied to clipboard
@Serializable
data class SeriesTimerInfoDtoQueryResult(val items: List<SeriesTimerInfoDto>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard
@Serializable
data class ServerConfiguration(val logFileRetentionDays: Int, val isStartupWizardCompleted: Boolean, val cachePath: String? = null, val previousVersion: String? = null, val previousVersionStr: String? = null, val enableMetrics: Boolean, val enableNormalizedItemByNameIds: Boolean, val isPortAuthorized: Boolean, val quickConnectAvailable: Boolean, val enableCaseSensitiveItemIds: Boolean, val disableLiveTvChannelUserDataName: Boolean, val metadataPath: String, val preferredMetadataLanguage: String, val metadataCountryCode: String, val sortReplaceCharacters: List<String>, val sortRemoveCharacters: List<String>, val sortRemoveWords: List<String>, val minResumePct: Int, val maxResumePct: Int, val minResumeDurationSeconds: Int, val minAudiobookResume: Int, val maxAudiobookResume: Int, val inactiveSessionThreshold: Int, val libraryMonitorDelay: Int, val libraryUpdateDuration: Int, val cacheSize: Int, val imageSavingConvention: ImageSavingConvention, val metadataOptions: List<MetadataOptions>, val skipDeserializationForBasicTypes: Boolean, val serverName: String, val uiCulture: String, val saveMetadataHidden: Boolean, val contentTypes: List<NameValuePair>, val remoteClientBitrateLimit: Int, val enableFolderView: Boolean, val enableGroupingMoviesIntoCollections: Boolean, val enableGroupingShowsIntoCollections: Boolean, val displaySpecialsWithinSeasons: Boolean, val codecsUsed: List<String>, val pluginRepositories: List<RepositoryInfo>, val enableExternalContentInSuggestions: Boolean, val imageExtractionTimeoutMs: Int, val pathSubstitutions: List<PathSubstitution>, val enableSlowResponseWarning: Boolean, val slowResponseThresholdMs: Long, val corsHosts: List<String>, val activityLogRetentionDays: Int? = null, val libraryScanFanoutConcurrency: Int, val libraryMetadataRefreshConcurrency: Int, val allowClientLogUpload: Boolean, val dummyChapterDuration: Int, val chapterImageResolution: ImageResolution, val parallelImageEncodingLimit: Int, val castReceiverApplications: List<CastReceiverApplication>, val trickplayOptions: TrickplayOptions, val enableLegacyAuthorization: Boolean)

Represents the server configuration.

Link copied to clipboard
@Serializable
data class ServerDiscoveryInfo(val address: String, val id: String, val name: String, val endpointAddress: String? = null)

The server discovery info model.

Link copied to clipboard
@Serializable
@SerialName(value = "ServerRestarting")
data class ServerRestartingMessage(val messageId: UUID) : OutboundWebSocketMessage

Server restarting down message.

Link copied to clipboard
@Serializable
@SerialName(value = "ServerShuttingDown")
data class ServerShuttingDownMessage(val messageId: UUID) : OutboundWebSocketMessage

Server shutting down message.

Link copied to clipboard
@Serializable
data class SessionInfoDto(val playState: PlayerStateInfo? = null, val additionalUsers: List<SessionUserInfo>? = null, val capabilities: ClientCapabilitiesDto? = null, val remoteEndPoint: String? = null, val playableMediaTypes: List<MediaType>, val id: String? = null, val userId: UUID, val userName: String? = null, val client: String? = null, val lastActivityDate: DateTime, val lastPlaybackCheckIn: DateTime, val lastPausedDate: DateTime? = null, val deviceName: String? = null, val deviceType: String? = null, val nowPlayingItem: BaseItemDto? = null, val nowViewingItem: BaseItemDto? = null, val deviceId: String? = null, val applicationVersion: String? = null, val transcodingInfo: TranscodingInfo? = null, val isActive: Boolean, val supportsMediaControl: Boolean, val supportsRemoteControl: Boolean, val nowPlayingQueue: List<QueueItem>? = null, val nowPlayingQueueFullItems: List<BaseItemDto>? = null, val hasCustomDeviceName: Boolean, val playlistItemId: String? = null, val serverId: String? = null, val userPrimaryImageTag: String? = null, val supportedCommands: List<GeneralCommandType>)

Session info DTO.

Link copied to clipboard

The different kinds of messages that are used in the WebSocket api.

Link copied to clipboard
@Serializable
@SerialName(value = "Sessions")
data class SessionsMessage(val data: List<SessionInfoDto>? = null, val messageId: UUID) : OutboundWebSocketMessage

Sessions message.

Link copied to clipboard
@Serializable
@SerialName(value = "SessionsStart")
data class SessionsStartMessage(val data: String? = null) : InboundWebSocketMessage

Sessions start message. Data is the timing data encoded as "

$initialDelay,$

interval" in ms.

Link copied to clipboard
@Serializable
@SerialName(value = "SessionsStop")
class SessionsStopMessage : InboundWebSocketMessage

Sessions stop message.

Link copied to clipboard
@Serializable
data class SessionUserInfo(val userId: UUID, val userName: String? = null)

Class SessionUserInfo.

Link copied to clipboard
@Serializable
data class SetChannelMappingDto(val providerId: String, val tunerChannelId: String, val providerChannelId: String)

Set channel mapping dto.

Link copied to clipboard
@Serializable
data class SetPlaylistItemRequestDto(val playlistItemId: UUID)

Class SetPlaylistItemRequestDto.

Link copied to clipboard
@Serializable
data class SetRepeatModeRequestDto(val mode: GroupRepeatMode)

Class SetRepeatModeRequestDto.

Link copied to clipboard
@Serializable
data class SetShuffleModeRequestDto(val mode: GroupShuffleMode)

Class SetShuffleModeRequestDto.

Link copied to clipboard
@Serializable
data class SongInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean, val albumArtists: List<String>? = null, val album: String? = null, val artists: List<String>? = null)
Link copied to clipboard
@Serializable
enum SortOrder : Enum<SortOrder>

An enum representing the sorting order.

Link copied to clipboard
@Serializable
data class SpecialViewOptionDto(val name: String? = null, val id: String? = null)

Special view option dto.

Link copied to clipboard
@Serializable
data class StartupConfigurationDto(val serverName: String? = null, val uiCulture: String? = null, val metadataCountryCode: String? = null, val preferredMetadataLanguage: String? = null)

The startup configuration DTO.

Link copied to clipboard
@Serializable
data class StartupRemoteAccessDto(val enableRemoteAccess: Boolean, val enableAutomaticPortMapping: Boolean)

Startup remote access dto.

Link copied to clipboard
@Serializable
data class StartupUserDto(val name: String? = null, val password: String? = null)

The startup user DTO.

Link copied to clipboard

Delivery method to use during playback of a specific subtitle format.

Link copied to clipboard
@Serializable
data class SubtitleOptions(val skipIfEmbeddedSubtitlesPresent: Boolean, val skipIfAudioTrackMatches: Boolean, val downloadLanguages: List<String>? = null, val downloadMovieSubtitles: Boolean, val downloadEpisodeSubtitles: Boolean, val openSubtitlesUsername: String? = null, val openSubtitlesPasswordHash: String? = null, val isOpenSubtitleVipAccount: Boolean, val requirePerfectMatch: Boolean)
Link copied to clipboard

An enum representing a subtitle playback mode.

Link copied to clipboard
@Serializable
data class SubtitleProfile(val format: String? = null, val method: SubtitleDeliveryMethod, val didlMode: String? = null, val language: String? = null, val container: String? = null)

A class for subtitle profile information.

Link copied to clipboard
@Serializable
@SerialName(value = "SyncPlayCommand")
data class SyncPlayCommandMessage(val data: SendCommand? = null, val messageId: UUID) : OutboundWebSocketMessage

Sync play command.

Link copied to clipboard
@Serializable
@SerialName(value = "GroupDoesNotExist")
data class SyncPlayGroupDoesNotExistUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "GroupJoined")
data class SyncPlayGroupJoinedUpdate(val groupId: UUID, val data: GroupInfoDto) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "GroupLeft")
data class SyncPlayGroupLeftUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "SyncPlayGroupUpdate")
data class SyncPlayGroupUpdateMessage(val data: GroupUpdate, val messageId: UUID) : OutboundWebSocketMessage

Untyped sync play command.

Link copied to clipboard
@Serializable
@SerialName(value = "LibraryAccessDenied")
data class SyncPlayLibraryAccessDeniedUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "NotInGroup")
data class SyncPlayNotInGroupUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "PlayQueue")
data class SyncPlayPlayQueueUpdate(val groupId: UUID, val data: PlayQueueUpdate) : GroupUpdate
Link copied to clipboard
@Serializable
data class SyncPlayQueueItem(val itemId: UUID, val playlistItemId: UUID)

Class QueueItem.

Link copied to clipboard
@Serializable
@SerialName(value = "StateUpdate")
data class SyncPlayStateUpdate(val groupId: UUID, val data: GroupStateUpdate) : GroupUpdate
Link copied to clipboard

Enum SyncPlayUserAccessType.

Link copied to clipboard
@Serializable
@SerialName(value = "UserJoined")
data class SyncPlayUserJoinedUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
@SerialName(value = "UserLeft")
data class SyncPlayUserLeftUpdate(val groupId: UUID, val data: String) : GroupUpdate
Link copied to clipboard
@Serializable
data class SystemInfo(val localAddress: String? = null, val serverName: String? = null, val version: String? = null, val productName: String? = null, val operatingSystem: String? = null, val id: String? = null, val startupWizardCompleted: Boolean? = null, val operatingSystemDisplayName: String? = null, val packageName: String? = null, val hasPendingRestart: Boolean, val isShuttingDown: Boolean, val supportsLibraryMonitor: Boolean, val webSocketPortNumber: Int, val completedInstallations: List<InstallationInfo>? = null, val canSelfRestart: Boolean = true, val canLaunchWebBrowser: Boolean = false, val programDataPath: String? = null, val webPath: String? = null, val itemsByNamePath: String? = null, val cachePath: String? = null, val logPath: String? = null, val internalMetadataPath: String? = null, val transcodingTempPath: String? = null, val castReceiverApplications: List<CastReceiverApplication>? = null, val hasUpdateAvailable: Boolean = false, val encoderLocation: String? = "System", val systemArchitecture: String? = "X64")

Class SystemInfo.

Link copied to clipboard
@Serializable
data class SystemStorageDto(val programDataFolder: FolderStorageDto, val webFolder: FolderStorageDto, val imageCacheFolder: FolderStorageDto, val cacheFolder: FolderStorageDto, val logFolder: FolderStorageDto, val internalMetadataFolder: FolderStorageDto, val transcodingTempFolder: FolderStorageDto, val libraries: List<LibraryStorageDto>)

Contains informations about the systems storage.

Link copied to clipboard

Enum TaskCompletionStatus.

Link copied to clipboard
@Serializable
data class TaskInfo(val name: String? = null, val state: TaskState, val currentProgressPercentage: Double? = null, val id: String? = null, val lastExecutionResult: TaskResult? = null, val triggers: List<TaskTriggerInfo>? = null, val description: String? = null, val category: String? = null, val isHidden: Boolean, val key: String? = null)

Class TaskInfo.

Link copied to clipboard
@Serializable
data class TaskResult(val startTimeUtc: DateTime, val endTimeUtc: DateTime, val status: TaskCompletionStatus, val name: String? = null, val key: String? = null, val id: String? = null, val errorMessage: String? = null, val longErrorMessage: String? = null)

Class TaskExecutionInfo.

Link copied to clipboard
@Serializable
enum TaskState : Enum<TaskState>

Enum TaskState.

Link copied to clipboard
@Serializable
data class TaskTriggerInfo(val type: TaskTriggerInfoType, val timeOfDayTicks: Long? = null, val intervalTicks: Long? = null, val dayOfWeek: DayOfWeek? = null, val maxRuntimeTicks: Long? = null)

Class TaskTriggerInfo.

Link copied to clipboard

Enum TaskTriggerInfoType.

Link copied to clipboard
@Serializable
data class ThemeMediaResult(val items: List<BaseItemDto>, val totalRecordCount: Int, val startIndex: Int, val ownerId: UUID)

Class ThemeMediaResult.

Link copied to clipboard
@Serializable
@SerialName(value = "TimerCancelled")
data class TimerCancelledMessage(val data: TimerEventInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Timer cancelled message.

Link copied to clipboard
@Serializable
@SerialName(value = "TimerCreated")
data class TimerCreatedMessage(val data: TimerEventInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

Timer created message.

Link copied to clipboard
@Serializable
data class TimerEventInfo(val id: String, val programId: UUID? = null)
Link copied to clipboard
@Serializable
data class TimerInfoDto(val id: String? = null, val type: String? = null, val serverId: String? = null, val externalId: String? = null, val channelId: UUID? = null, val externalChannelId: String? = null, val channelName: String? = null, val channelPrimaryImageTag: String? = null, val programId: String? = null, val externalProgramId: String? = null, val name: String? = null, val overview: String? = null, val startDate: DateTime? = null, val endDate: DateTime? = null, val serviceName: String? = null, val priority: Int? = null, val prePaddingSeconds: Int? = null, val postPaddingSeconds: Int? = null, val isPrePaddingRequired: Boolean? = null, val parentBackdropItemId: String? = null, val parentBackdropImageTags: List<String>? = null, val isPostPaddingRequired: Boolean? = null, val keepUntil: KeepUntil? = null, val status: RecordingStatus? = null, val seriesTimerId: String? = null, val externalSeriesTimerId: String? = null, val runTimeTicks: Long? = null, val programInfo: BaseItemDto? = null)
Link copied to clipboard
@Serializable
data class TimerInfoDtoQueryResult(val items: List<TimerInfoDto>, val totalRecordCount: Int, val startIndex: Int)

Query result container.

Link copied to clipboard

Enum containing tonemapping algorithms.

Link copied to clipboard
@Serializable
enum TonemappingMode : Enum<TonemappingMode>

Enum containing tonemapping modes.

Link copied to clipboard
@Serializable
enum TonemappingRange : Enum<TonemappingRange>

Enum containing tonemapping ranges.

Link copied to clipboard
@Serializable
data class TrailerInfo(val name: String? = null, val originalTitle: String? = null, val path: String? = null, val metadataLanguage: String? = null, val metadataCountryCode: String? = null, val providerIds: Map<String, String?>? = null, val year: Int? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val premiereDate: DateTime? = null, val isAutomated: Boolean)
Link copied to clipboard
@Serializable
data class TrailerInfoRemoteSearchQuery(val searchInfo: TrailerInfo? = null, val itemId: UUID, val searchProviderName: String? = null, val includeDisabledProviders: Boolean)
Link copied to clipboard
@Serializable
enum TranscodeReason : Enum<TranscodeReason>
Link copied to clipboard
Link copied to clipboard
@Serializable
data class TranscodingInfo(val audioCodec: String? = null, val videoCodec: String? = null, val container: String? = null, val isVideoDirect: Boolean, val isAudioDirect: Boolean, val bitrate: Int? = null, val framerate: Float? = null, val completionPercentage: Double? = null, val width: Int? = null, val height: Int? = null, val audioChannels: Int? = null, val hardwareAccelerationType: HardwareAccelerationType? = null, val transcodeReasons: List<TranscodeReason>)

Class holding information on a running transcode.

Link copied to clipboard
@Serializable
data class TranscodingProfile(val container: String, val type: DlnaProfileType, val videoCodec: String, val audioCodec: String, val protocol: MediaStreamProtocol, val estimateContentLength: Boolean = false, val enableMpegtsM2TsMode: Boolean = false, val transcodeSeekInfo: TranscodeSeekInfo = TranscodeSeekInfo.AUTO, val copyTimestamps: Boolean = false, val context: EncodingContext = EncodingContext.STREAMING, val enableSubtitlesInManifest: Boolean = false, val maxAudioChannels: String? = null, val minSegments: Int = 0, val segmentLength: Int = 0, val breakOnNonKeyFrames: Boolean = false, val conditions: List<ProfileCondition>, val enableAudioVbrEncoding: Boolean = true)

A class for transcoding profile information. Note for client developers: Conditions defined in MediaBrowser.Model.Dlna.CodecProfile has higher priority and can override values defined here.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class TrickplayInfoDto(val width: Int, val height: Int, val tileWidth: Int, val tileHeight: Int, val thumbnailCount: Int, val interval: Int, val bandwidth: Int)

The trickplay api model.

Link copied to clipboard
@Serializable
data class TrickplayOptions(val enableHwAcceleration: Boolean, val enableHwEncoding: Boolean, val enableKeyFrameOnlyExtraction: Boolean, val scanBehavior: TrickplayScanBehavior, val processPriority: ProcessPriorityClass, val interval: Int, val widthResolutions: List<Int>, val tileWidth: Int, val tileHeight: Int, val qscale: Int, val jpegQuality: Int, val processThreads: Int)

Class TrickplayOptions.

Link copied to clipboard

Enum TrickplayScanBehavior.

Link copied to clipboard
@Serializable
data class TunerChannelMapping(val name: String? = null, val providerChannelName: String? = null, val providerChannelId: String? = null, val id: String? = null)
Link copied to clipboard
@Serializable
data class TunerHostInfo(val id: String? = null, val url: String? = null, val type: String? = null, val deviceId: String? = null, val friendlyName: String? = null, val importFavoritesOnly: Boolean, val allowHwTranscoding: Boolean, val allowFmp4TranscodingContainer: Boolean, val allowStreamSharing: Boolean, val fallbackMaxStreamingBitrate: Int, val enableStreamLooping: Boolean, val source: String? = null, val tunerCount: Int, val userAgent: String? = null, val ignoreDts: Boolean, val readAtNativeFramerate: Boolean)
Link copied to clipboard
@Serializable
data class TypeOptions(val type: String? = null, val metadataFetchers: List<String>? = null, val metadataFetcherOrder: List<String>? = null, val imageFetchers: List<String>? = null, val imageFetcherOrder: List<String>? = null, val imageOptions: List<ImageOption>? = null)
Link copied to clipboard
@Serializable
enum UnratedItem : Enum<UnratedItem>

An enum representing an unrated item.

Link copied to clipboard
@Serializable
data class UpdateLibraryOptionsDto(val id: UUID, val libraryOptions: LibraryOptions? = null)

Update library options dto.

Link copied to clipboard
@Serializable
data class UpdateMediaPathRequestDto(val name: String, val pathInfo: MediaPathInfo)

Update library options dto.

Link copied to clipboard
@Serializable
data class UpdatePlaylistDto(val name: String? = null, val ids: List<UUID>? = null, val users: List<PlaylistUserPermissions>? = null, val isPublic: Boolean? = null)

Update existing playlist dto. Fields set to null will not be updated and keep their current values.

Link copied to clipboard
@Serializable
data class UpdatePlaylistUserDto(val canEdit: Boolean? = null)

Update existing playlist user dto. Fields set to null will not be updated and keep their current values.

Link copied to clipboard
@Serializable
data class UpdateUserItemDataDto(val rating: Double? = null, val playedPercentage: Double? = null, val unplayedItemCount: Int? = null, val playbackPositionTicks: Long? = null, val playCount: Int? = null, val isFavorite: Boolean? = null, val likes: Boolean? = null, val lastPlayedDate: DateTime? = null, val played: Boolean? = null, val key: String? = null, val itemId: String? = null)

This is used by the api to get information about a item user data.

Link copied to clipboard
@Serializable
data class UpdateUserPassword(val currentPassword: String? = null, val currentPw: String? = null, val newPw: String? = null, val resetPassword: Boolean)

The update user password request body.

Link copied to clipboard
@Serializable
data class UploadSubtitleDto(val language: String, val format: String, val isForced: Boolean, val isHearingImpaired: Boolean, val data: String)

Upload subtitles dto.

Link copied to clipboard
@Serializable
data class UserConfiguration(val audioLanguagePreference: String? = null, val playDefaultAudioTrack: Boolean, val subtitleLanguagePreference: String? = null, val displayMissingEpisodes: Boolean, val groupedFolders: List<UUID>, val subtitleMode: SubtitlePlaybackMode, val displayCollectionsView: Boolean, val enableLocalPassword: Boolean, val orderedViews: List<UUID>, val latestItemsExcludes: List<UUID>, val myMediaExcludes: List<UUID>, val hidePlayedInLatest: Boolean, val rememberAudioSelections: Boolean, val rememberSubtitleSelections: Boolean, val enableNextEpisodeAutoPlay: Boolean, val castReceiverId: String? = null)

Class UserConfiguration.

Link copied to clipboard
@Serializable
@SerialName(value = "UserDataChanged")
data class UserDataChangedMessage(val data: UserDataChangeInfo? = null, val messageId: UUID) : OutboundWebSocketMessage

User data changed message.

Link copied to clipboard
@Serializable
data class UserDataChangeInfo(val userId: UUID, val userDataList: List<UserItemDataDto>)

Class UserDataChangeInfo.

Link copied to clipboard
@Serializable
@SerialName(value = "UserDeleted")
data class UserDeletedMessage(val data: UUID, val messageId: UUID) : OutboundWebSocketMessage

User deleted message.

Link copied to clipboard
@Serializable
data class UserDto(val name: String? = null, val serverId: String? = null, val serverName: String? = null, val id: UUID, val primaryImageTag: String? = null, val hasPassword: Boolean, val hasConfiguredPassword: Boolean, val hasConfiguredEasyPassword: Boolean, val enableAutoLogin: Boolean? = null, val lastLoginDate: DateTime? = null, val lastActivityDate: DateTime? = null, val configuration: UserConfiguration? = null, val policy: UserPolicy? = null, val primaryImageAspectRatio: Double? = null)

Class UserDto.

Link copied to clipboard
@Serializable
data class UserItemDataDto(val rating: Double? = null, val playedPercentage: Double? = null, val unplayedItemCount: Int? = null, val playbackPositionTicks: Long, val playCount: Int, val isFavorite: Boolean, val likes: Boolean? = null, val lastPlayedDate: DateTime? = null, val played: Boolean, val key: String, val itemId: UUID)

Class UserItemDataDto.

Link copied to clipboard
@Serializable
data class UserPolicy(val isAdministrator: Boolean, val isHidden: Boolean, val enableCollectionManagement: Boolean = false, val enableSubtitleManagement: Boolean = false, val enableLyricManagement: Boolean = false, val isDisabled: Boolean, val maxParentalRating: Int? = null, val maxParentalSubRating: Int? = null, val blockedTags: List<String>? = null, val allowedTags: List<String>? = null, val enableUserPreferenceAccess: Boolean, val accessSchedules: List<AccessSchedule>? = null, val blockUnratedItems: List<UnratedItem>? = null, val enableRemoteControlOfOtherUsers: Boolean, val enableSharedDeviceControl: Boolean, val enableRemoteAccess: Boolean, val enableLiveTvManagement: Boolean, val enableLiveTvAccess: Boolean, val enableMediaPlayback: Boolean, val enableAudioPlaybackTranscoding: Boolean, val enableVideoPlaybackTranscoding: Boolean, val enablePlaybackRemuxing: Boolean, val forceRemoteSourceTranscoding: Boolean, val enableContentDeletion: Boolean, val enableContentDeletionFromFolders: List<String>? = null, val enableContentDownloading: Boolean, val enableSyncTranscoding: Boolean, val enableMediaConversion: Boolean, val enabledDevices: List<String>? = null, val enableAllDevices: Boolean, val enabledChannels: List<UUID>? = null, val enableAllChannels: Boolean, val enabledFolders: List<UUID>? = null, val enableAllFolders: Boolean, val invalidLoginAttemptCount: Int, val loginAttemptsBeforeLockout: Int, val maxActiveSessions: Int, val enablePublicSharing: Boolean, val blockedMediaFolders: List<UUID>? = null, val blockedChannels: List<UUID>? = null, val remoteClientBitrateLimit: Int, val authenticationProviderId: String, val passwordResetProviderId: String, val syncPlayAccess: SyncPlayUserAccessType)
Link copied to clipboard
@Serializable
@SerialName(value = "UserUpdated")
data class UserUpdatedMessage(val data: UserDto? = null, val messageId: UUID) : OutboundWebSocketMessage

User updated message.

Link copied to clipboard
@Serializable
data class UtcTimeResponse(val requestReceptionTime: DateTime, val responseTransmissionTime: DateTime)

Class UtcTimeResponse.

Link copied to clipboard
@Serializable
data class ValidatePathDto(val validateWritable: Boolean, val path: String? = null, val isFile: Boolean? = null)

Validate path object.

Link copied to clipboard
@Serializable
data class VersionInfo(val version: String, val versionNumber: String, val changelog: String? = null, val targetAbi: String? = null, val sourceUrl: String? = null, val checksum: String? = null, val timestamp: String? = null, val repositoryName: String, val repositoryUrl: String)

Defines the MediaBrowser.Model.Updates.VersionInfo class.

Link copied to clipboard
@Serializable
enum Video3dFormat : Enum<Video3dFormat>
Link copied to clipboard
@Serializable
enum VideoRange : Enum<VideoRange>

An enum representing video ranges.

Link copied to clipboard
@Serializable
enum VideoRangeType : Enum<VideoRangeType>

An enum representing types of video ranges.

Link copied to clipboard
@Serializable
enum VideoType : Enum<VideoType>

Enum VideoType.

Link copied to clipboard
@Serializable
data class VirtualFolderInfo(val name: String? = null, val locations: List<String>? = null, val collectionType: CollectionTypeOptions? = null, val libraryOptions: LibraryOptions? = null, val itemId: String? = null, val primaryImageItemId: String? = null, val refreshProgress: Double? = null, val refreshStatus: String? = null)

Used to hold information about a user's list of configured virtual folders.

Link copied to clipboard
sealed interface WebSocketMessage

Represents the possible websocket types

Link copied to clipboard
@Serializable
data class XbmcMetadataOptions(val userId: String? = null, val releaseDateFormat: String, val saveImagePathsInNfo: Boolean, val enablePathSubstitution: Boolean, val enableExtraThumbsDuplication: Boolean)