jellyflood/JellyfinPlayer/Swaggers/APIs/TvShowsAPI.swift

5392 lines
168 KiB
Swift

//
// TvShowsAPI.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
import Alamofire
open class TvShowsAPI {
/**
Gets episodes for a tv season.
- parameter seriesId: (path) The series id.
- parameter userId: (query) The user id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. (optional)
- parameter season: (query) Optional filter by season number. (optional)
- parameter seasonId: (query) Optional. Filter by season id. (optional)
- parameter isMissing: (query) Optional. Filter by items that are missing episodes or not. (optional)
- parameter adjacentTo: (query) Optional. Return items that are siblings of a supplied item. (optional)
- parameter startItemId: (query) Optional. Skip through the list until a given item is found. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter enableImages: (query) Optional, include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional, the max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter sortBy: (query) Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getEpisodes(seriesId: UUID, userId: UUID? = nil, fields: [ItemFields]? = nil, season: Int? = nil, seasonId: UUID? = nil, isMissing: Bool? = nil, adjacentTo: String? = nil, startItemId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, sortBy: String? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getEpisodesWithRequestBuilder(seriesId: seriesId, userId: userId, fields: fields, season: season, seasonId: seasonId, isMissing: isMissing, adjacentTo: adjacentTo, startItemId: startItemId, startIndex: startIndex, limit: limit, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, enableUserData: enableUserData, sortBy: sortBy).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets episodes for a tv season.
- GET /Shows/{seriesId}/Episodes
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 7,
"StartIndex" : 5,
"Items" : [ {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
}, {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
} ]
}}]
- parameter seriesId: (path) The series id.
- parameter userId: (query) The user id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. (optional)
- parameter season: (query) Optional filter by season number. (optional)
- parameter seasonId: (query) Optional. Filter by season id. (optional)
- parameter isMissing: (query) Optional. Filter by items that are missing episodes or not. (optional)
- parameter adjacentTo: (query) Optional. Return items that are siblings of a supplied item. (optional)
- parameter startItemId: (query) Optional. Skip through the list until a given item is found. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter enableImages: (query) Optional, include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional, the max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter sortBy: (query) Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getEpisodesWithRequestBuilder(seriesId: UUID, userId: UUID? = nil, fields: [ItemFields]? = nil, season: Int? = nil, seasonId: UUID? = nil, isMissing: Bool? = nil, adjacentTo: String? = nil, startItemId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, sortBy: String? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
var path = "/Shows/{seriesId}/Episodes"
let seriesIdPreEscape = "\(seriesId)"
let seriesIdPostEscape = seriesIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{seriesId}", with: seriesIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId,
"fields": fields,
"season": season?.encodeToJSON(),
"seasonId": seasonId,
"isMissing": isMissing,
"adjacentTo": adjacentTo,
"startItemId": startItemId,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"enableUserData": enableUserData,
"sortBy": sortBy
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a list of next up episodes.
- parameter userId: (query) The user id of the user to get the next up episodes for. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter seriesId: (query) Optional. Filter by series id. (optional)
- parameter parentId: (query) Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. (optional)
- parameter enableImges: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter enableTotalRecordCount: (query) Whether to enable the total records count. Defaults to true. (optional, default to true)
- parameter disableFirstEpisode: (query) Whether to disable sending the first episode in a series as next up. (optional, default to false)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getNextUp(userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, fields: [ItemFields]? = nil, seriesId: String? = nil, parentId: UUID? = nil, enableImges: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil, disableFirstEpisode: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getNextUpWithRequestBuilder(userId: userId, startIndex: startIndex, limit: limit, fields: fields, seriesId: seriesId, parentId: parentId, enableImges: enableImges, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, enableUserData: enableUserData, enableTotalRecordCount: enableTotalRecordCount, disableFirstEpisode: disableFirstEpisode).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a list of next up episodes.
- GET /Shows/NextUp
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 7,
"StartIndex" : 5,
"Items" : [ {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
}, {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
} ]
}}]
- parameter userId: (query) The user id of the user to get the next up episodes for. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter seriesId: (query) Optional. Filter by series id. (optional)
- parameter parentId: (query) Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. (optional)
- parameter enableImges: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter enableTotalRecordCount: (query) Whether to enable the total records count. Defaults to true. (optional, default to true)
- parameter disableFirstEpisode: (query) Whether to disable sending the first episode in a series as next up. (optional, default to false)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getNextUpWithRequestBuilder(userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, fields: [ItemFields]? = nil, seriesId: String? = nil, parentId: UUID? = nil, enableImges: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil, disableFirstEpisode: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/Shows/NextUp"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"fields": fields,
"seriesId": seriesId,
"parentId": parentId,
"enableImges": enableImges,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"enableUserData": enableUserData,
"enableTotalRecordCount": enableTotalRecordCount,
"disableFirstEpisode": disableFirstEpisode
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets seasons for a tv series.
- parameter seriesId: (path) The series id.
- parameter userId: (query) The user id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. (optional)
- parameter isSpecialSeason: (query) Optional. Filter by special season. (optional)
- parameter isMissing: (query) Optional. Filter by items that are missing episodes or not. (optional)
- parameter adjacentTo: (query) Optional. Return items that are siblings of a supplied item. (optional)
- parameter enableImages: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getSeasons(seriesId: UUID, userId: UUID? = nil, fields: [ItemFields]? = nil, isSpecialSeason: Bool? = nil, isMissing: Bool? = nil, adjacentTo: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getSeasonsWithRequestBuilder(seriesId: seriesId, userId: userId, fields: fields, isSpecialSeason: isSpecialSeason, isMissing: isMissing, adjacentTo: adjacentTo, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, enableUserData: enableUserData).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets seasons for a tv series.
- GET /Shows/{seriesId}/Seasons
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 7,
"StartIndex" : 5,
"Items" : [ {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
}, {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
} ]
}}]
- parameter seriesId: (path) The series id.
- parameter userId: (query) The user id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. (optional)
- parameter isSpecialSeason: (query) Optional. Filter by special season. (optional)
- parameter isMissing: (query) Optional. Filter by items that are missing episodes or not. (optional)
- parameter adjacentTo: (query) Optional. Return items that are siblings of a supplied item. (optional)
- parameter enableImages: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getSeasonsWithRequestBuilder(seriesId: UUID, userId: UUID? = nil, fields: [ItemFields]? = nil, isSpecialSeason: Bool? = nil, isMissing: Bool? = nil, adjacentTo: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
var path = "/Shows/{seriesId}/Seasons"
let seriesIdPreEscape = "\(seriesId)"
let seriesIdPostEscape = seriesIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{seriesId}", with: seriesIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId,
"fields": fields,
"isSpecialSeason": isSpecialSeason,
"isMissing": isMissing,
"adjacentTo": adjacentTo,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"enableUserData": enableUserData
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a list of upcoming episodes.
- parameter userId: (query) The user id of the user to get the upcoming episodes for. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter parentId: (query) Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. (optional)
- parameter enableImges: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getUpcomingEpisodes(userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, fields: [ItemFields]? = nil, parentId: UUID? = nil, enableImges: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getUpcomingEpisodesWithRequestBuilder(userId: userId, startIndex: startIndex, limit: limit, fields: fields, parentId: parentId, enableImges: enableImges, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, enableUserData: enableUserData).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a list of upcoming episodes.
- GET /Shows/Upcoming
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 7,
"StartIndex" : 5,
"Items" : [ {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
}, {
"SeasonName" : "SeasonName",
"PremiereDate" : "2000-01-23T04:56:07.000+00:00",
"CriticRating" : 9.018348,
"AirTime" : "AirTime",
"Studios" : [ {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
}, {
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"Name" : "Name"
} ],
"CameraMake" : "CameraMake",
"Aperture" : 1.041444916118296,
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"ExtraType" : "ExtraType",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Etag" : "Etag",
"ParentLogoImageTag" : "ParentLogoImageTag",
"ExposureTime" : 6.628464275087742,
"IsoType" : "",
"MediaType" : "MediaType",
"Tags" : [ "Tags", "Tags" ],
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
},
"Status" : "Status",
"IndexNumberEnd" : 6,
"ArtistItems" : [ null, null ],
"MediaSources" : [ {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
}, {
"EncoderPath" : "EncoderPath",
"RequiredHttpHeaders" : {
"key" : "RequiredHttpHeaders"
},
"RunTimeTicks" : 5,
"MediaStreams" : [ {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
}, {
"VideoRange" : "VideoRange",
"CodecTimeBase" : "CodecTimeBase",
"ColorSpace" : "ColorSpace",
"Index" : 7,
"ColorRange" : "ColorRange",
"localizedForced" : "localizedForced",
"BitDepth" : 9,
"Channels" : 4,
"Profile" : "Profile",
"SupportsExternalStream" : true,
"localizedDefault" : "localizedDefault",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"ColorPrimaries" : "ColorPrimaries",
"SampleRate" : 7,
"Language" : "Language",
"IsTextSubtitleStream" : true,
"IsAnamorphic" : true,
"NalLengthSize" : "NalLengthSize",
"Height" : 1,
"PixelFormat" : "PixelFormat",
"RefFrames" : 3,
"IsAVC" : true,
"Width" : 1,
"TimeBase" : "TimeBase",
"ColorTransfer" : "ColorTransfer",
"CodecTag" : "CodecTag",
"IsDefault" : true,
"Path" : "Path",
"Comment" : "Comment",
"DeliveryMethod" : "",
"IsExternalUrl" : true,
"DisplayTitle" : "DisplayTitle",
"IsForced" : true,
"ChannelLayout" : "ChannelLayout",
"localizedUndefined" : "localizedUndefined",
"PacketLength" : 2,
"Title" : "Title",
"RealFrameRate" : 6.846853,
"AspectRatio" : "AspectRatio",
"AverageFrameRate" : 1.4894159,
"Type" : "",
"Score" : 1,
"IsExternal" : true,
"IsInterlaced" : true,
"Level" : 4.965218492984954,
"BitRate" : 7
} ],
"Size" : 5,
"Video3DFormat" : "",
"BufferMs" : 2,
"Timestamp" : "",
"Name" : "Name",
"RequiresOpening" : true,
"SupportsDirectStream" : true,
"VideoType" : "",
"RequiresClosing" : true,
"Container" : "Container",
"IsoType" : "",
"LiveStreamId" : "LiveStreamId",
"RequiresLooping" : true,
"Protocol" : "",
"DefaultSubtitleStreamIndex" : 8,
"GenPtsInput" : true,
"IsInfiniteStream" : true,
"Path" : "Path",
"IsRemote" : true,
"EncoderProtocol" : "",
"IgnoreIndex" : true,
"SupportsDirectPlay" : true,
"TranscodingSubProtocol" : "TranscodingSubProtocol",
"Formats" : [ "Formats", "Formats" ],
"AnalyzeDurationMs" : 9,
"Bitrate" : 9,
"OpenToken" : "OpenToken",
"SupportsProbing" : true,
"Type" : "",
"MediaAttachments" : [ {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
}, {
"CodecTag" : "CodecTag",
"Comment" : "Comment",
"DeliveryUrl" : "DeliveryUrl",
"Codec" : "Codec",
"FileName" : "FileName",
"Index" : 5,
"MimeType" : "MimeType"
} ],
"ReadAtNativeFramerate" : true,
"ETag" : "ETag",
"TranscodingContainer" : "TranscodingContainer",
"IgnoreDts" : true,
"TranscodingUrl" : "TranscodingUrl",
"Id" : "Id",
"SupportsTranscoding" : true,
"DefaultAudioStreamIndex" : 6
} ],
"GenreItems" : [ null, null ],
"OfficialRating" : "OfficialRating",
"ProgramCount" : 7,
"ProgramId" : "ProgramId",
"Longitude" : 9.132027271330688,
"LockData" : true,
"FocalLength" : 4.258773108174356,
"IsNews" : true,
"ShutterSpeed" : 4.678947989005849,
"Id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"IsFolder" : true,
"SeriesTimerId" : "SeriesTimerId",
"SeriesId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MediaStreams" : [ null, null ],
"IsPlaceHolder" : true,
"CanDownload" : true,
"SeriesCount" : 8,
"IsMovie" : true,
"DateLastMediaAdded" : "2000-01-23T04:56:07.000+00:00",
"ParentArtImageTag" : "ParentArtImageTag",
"PlayAccess" : "",
"SeriesStudio" : "SeriesStudio",
"IsLive" : true,
"Width" : 4,
"ExternalUrls" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"RecursiveItemCount" : 6,
"Path" : "Path",
"ParentId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"MusicVideoCount" : 3,
"ScreenshotImageTags" : [ "ScreenshotImageTags", "ScreenshotImageTags" ],
"EpisodeCount" : 3,
"IsSeries" : true,
"ProductionLocations" : [ "ProductionLocations", "ProductionLocations" ],
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"SeriesPrimaryImageTag" : "SeriesPrimaryImageTag",
"ParentThumbItemId" : "ParentThumbItemId",
"PreferredMetadataLanguage" : "PreferredMetadataLanguage",
"Type" : "Type",
"BackdropImageTags" : [ "BackdropImageTags", "BackdropImageTags" ],
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"AirsBeforeEpisodeNumber" : 1,
"ChildCount" : 3,
"Audio" : "",
"Artists" : [ "Artists", "Artists" ],
"ChannelType" : "",
"RunTimeTicks" : 6,
"AlbumPrimaryImageTag" : "AlbumPrimaryImageTag",
"Video3DFormat" : "",
"CumulativeRunTimeTicks" : 3,
"SourceType" : "SourceType",
"CanDelete" : true,
"PlaylistItemId" : "PlaylistItemId",
"DisplayPreferencesId" : "DisplayPreferencesId",
"Album" : "Album",
"Latitude" : 7.260521264802104,
"SortName" : "SortName",
"ArtistCount" : 5,
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"Container" : "Container",
"ProductionYear" : 1,
"SeriesName" : "SeriesName",
"ParentArtItemId" : "ParentArtItemId",
"AlbumId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"SupportsSync" : true,
"LocalTrailerCount" : 5,
"IndexNumber" : 2,
"CompletionPercentage" : 0.5199002018724985,
"Genres" : [ "Genres", "Genres" ],
"SeasonId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"LockedFields" : [ "Cast", "Cast" ],
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"ProviderIds" : {
"key" : "ProviderIds"
},
"RemoteTrailers" : [ {
"Url" : "Url",
"Name" : "Name"
}, {
"Url" : "Url",
"Name" : "Name"
} ],
"MediaSourceCount" : 7,
"CustomRating" : "CustomRating",
"AirsAfterSeasonNumber" : 6,
"AirDays" : [ "Sunday", "Sunday" ],
"ParentLogoItemId" : "ParentLogoItemId",
"PartCount" : 0,
"ChannelName" : "ChannelName",
"EpisodeTitle" : "EpisodeTitle",
"IsoSpeedRating" : 9,
"CommunityRating" : 6.4384236,
"Software" : "Software",
"Chapters" : [ {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
}, {
"StartPositionTicks" : 6,
"ImageTag" : "ImageTag",
"ImageDateModified" : "2000-01-23T04:56:07.000+00:00",
"ImagePath" : "ImagePath",
"Name" : "Name"
} ],
"SongCount" : 3,
"Taglines" : [ "Taglines", "Taglines" ],
"AirsBeforeSeasonNumber" : 0,
"PreferredMetadataCountryCode" : "PreferredMetadataCountryCode",
"CameraModel" : "CameraModel",
"ChannelNumber" : "ChannelNumber",
"UserData" : "",
"TimerId" : "TimerId",
"DateCreated" : "2000-01-23T04:56:07.000+00:00",
"HasSubtitles" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"IsSports" : true,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ParentIndexNumber" : 6,
"VideoType" : "",
"AlbumArtists" : [ null, null ],
"ServerId" : "ServerId",
"Number" : "Number",
"AlbumCount" : 7,
"IsRepeat" : true,
"CollectionType" : "CollectionType",
"PrimaryImageAspectRatio" : 7.143538047012306,
"Height" : 0,
"IsKids" : true,
"DisplayOrder" : "DisplayOrder",
"IsHD" : true,
"EnableMediaSourceDisplay" : true,
"SeriesThumbImageTag" : "SeriesThumbImageTag",
"MovieCount" : 4,
"People" : [ {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
}, {
"Role" : "Role",
"Type" : "Type",
"PrimaryImageTag" : "PrimaryImageTag",
"Id" : "Id",
"Name" : "Name",
"ImageBlurHashes" : {
"Art" : {
"key" : "Art"
},
"Banner" : {
"key" : "Banner"
},
"Thumb" : {
"key" : "Thumb"
},
"Chapter" : {
"key" : "Chapter"
},
"BoxRear" : {
"key" : "BoxRear"
},
"Box" : {
"key" : "Box"
},
"Profile" : {
"key" : "Profile"
},
"Logo" : {
"key" : "Logo"
},
"Disc" : {
"key" : "Disc"
},
"Primary" : {
"key" : "Primary"
},
"Screenshot" : {
"key" : "Screenshot"
},
"Backdrop" : {
"key" : "Backdrop"
},
"Menu" : {
"key" : "Menu"
}
}
} ],
"Overview" : "Overview",
"SpecialFeatureCount" : 3,
"ImageOrientation" : "",
"AlbumArtist" : "AlbumArtist",
"ImageTags" : {
"key" : "ImageTags"
},
"AspectRatio" : "AspectRatio",
"TrailerCount" : 0,
"OriginalTitle" : "OriginalTitle",
"ForcedSortName" : "ForcedSortName",
"CurrentProgram" : "",
"LocationType" : "",
"IsPremiere" : true,
"Altitude" : 0.8774076871421566
} ]
}}]
- parameter userId: (query) The user id of the user to get the upcoming episodes for. (optional)
- parameter startIndex: (query) Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter parentId: (query) Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. (optional)
- parameter enableImges: (query) Optional. Include image information in output. (optional)
- parameter imageTypeLimit: (query) Optional. The max number of images to return, per image type. (optional)
- parameter enableImageTypes: (query) Optional. The image types to include in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getUpcomingEpisodesWithRequestBuilder(userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, fields: [ItemFields]? = nil, parentId: UUID? = nil, enableImges: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/Shows/Upcoming"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"fields": fields,
"parentId": parentId,
"enableImges": enableImges,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"enableUserData": enableUserData
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
}