jellyflood/JellyfinPlayer/Swaggers/APIs/LiveTvAPI.swift

14474 lines
450 KiB
Swift

//
// LiveTvAPI.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
import Alamofire
open class LiveTvAPI {
/**
Adds a listings provider.
- parameter body: (body) New listings info. (optional)
- parameter pw: (query) Password. (optional)
- parameter validateListings: (query) Validate listings. (optional, default to false)
- parameter validateLogin: (query) Validate login. (optional, default to false)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func addListingProvider(body: LiveTvListingProvidersBody? = nil, pw: String? = nil, validateListings: Bool? = nil, validateLogin: Bool? = nil, completion: @escaping ((_ data: ListingsProviderInfo?,_ error: Error?) -> Void)) {
addListingProviderWithRequestBuilder(body: body, pw: pw, validateListings: validateListings, validateLogin: validateLogin).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Adds a listings provider.
- POST /LiveTv/ListingProviders
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"Path" : "Path",
"NewsCategories" : [ "NewsCategories", "NewsCategories" ],
"ZipCode" : "ZipCode",
"ChannelMappings" : [ {
"Value" : "Value",
"Name" : "Name"
}, {
"Value" : "Value",
"Name" : "Name"
} ],
"ListingsId" : "ListingsId",
"EnabledTuners" : [ "EnabledTuners", "EnabledTuners" ],
"EnableAllTuners" : true,
"Type" : "Type",
"MovieCategories" : [ "MovieCategories", "MovieCategories" ],
"Username" : "Username",
"MoviePrefix" : "MoviePrefix",
"KidsCategories" : [ "KidsCategories", "KidsCategories" ],
"UserAgent" : "UserAgent",
"Country" : "Country",
"PreferredLanguage" : "PreferredLanguage",
"SportsCategories" : [ "SportsCategories", "SportsCategories" ],
"Id" : "Id",
"Password" : "Password"
}}]
- parameter body: (body) New listings info. (optional)
- parameter pw: (query) Password. (optional)
- parameter validateListings: (query) Validate listings. (optional, default to false)
- parameter validateLogin: (query) Validate login. (optional, default to false)
- returns: RequestBuilder<ListingsProviderInfo>
*/
open class func addListingProviderWithRequestBuilder(body: LiveTvListingProvidersBody? = nil, pw: String? = nil, validateListings: Bool? = nil, validateLogin: Bool? = nil) -> RequestBuilder<ListingsProviderInfo> {
let path = "/LiveTv/ListingProviders"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"pw": pw,
"validateListings": validateListings,
"validateLogin": validateLogin
])
let requestBuilder: RequestBuilder<ListingsProviderInfo>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Adds a tuner host.
- parameter body: (body) New tuner host. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func addTunerHost(body: LiveTvTunerHostsBody? = nil, completion: @escaping ((_ data: TunerHostInfo?,_ error: Error?) -> Void)) {
addTunerHostWithRequestBuilder(body: body).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Adds a tuner host.
- POST /LiveTv/TunerHosts
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"Type" : "Type",
"AllowHWTranscoding" : true,
"FriendlyName" : "FriendlyName",
"EnableStreamLooping" : true,
"DeviceId" : "DeviceId",
"TunerCount" : 0,
"ImportFavoritesOnly" : true,
"UserAgent" : "UserAgent",
"Id" : "Id",
"Url" : "Url",
"Source" : "Source"
}}]
- parameter body: (body) New tuner host. (optional)
- returns: RequestBuilder<TunerHostInfo>
*/
open class func addTunerHostWithRequestBuilder(body: LiveTvTunerHostsBody? = nil) -> RequestBuilder<TunerHostInfo> {
let path = "/LiveTv/TunerHosts"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<TunerHostInfo>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Cancels a live tv series timer.
- parameter timerId: (path) Timer id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func cancelSeriesTimer(timerId: String, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
cancelSeriesTimerWithRequestBuilder(timerId: timerId).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Cancels a live tv series timer.
- DELETE /LiveTv/SeriesTimers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter timerId: (path) Timer id.
- returns: RequestBuilder<Void>
*/
open class func cancelSeriesTimerWithRequestBuilder(timerId: String) -> RequestBuilder<Void> {
var path = "/LiveTv/SeriesTimers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Cancels a live tv timer.
- parameter timerId: (path) Timer id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func cancelTimer(timerId: String, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
cancelTimerWithRequestBuilder(timerId: timerId).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Cancels a live tv timer.
- DELETE /LiveTv/Timers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter timerId: (path) Timer id.
- returns: RequestBuilder<Void>
*/
open class func cancelTimerWithRequestBuilder(timerId: String) -> RequestBuilder<Void> {
var path = "/LiveTv/Timers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Creates a live tv series timer.
- parameter body: (body) New series timer info. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func createSeriesTimer(body: LiveTvSeriesTimersBody? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
createSeriesTimerWithRequestBuilder(body: body).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Creates a live tv series timer.
- POST /LiveTv/SeriesTimers
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter body: (body) New series timer info. (optional)
- returns: RequestBuilder<Void>
*/
open class func createSeriesTimerWithRequestBuilder(body: LiveTvSeriesTimersBody? = nil) -> RequestBuilder<Void> {
let path = "/LiveTv/SeriesTimers"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Creates a live tv timer.
- parameter body: (body) New timer info. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func createTimer(body: LiveTvTimersBody? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
createTimerWithRequestBuilder(body: body).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Creates a live tv timer.
- POST /LiveTv/Timers
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter body: (body) New timer info. (optional)
- returns: RequestBuilder<Void>
*/
open class func createTimerWithRequestBuilder(body: LiveTvTimersBody? = nil) -> RequestBuilder<Void> {
let path = "/LiveTv/Timers"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Delete listing provider.
- parameter _id: (query) Listing provider id. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func deleteListingProvider(_id: String? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
deleteListingProviderWithRequestBuilder(_id: _id).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Delete listing provider.
- DELETE /LiveTv/ListingProviders
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter _id: (query) Listing provider id. (optional)
- returns: RequestBuilder<Void>
*/
open class func deleteListingProviderWithRequestBuilder(_id: String? = nil) -> RequestBuilder<Void> {
let path = "/LiveTv/ListingProviders"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"id": _id
])
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Deletes a live tv recording.
- parameter recordingId: (path) Recording id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func deleteRecording(recordingId: UUID, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
deleteRecordingWithRequestBuilder(recordingId: recordingId).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Deletes a live tv recording.
- DELETE /LiveTv/Recordings/{recordingId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter recordingId: (path) Recording id.
- returns: RequestBuilder<Void>
*/
open class func deleteRecordingWithRequestBuilder(recordingId: UUID) -> RequestBuilder<Void> {
var path = "/LiveTv/Recordings/{recordingId}"
let recordingIdPreEscape = "\(recordingId)"
let recordingIdPostEscape = recordingIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{recordingId}", with: recordingIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Deletes a tuner host.
- parameter _id: (query) Tuner host id. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func deleteTunerHost(_id: String? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
deleteTunerHostWithRequestBuilder(_id: _id).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Deletes a tuner host.
- DELETE /LiveTv/TunerHosts
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter _id: (query) Tuner host id. (optional)
- returns: RequestBuilder<Void>
*/
open class func deleteTunerHostWithRequestBuilder(_id: String? = nil) -> RequestBuilder<Void> {
let path = "/LiveTv/TunerHosts"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"id": _id
])
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Discover tuners.
- parameter newDevicesOnly: (query) Only discover new tuners. (optional, default to false)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func discoverTuners(newDevicesOnly: Bool? = nil, completion: @escaping ((_ data: [TunerHostInfo]?,_ error: Error?) -> Void)) {
discoverTunersWithRequestBuilder(newDevicesOnly: newDevicesOnly).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Discover tuners.
- GET /LiveTv/Tuners/Discover
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example=[ {
"Type" : "Type",
"AllowHWTranscoding" : true,
"FriendlyName" : "FriendlyName",
"EnableStreamLooping" : true,
"DeviceId" : "DeviceId",
"TunerCount" : 0,
"ImportFavoritesOnly" : true,
"UserAgent" : "UserAgent",
"Id" : "Id",
"Url" : "Url",
"Source" : "Source"
}, {
"Type" : "Type",
"AllowHWTranscoding" : true,
"FriendlyName" : "FriendlyName",
"EnableStreamLooping" : true,
"DeviceId" : "DeviceId",
"TunerCount" : 0,
"ImportFavoritesOnly" : true,
"UserAgent" : "UserAgent",
"Id" : "Id",
"Url" : "Url",
"Source" : "Source"
} ]}]
- parameter newDevicesOnly: (query) Only discover new tuners. (optional, default to false)
- returns: RequestBuilder<[TunerHostInfo]>
*/
open class func discoverTunersWithRequestBuilder(newDevicesOnly: Bool? = nil) -> RequestBuilder<[TunerHostInfo]> {
let path = "/LiveTv/Tuners/Discover"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"newDevicesOnly": newDevicesOnly
])
let requestBuilder: RequestBuilder<[TunerHostInfo]>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Discover tuners.
- parameter newDevicesOnly: (query) Only discover new tuners. (optional, default to false)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func discvoverTuners(newDevicesOnly: Bool? = nil, completion: @escaping ((_ data: [TunerHostInfo]?,_ error: Error?) -> Void)) {
discvoverTunersWithRequestBuilder(newDevicesOnly: newDevicesOnly).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Discover tuners.
- GET /LiveTv/Tuners/Discvover
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example=[ {
"Type" : "Type",
"AllowHWTranscoding" : true,
"FriendlyName" : "FriendlyName",
"EnableStreamLooping" : true,
"DeviceId" : "DeviceId",
"TunerCount" : 0,
"ImportFavoritesOnly" : true,
"UserAgent" : "UserAgent",
"Id" : "Id",
"Url" : "Url",
"Source" : "Source"
}, {
"Type" : "Type",
"AllowHWTranscoding" : true,
"FriendlyName" : "FriendlyName",
"EnableStreamLooping" : true,
"DeviceId" : "DeviceId",
"TunerCount" : 0,
"ImportFavoritesOnly" : true,
"UserAgent" : "UserAgent",
"Id" : "Id",
"Url" : "Url",
"Source" : "Source"
} ]}]
- parameter newDevicesOnly: (query) Only discover new tuners. (optional, default to false)
- returns: RequestBuilder<[TunerHostInfo]>
*/
open class func discvoverTunersWithRequestBuilder(newDevicesOnly: Bool? = nil) -> RequestBuilder<[TunerHostInfo]> {
let path = "/LiveTv/Tuners/Discvover"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"newDevicesOnly": newDevicesOnly
])
let requestBuilder: RequestBuilder<[TunerHostInfo]>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv channel.
- parameter channelId: (path) Channel id.
- parameter userId: (query) Optional. Attach user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getChannel(channelId: UUID, userId: UUID? = nil, completion: @escaping ((_ data: BaseItemDto?,_ error: Error?) -> Void)) {
getChannelWithRequestBuilder(channelId: channelId, userId: userId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv channel.
- GET /LiveTv/Channels/{channelId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"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 channelId: (path) Channel id.
- parameter userId: (query) Optional. Attach user data. (optional)
- returns: RequestBuilder<BaseItemDto>
*/
open class func getChannelWithRequestBuilder(channelId: UUID, userId: UUID? = nil) -> RequestBuilder<BaseItemDto> {
var path = "/LiveTv/Channels/{channelId}"
let channelIdPreEscape = "\(channelId)"
let channelIdPostEscape = channelIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{channelId}", with: channelIdPostEscape, 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
])
let requestBuilder: RequestBuilder<BaseItemDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Get channel mapping options.
- parameter providerId: (query) Provider id. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getChannelMappingOptions(providerId: String? = nil, completion: @escaping ((_ data: ChannelMappingOptionsDto?,_ error: Error?) -> Void)) {
getChannelMappingOptionsWithRequestBuilder(providerId: providerId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Get channel mapping options.
- GET /LiveTv/ChannelMappingOptions
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"ProviderName" : "ProviderName",
"Mappings" : [ {
"Value" : "Value",
"Name" : "Name"
}, {
"Value" : "Value",
"Name" : "Name"
} ],
"TunerChannels" : [ {
"ProviderChannelId" : "ProviderChannelId",
"ProviderChannelName" : "ProviderChannelName",
"Id" : "Id",
"Name" : "Name"
}, {
"ProviderChannelId" : "ProviderChannelId",
"ProviderChannelName" : "ProviderChannelName",
"Id" : "Id",
"Name" : "Name"
} ],
"ProviderChannels" : [ {
"Id" : "Id",
"Name" : "Name"
}, {
"Id" : "Id",
"Name" : "Name"
} ]
}}]
- parameter providerId: (query) Provider id. (optional)
- returns: RequestBuilder<ChannelMappingOptionsDto>
*/
open class func getChannelMappingOptionsWithRequestBuilder(providerId: String? = nil) -> RequestBuilder<ChannelMappingOptionsDto> {
let path = "/LiveTv/ChannelMappingOptions"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"providerId": providerId
])
let requestBuilder: RequestBuilder<ChannelMappingOptionsDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets default listings provider info.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getDefaultListingProvider(completion: @escaping ((_ data: ListingsProviderInfo?,_ error: Error?) -> Void)) {
getDefaultListingProviderWithRequestBuilder().execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets default listings provider info.
- GET /LiveTv/ListingProviders/Default
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"Path" : "Path",
"NewsCategories" : [ "NewsCategories", "NewsCategories" ],
"ZipCode" : "ZipCode",
"ChannelMappings" : [ {
"Value" : "Value",
"Name" : "Name"
}, {
"Value" : "Value",
"Name" : "Name"
} ],
"ListingsId" : "ListingsId",
"EnabledTuners" : [ "EnabledTuners", "EnabledTuners" ],
"EnableAllTuners" : true,
"Type" : "Type",
"MovieCategories" : [ "MovieCategories", "MovieCategories" ],
"Username" : "Username",
"MoviePrefix" : "MoviePrefix",
"KidsCategories" : [ "KidsCategories", "KidsCategories" ],
"UserAgent" : "UserAgent",
"Country" : "Country",
"PreferredLanguage" : "PreferredLanguage",
"SportsCategories" : [ "SportsCategories", "SportsCategories" ],
"Id" : "Id",
"Password" : "Password"
}}]
- returns: RequestBuilder<ListingsProviderInfo>
*/
open class func getDefaultListingProviderWithRequestBuilder() -> RequestBuilder<ListingsProviderInfo> {
let path = "/LiveTv/ListingProviders/Default"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<ListingsProviderInfo>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets the default values for a new timer.
- parameter programId: (query) Optional. To attach default values based on a program. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getDefaultTimer(programId: String? = nil, completion: @escaping ((_ data: SeriesTimerInfoDto?,_ error: Error?) -> Void)) {
getDefaultTimerWithRequestBuilder(programId: programId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets the default values for a new timer.
- GET /LiveTv/Timers/Defaults
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"SkipEpisodesInLibrary" : true,
"KeepUpTo" : 5,
"RecordNewOnly" : true,
"RecordAnyChannel" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Days" : [ "Sunday", "Sunday" ],
"DayPattern" : "",
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"RecordAnyTime" : true,
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"ImageTags" : {
"key" : "ImageTags"
},
"ParentThumbItemId" : "ParentThumbItemId",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id"
}}]
- parameter programId: (query) Optional. To attach default values based on a program. (optional)
- returns: RequestBuilder<SeriesTimerInfoDto>
*/
open class func getDefaultTimerWithRequestBuilder(programId: String? = nil) -> RequestBuilder<SeriesTimerInfoDto> {
let path = "/LiveTv/Timers/Defaults"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"programId": programId
])
let requestBuilder: RequestBuilder<SeriesTimerInfoDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Get guid info.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getGuideInfo(completion: @escaping ((_ data: GuideInfo?,_ error: Error?) -> Void)) {
getGuideInfoWithRequestBuilder().execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Get guid info.
- GET /LiveTv/GuideInfo
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"EndDate" : "2000-01-23T04:56:07.000+00:00"
}}]
- returns: RequestBuilder<GuideInfo>
*/
open class func getGuideInfoWithRequestBuilder() -> RequestBuilder<GuideInfo> {
let path = "/LiveTv/GuideInfo"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<GuideInfo>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available lineups.
- parameter _id: (query) Provider id. (optional)
- parameter type: (query) Provider type. (optional)
- parameter location: (query) Location. (optional)
- parameter country: (query) Country. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLineups(_id: String? = nil, type: String? = nil, location: String? = nil, country: String? = nil, completion: @escaping ((_ data: [NameIdPair]?,_ error: Error?) -> Void)) {
getLineupsWithRequestBuilder(_id: _id, type: type, location: location, country: country).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available lineups.
- GET /LiveTv/ListingProviders/Lineups
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example=[ {
"Id" : "Id",
"Name" : "Name"
}, {
"Id" : "Id",
"Name" : "Name"
} ]}]
- parameter _id: (query) Provider id. (optional)
- parameter type: (query) Provider type. (optional)
- parameter location: (query) Location. (optional)
- parameter country: (query) Country. (optional)
- returns: RequestBuilder<[NameIdPair]>
*/
open class func getLineupsWithRequestBuilder(_id: String? = nil, type: String? = nil, location: String? = nil, country: String? = nil) -> RequestBuilder<[NameIdPair]> {
let path = "/LiveTv/ListingProviders/Lineups"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"id": _id,
"type": type,
"location": location,
"country": country
])
let requestBuilder: RequestBuilder<[NameIdPair]>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv recording stream.
- parameter recordingId: (path) Recording id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLiveRecordingFile(recordingId: String, completion: @escaping ((_ data: Data?,_ error: Error?) -> Void)) {
getLiveRecordingFileWithRequestBuilder(recordingId: recordingId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv recording stream.
- GET /LiveTv/LiveRecordings/{recordingId}/stream
-
- examples: [{contentType=application/json, example=""}]
- parameter recordingId: (path) Recording id.
- returns: RequestBuilder<Data>
*/
open class func getLiveRecordingFileWithRequestBuilder(recordingId: String) -> RequestBuilder<Data> {
var path = "/LiveTv/LiveRecordings/{recordingId}/stream"
let recordingIdPreEscape = "\(recordingId)"
let recordingIdPostEscape = recordingIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{recordingId}", with: recordingIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Data>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv channel stream.
- parameter streamId: (path) Stream id.
- parameter container: (path) Container type.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLiveStreamFile(streamId: String, container: String, completion: @escaping ((_ data: Data?,_ error: Error?) -> Void)) {
getLiveStreamFileWithRequestBuilder(streamId: streamId, container: container).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv channel stream.
- GET /LiveTv/LiveStreamFiles/{streamId}/stream.{container}
-
- examples: [{contentType=application/json, example=""}]
- parameter streamId: (path) Stream id.
- parameter container: (path) Container type.
- returns: RequestBuilder<Data>
*/
open class func getLiveStreamFileWithRequestBuilder(streamId: String, container: String) -> RequestBuilder<Data> {
var path = "/LiveTv/LiveStreamFiles/{streamId}/stream.{container}"
let streamIdPreEscape = "\(streamId)"
let streamIdPostEscape = streamIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{streamId}", with: streamIdPostEscape, options: .literal, range: nil)
let containerPreEscape = "\(container)"
let containerPostEscape = containerPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{container}", with: containerPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Data>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available live tv channels.
- parameter type: (query) Optional. Filter by channel type. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (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 isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter isFavorite: (query) Optional. Filter by channels that are favorites, or not. (optional)
- parameter isLiked: (query) Optional. Filter by channels that are liked, or not. (optional)
- parameter isDisliked: (query) Optional. Filter by channels that are disliked, or not. (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) \&quot;Optional. The image types to include in the output. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter sortBy: (query) Optional. Key to sort by. (optional)
- parameter sortOrder: (query) Optional. Sort order. (optional)
- parameter enableFavoriteSorting: (query) Optional. Incorporate favorite and like status into channel sorting. (optional, default to false)
- parameter addCurrentProgram: (query) Optional. Adds current program info to each channel. (optional, default to true)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLiveTvChannels(type: ModelType? = nil, userId: UUID? = nil, startIndex: Int? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, limit: Int? = nil, isFavorite: Bool? = nil, isLiked: Bool? = nil, isDisliked: Bool? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, sortBy: [String]? = nil, sortOrder: SortOrder? = nil, enableFavoriteSorting: Bool? = nil, addCurrentProgram: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getLiveTvChannelsWithRequestBuilder(type: type, userId: userId, startIndex: startIndex, isMovie: isMovie, isSeries: isSeries, isNews: isNews, isKids: isKids, isSports: isSports, limit: limit, isFavorite: isFavorite, isLiked: isLiked, isDisliked: isDisliked, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, fields: fields, enableUserData: enableUserData, sortBy: sortBy, sortOrder: sortOrder, enableFavoriteSorting: enableFavoriteSorting, addCurrentProgram: addCurrentProgram).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available live tv channels.
- GET /LiveTv/Channels
-
- 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 type: (query) Optional. Filter by channel type. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (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 isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter isFavorite: (query) Optional. Filter by channels that are favorites, or not. (optional)
- parameter isLiked: (query) Optional. Filter by channels that are liked, or not. (optional)
- parameter isDisliked: (query) Optional. Filter by channels that are disliked, or not. (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) \&quot;Optional. The image types to include in the output. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter sortBy: (query) Optional. Key to sort by. (optional)
- parameter sortOrder: (query) Optional. Sort order. (optional)
- parameter enableFavoriteSorting: (query) Optional. Incorporate favorite and like status into channel sorting. (optional, default to false)
- parameter addCurrentProgram: (query) Optional. Adds current program info to each channel. (optional, default to true)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getLiveTvChannelsWithRequestBuilder(type: ModelType? = nil, userId: UUID? = nil, startIndex: Int? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, limit: Int? = nil, isFavorite: Bool? = nil, isLiked: Bool? = nil, isDisliked: Bool? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, sortBy: [String]? = nil, sortOrder: SortOrder? = nil, enableFavoriteSorting: Bool? = nil, addCurrentProgram: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Channels"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"type": type,
"userId": userId,
"startIndex": startIndex?.encodeToJSON(),
"isMovie": isMovie,
"isSeries": isSeries,
"isNews": isNews,
"isKids": isKids,
"isSports": isSports,
"limit": limit?.encodeToJSON(),
"isFavorite": isFavorite,
"isLiked": isLiked,
"isDisliked": isDisliked,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"fields": fields,
"enableUserData": enableUserData,
"sortBy": sortBy,
"sortOrder": sortOrder,
"enableFavoriteSorting": enableFavoriteSorting,
"addCurrentProgram": addCurrentProgram
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available live tv services.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLiveTvInfo(completion: @escaping ((_ data: LiveTvInfo?,_ error: Error?) -> Void)) {
getLiveTvInfoWithRequestBuilder().execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available live tv services.
- GET /LiveTv/Info
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"Services" : [ {
"Status" : "",
"Tuners" : [ "Tuners", "Tuners" ],
"Version" : "Version",
"HomePageUrl" : "HomePageUrl",
"HasUpdateAvailable" : true,
"IsVisible" : true,
"Name" : "Name",
"StatusMessage" : "StatusMessage"
}, {
"Status" : "",
"Tuners" : [ "Tuners", "Tuners" ],
"Version" : "Version",
"HomePageUrl" : "HomePageUrl",
"HasUpdateAvailable" : true,
"IsVisible" : true,
"Name" : "Name",
"StatusMessage" : "StatusMessage"
} ],
"IsEnabled" : true,
"EnabledUsers" : [ "EnabledUsers", "EnabledUsers" ]
}}]
- returns: RequestBuilder<LiveTvInfo>
*/
open class func getLiveTvInfoWithRequestBuilder() -> RequestBuilder<LiveTvInfo> {
let path = "/LiveTv/Info"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<LiveTvInfo>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available live tv epgs.
- parameter channelIds: (query) The channels to return guide information for. (optional)
- parameter userId: (query) Optional. Filter by user id. (optional)
- parameter minStartDate: (query) Optional. The minimum premiere start date. (optional)
- parameter hasAired: (query) Optional. Filter by programs that have completed airing, or not. (optional)
- parameter isAiring: (query) Optional. Filter by programs that are currently airing, or not. (optional)
- parameter maxStartDate: (query) Optional. The maximum premiere start date. (optional)
- parameter minEndDate: (query) Optional. The minimum premiere end date. (optional)
- parameter maxEndDate: (query) Optional. The maximum premiere end date. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (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 sortBy: (query) Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. (optional)
- parameter sortOrder: (query) Sort Order - Ascending,Descending. (optional)
- parameter genres: (query) The genres to return guide information for. (optional)
- parameter genreIds: (query) The genre ids to return guide information for. (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 seriesTimerId: (query) Optional. Filter by series timer id. (optional)
- parameter librarySeriesId: (query) Optional. Filter by library series id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableTotalRecordCount: (query) Retrieve total record count. (optional, default to true)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getLiveTvPrograms(channelIds: [UUID]? = nil, userId: UUID? = nil, minStartDate: Date? = nil, hasAired: Bool? = nil, isAiring: Bool? = nil, maxStartDate: Date? = nil, minEndDate: Date? = nil, maxEndDate: Date? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, startIndex: Int? = nil, limit: Int? = nil, sortBy: [String]? = nil, sortOrder: [SortOrder]? = nil, genres: [String]? = nil, genreIds: [UUID]? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, seriesTimerId: String? = nil, librarySeriesId: UUID? = nil, fields: [ItemFields]? = nil, enableTotalRecordCount: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getLiveTvProgramsWithRequestBuilder(channelIds: channelIds, userId: userId, minStartDate: minStartDate, hasAired: hasAired, isAiring: isAiring, maxStartDate: maxStartDate, minEndDate: minEndDate, maxEndDate: maxEndDate, isMovie: isMovie, isSeries: isSeries, isNews: isNews, isKids: isKids, isSports: isSports, startIndex: startIndex, limit: limit, sortBy: sortBy, sortOrder: sortOrder, genres: genres, genreIds: genreIds, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, enableUserData: enableUserData, seriesTimerId: seriesTimerId, librarySeriesId: librarySeriesId, fields: fields, enableTotalRecordCount: enableTotalRecordCount).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available live tv epgs.
- GET /LiveTv/Programs
-
- 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 channelIds: (query) The channels to return guide information for. (optional)
- parameter userId: (query) Optional. Filter by user id. (optional)
- parameter minStartDate: (query) Optional. The minimum premiere start date. (optional)
- parameter hasAired: (query) Optional. Filter by programs that have completed airing, or not. (optional)
- parameter isAiring: (query) Optional. Filter by programs that are currently airing, or not. (optional)
- parameter maxStartDate: (query) Optional. The maximum premiere start date. (optional)
- parameter minEndDate: (query) Optional. The minimum premiere end date. (optional)
- parameter maxEndDate: (query) Optional. The maximum premiere end date. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (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 sortBy: (query) Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. (optional)
- parameter sortOrder: (query) Sort Order - Ascending,Descending. (optional)
- parameter genres: (query) The genres to return guide information for. (optional)
- parameter genreIds: (query) The genre ids to return guide information for. (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 seriesTimerId: (query) Optional. Filter by series timer id. (optional)
- parameter librarySeriesId: (query) Optional. Filter by library series id. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableTotalRecordCount: (query) Retrieve total record count. (optional, default to true)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getLiveTvProgramsWithRequestBuilder(channelIds: [UUID]? = nil, userId: UUID? = nil, minStartDate: Date? = nil, hasAired: Bool? = nil, isAiring: Bool? = nil, maxStartDate: Date? = nil, minEndDate: Date? = nil, maxEndDate: Date? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, startIndex: Int? = nil, limit: Int? = nil, sortBy: [String]? = nil, sortOrder: [SortOrder]? = nil, genres: [String]? = nil, genreIds: [UUID]? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, enableUserData: Bool? = nil, seriesTimerId: String? = nil, librarySeriesId: UUID? = nil, fields: [ItemFields]? = nil, enableTotalRecordCount: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Programs"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"channelIds": channelIds,
"userId": userId,
"minStartDate": minStartDate?.encodeToJSON(),
"hasAired": hasAired,
"isAiring": isAiring,
"maxStartDate": maxStartDate?.encodeToJSON(),
"minEndDate": minEndDate?.encodeToJSON(),
"maxEndDate": maxEndDate?.encodeToJSON(),
"isMovie": isMovie,
"isSeries": isSeries,
"isNews": isNews,
"isKids": isKids,
"isSports": isSports,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"sortBy": sortBy,
"sortOrder": sortOrder,
"genres": genres,
"genreIds": genreIds,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"enableUserData": enableUserData,
"seriesTimerId": seriesTimerId,
"librarySeriesId": librarySeriesId,
"fields": fields,
"enableTotalRecordCount": enableTotalRecordCount
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv program.
- parameter programId: (path) Program id.
- parameter userId: (query) Optional. Attach user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getProgram(programId: String, userId: UUID? = nil, completion: @escaping ((_ data: BaseItemDto?,_ error: Error?) -> Void)) {
getProgramWithRequestBuilder(programId: programId, userId: userId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv program.
- GET /LiveTv/Programs/{programId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"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 programId: (path) Program id.
- parameter userId: (query) Optional. Attach user data. (optional)
- returns: RequestBuilder<BaseItemDto>
*/
open class func getProgramWithRequestBuilder(programId: String, userId: UUID? = nil) -> RequestBuilder<BaseItemDto> {
var path = "/LiveTv/Programs/{programId}"
let programIdPreEscape = "\(programId)"
let programIdPostEscape = programIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{programId}", with: programIdPostEscape, 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
])
let requestBuilder: RequestBuilder<BaseItemDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available live tv epgs.
- parameter body: (body) Request body. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getPrograms(body: LiveTvProgramsBody? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getProgramsWithRequestBuilder(body: body).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available live tv epgs.
- POST /LiveTv/Programs
-
- 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 body: (body) Request body. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getProgramsWithRequestBuilder(body: LiveTvProgramsBody? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Programs"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Gets recommended live tv epgs.
- parameter userId: (query) Optional. filter by user id. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter isAiring: (query) Optional. Filter by programs that are currently airing, or not. (optional)
- parameter hasAired: (query) Optional. Filter by programs that have completed airing, or not. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (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 genreIds: (query) The genres to return guide information for. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. include user data. (optional)
- parameter enableTotalRecordCount: (query) Retrieve total record count. (optional, default to true)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecommendedPrograms(userId: UUID? = nil, limit: Int? = nil, isAiring: Bool? = nil, hasAired: Bool? = nil, isSeries: Bool? = nil, isMovie: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, genreIds: [UUID]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getRecommendedProgramsWithRequestBuilder(userId: userId, limit: limit, isAiring: isAiring, hasAired: hasAired, isSeries: isSeries, isMovie: isMovie, isNews: isNews, isKids: isKids, isSports: isSports, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, genreIds: genreIds, fields: fields, enableUserData: enableUserData, enableTotalRecordCount: enableTotalRecordCount).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets recommended live tv epgs.
- GET /LiveTv/Programs/Recommended
-
- 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) Optional. filter by user id. (optional)
- parameter limit: (query) Optional. The maximum number of records to return. (optional)
- parameter isAiring: (query) Optional. Filter by programs that are currently airing, or not. (optional)
- parameter hasAired: (query) Optional. Filter by programs that have completed airing, or not. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (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 genreIds: (query) The genres to return guide information for. (optional)
- parameter fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. include user data. (optional)
- parameter enableTotalRecordCount: (query) Retrieve total record count. (optional, default to true)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getRecommendedProgramsWithRequestBuilder(userId: UUID? = nil, limit: Int? = nil, isAiring: Bool? = nil, hasAired: Bool? = nil, isSeries: Bool? = nil, isMovie: Bool? = nil, isNews: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, genreIds: [UUID]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Programs/Recommended"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId,
"limit": limit?.encodeToJSON(),
"isAiring": isAiring,
"hasAired": hasAired,
"isSeries": isSeries,
"isMovie": isMovie,
"isNews": isNews,
"isKids": isKids,
"isSports": isSports,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"genreIds": genreIds,
"fields": fields,
"enableUserData": enableUserData,
"enableTotalRecordCount": enableTotalRecordCount
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv recording.
- parameter recordingId: (path) Recording id.
- parameter userId: (query) Optional. Attach user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecording(recordingId: UUID, userId: UUID? = nil, completion: @escaping ((_ data: BaseItemDto?,_ error: Error?) -> Void)) {
getRecordingWithRequestBuilder(recordingId: recordingId, userId: userId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv recording.
- GET /LiveTv/Recordings/{recordingId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"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 recordingId: (path) Recording id.
- parameter userId: (query) Optional. Attach user data. (optional)
- returns: RequestBuilder<BaseItemDto>
*/
open class func getRecordingWithRequestBuilder(recordingId: UUID, userId: UUID? = nil) -> RequestBuilder<BaseItemDto> {
var path = "/LiveTv/Recordings/{recordingId}"
let recordingIdPreEscape = "\(recordingId)"
let recordingIdPostEscape = recordingIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{recordingId}", with: recordingIdPostEscape, 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
])
let requestBuilder: RequestBuilder<BaseItemDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets recording folders.
- parameter userId: (query) Optional. Filter by user and attach user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecordingFolders(userId: UUID? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getRecordingFoldersWithRequestBuilder(userId: userId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets recording folders.
- GET /LiveTv/Recordings/Folders
-
- 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) Optional. Filter by user and attach user data. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getRecordingFoldersWithRequestBuilder(userId: UUID? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Recordings/Folders"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Get recording group.
- parameter groupId: (path) Group id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecordingGroup(groupId: UUID, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
getRecordingGroupWithRequestBuilder(groupId: groupId).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Get recording group.
- GET /LiveTv/Recordings/Groups/{groupId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter groupId: (path) Group id.
- returns: RequestBuilder<Void>
*/
open class func getRecordingGroupWithRequestBuilder(groupId: UUID) -> RequestBuilder<Void> {
var path = "/LiveTv/Recordings/Groups/{groupId}"
let groupIdPreEscape = "\(groupId)"
let groupIdPostEscape = groupIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{groupId}", with: groupIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets live tv recording groups.
- parameter userId: (query) Optional. Filter by user and attach user data. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecordingGroups(userId: UUID? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getRecordingGroupsWithRequestBuilder(userId: userId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets live tv recording groups.
- GET /LiveTv/Recordings/Groups
-
- 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) Optional. Filter by user and attach user data. (optional)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getRecordingGroupsWithRequestBuilder(userId: UUID? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Recordings/Groups"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"userId": userId
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets live tv recordings.
- parameter channelId: (query) Optional. Filter by channel id. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (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 status: (query) Optional. Filter by recording status. (optional)
- parameter isInProgress: (query) Optional. Filter by recordings that are in progress, or not. (optional)
- parameter seriesTimerId: (query) Optional. Filter by recordings belonging to a series timer. (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 fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isLibraryItem: (query) Optional. Filter for is library item. (optional)
- parameter enableTotalRecordCount: (query) Optional. Return total record count. (optional, default to true)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecordings(channelId: String? = nil, userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, status: Status? = nil, isInProgress: Bool? = nil, seriesTimerId: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, isNews: Bool? = nil, isLibraryItem: Bool? = nil, enableTotalRecordCount: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getRecordingsWithRequestBuilder(channelId: channelId, userId: userId, startIndex: startIndex, limit: limit, status: status, isInProgress: isInProgress, seriesTimerId: seriesTimerId, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, fields: fields, enableUserData: enableUserData, isMovie: isMovie, isSeries: isSeries, isKids: isKids, isSports: isSports, isNews: isNews, isLibraryItem: isLibraryItem, enableTotalRecordCount: enableTotalRecordCount).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets live tv recordings.
- GET /LiveTv/Recordings
-
- 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 channelId: (query) Optional. Filter by channel id. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (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 status: (query) Optional. Filter by recording status. (optional)
- parameter isInProgress: (query) Optional. Filter by recordings that are in progress, or not. (optional)
- parameter seriesTimerId: (query) Optional. Filter by recordings belonging to a series timer. (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 fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter isMovie: (query) Optional. Filter for movies. (optional)
- parameter isSeries: (query) Optional. Filter for series. (optional)
- parameter isKids: (query) Optional. Filter for kids. (optional)
- parameter isSports: (query) Optional. Filter for sports. (optional)
- parameter isNews: (query) Optional. Filter for news. (optional)
- parameter isLibraryItem: (query) Optional. Filter for is library item. (optional)
- parameter enableTotalRecordCount: (query) Optional. Return total record count. (optional, default to true)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getRecordingsWithRequestBuilder(channelId: String? = nil, userId: UUID? = nil, startIndex: Int? = nil, limit: Int? = nil, status: Status? = nil, isInProgress: Bool? = nil, seriesTimerId: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, isMovie: Bool? = nil, isSeries: Bool? = nil, isKids: Bool? = nil, isSports: Bool? = nil, isNews: Bool? = nil, isLibraryItem: Bool? = nil, enableTotalRecordCount: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Recordings"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"channelId": channelId,
"userId": userId,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"status": status,
"isInProgress": isInProgress,
"seriesTimerId": seriesTimerId,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"fields": fields,
"enableUserData": enableUserData,
"isMovie": isMovie,
"isSeries": isSeries,
"isKids": isKids,
"isSports": isSports,
"isNews": isNews,
"isLibraryItem": isLibraryItem,
"enableTotalRecordCount": enableTotalRecordCount
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets live tv recording series.
- parameter channelId: (query) Optional. Filter by channel id. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (optional)
- parameter groupId: (query) Optional. Filter by recording group. (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 status: (query) Optional. Filter by recording status. (optional)
- parameter isInProgress: (query) Optional. Filter by recordings that are in progress, or not. (optional)
- parameter seriesTimerId: (query) Optional. Filter by recordings belonging to a series timer. (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 fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter enableTotalRecordCount: (query) Optional. Return total record count. (optional, default to true)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getRecordingsSeries(channelId: String? = nil, userId: UUID? = nil, groupId: String? = nil, startIndex: Int? = nil, limit: Int? = nil, status: Status1? = nil, isInProgress: Bool? = nil, seriesTimerId: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil, completion: @escaping ((_ data: BaseItemDtoQueryResult?,_ error: Error?) -> Void)) {
getRecordingsSeriesWithRequestBuilder(channelId: channelId, userId: userId, groupId: groupId, startIndex: startIndex, limit: limit, status: status, isInProgress: isInProgress, seriesTimerId: seriesTimerId, enableImages: enableImages, imageTypeLimit: imageTypeLimit, enableImageTypes: enableImageTypes, fields: fields, enableUserData: enableUserData, enableTotalRecordCount: enableTotalRecordCount).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets live tv recording series.
- GET /LiveTv/Recordings/Series
-
- 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 channelId: (query) Optional. Filter by channel id. (optional)
- parameter userId: (query) Optional. Filter by user and attach user data. (optional)
- parameter groupId: (query) Optional. Filter by recording group. (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 status: (query) Optional. Filter by recording status. (optional)
- parameter isInProgress: (query) Optional. Filter by recordings that are in progress, or not. (optional)
- parameter seriesTimerId: (query) Optional. Filter by recordings belonging to a series timer. (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 fields: (query) Optional. Specify additional fields of information to return in the output. (optional)
- parameter enableUserData: (query) Optional. Include user data. (optional)
- parameter enableTotalRecordCount: (query) Optional. Return total record count. (optional, default to true)
- returns: RequestBuilder<BaseItemDtoQueryResult>
*/
open class func getRecordingsSeriesWithRequestBuilder(channelId: String? = nil, userId: UUID? = nil, groupId: String? = nil, startIndex: Int? = nil, limit: Int? = nil, status: Status1? = nil, isInProgress: Bool? = nil, seriesTimerId: String? = nil, enableImages: Bool? = nil, imageTypeLimit: Int? = nil, enableImageTypes: [ImageType]? = nil, fields: [ItemFields]? = nil, enableUserData: Bool? = nil, enableTotalRecordCount: Bool? = nil) -> RequestBuilder<BaseItemDtoQueryResult> {
let path = "/LiveTv/Recordings/Series"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"channelId": channelId,
"userId": userId,
"groupId": groupId,
"startIndex": startIndex?.encodeToJSON(),
"limit": limit?.encodeToJSON(),
"status": status,
"isInProgress": isInProgress,
"seriesTimerId": seriesTimerId,
"enableImages": enableImages,
"imageTypeLimit": imageTypeLimit?.encodeToJSON(),
"enableImageTypes": enableImageTypes,
"fields": fields,
"enableUserData": enableUserData,
"enableTotalRecordCount": enableTotalRecordCount
])
let requestBuilder: RequestBuilder<BaseItemDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets available countries.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getSchedulesDirectCountries(completion: @escaping ((_ data: Data?,_ error: Error?) -> Void)) {
getSchedulesDirectCountriesWithRequestBuilder().execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets available countries.
- GET /LiveTv/ListingProviders/SchedulesDirect/Countries
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example=""}]
- returns: RequestBuilder<Data>
*/
open class func getSchedulesDirectCountriesWithRequestBuilder() -> RequestBuilder<Data> {
let path = "/LiveTv/ListingProviders/SchedulesDirect/Countries"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Data>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a live tv series timer.
- parameter timerId: (path) Timer id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getSeriesTimer(timerId: String, completion: @escaping ((_ data: SeriesTimerInfoDto?,_ error: Error?) -> Void)) {
getSeriesTimerWithRequestBuilder(timerId: timerId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a live tv series timer.
- GET /LiveTv/SeriesTimers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"SkipEpisodesInLibrary" : true,
"KeepUpTo" : 5,
"RecordNewOnly" : true,
"RecordAnyChannel" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Days" : [ "Sunday", "Sunday" ],
"DayPattern" : "",
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"RecordAnyTime" : true,
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"ImageTags" : {
"key" : "ImageTags"
},
"ParentThumbItemId" : "ParentThumbItemId",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id"
}}]
- parameter timerId: (path) Timer id.
- returns: RequestBuilder<SeriesTimerInfoDto>
*/
open class func getSeriesTimerWithRequestBuilder(timerId: String) -> RequestBuilder<SeriesTimerInfoDto> {
var path = "/LiveTv/SeriesTimers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<SeriesTimerInfoDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets live tv series timers.
- parameter sortBy: (query) Optional. Sort by SortName or Priority. (optional)
- parameter sortOrder: (query) Optional. Sort in Ascending or Descending order. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getSeriesTimers(sortBy: String? = nil, sortOrder: SortOrder1? = nil, completion: @escaping ((_ data: SeriesTimerInfoDtoQueryResult?,_ error: Error?) -> Void)) {
getSeriesTimersWithRequestBuilder(sortBy: sortBy, sortOrder: sortOrder).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets live tv series timers.
- GET /LiveTv/SeriesTimers
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 5,
"StartIndex" : 2,
"Items" : [ {
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"SkipEpisodesInLibrary" : true,
"KeepUpTo" : 5,
"RecordNewOnly" : true,
"RecordAnyChannel" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Days" : [ "Sunday", "Sunday" ],
"DayPattern" : "",
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"RecordAnyTime" : true,
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"ImageTags" : {
"key" : "ImageTags"
},
"ParentThumbItemId" : "ParentThumbItemId",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id"
}, {
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"SkipEpisodesInLibrary" : true,
"KeepUpTo" : 5,
"RecordNewOnly" : true,
"RecordAnyChannel" : true,
"ParentThumbImageTag" : "ParentThumbImageTag",
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Days" : [ "Sunday", "Sunday" ],
"DayPattern" : "",
"ParentPrimaryImageTag" : "ParentPrimaryImageTag",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"RecordAnyTime" : true,
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"ParentPrimaryImageItemId" : "ParentPrimaryImageItemId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"ImageTags" : {
"key" : "ImageTags"
},
"ParentThumbItemId" : "ParentThumbItemId",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id"
} ]
}}]
- parameter sortBy: (query) Optional. Sort by SortName or Priority. (optional)
- parameter sortOrder: (query) Optional. Sort in Ascending or Descending order. (optional)
- returns: RequestBuilder<SeriesTimerInfoDtoQueryResult>
*/
open class func getSeriesTimersWithRequestBuilder(sortBy: String? = nil, sortOrder: SortOrder1? = nil) -> RequestBuilder<SeriesTimerInfoDtoQueryResult> {
let path = "/LiveTv/SeriesTimers"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"sortBy": sortBy,
"sortOrder": sortOrder
])
let requestBuilder: RequestBuilder<SeriesTimerInfoDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets a timer.
- parameter timerId: (path) Timer id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getTimer(timerId: String, completion: @escaping ((_ data: TimerInfoDto?,_ error: Error?) -> Void)) {
getTimerWithRequestBuilder(timerId: timerId).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets a timer.
- GET /LiveTv/Timers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"RunTimeTicks" : 5,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ProgramInfo" : "",
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Status" : "",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"ExternalSeriesTimerId" : "ExternalSeriesTimerId",
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id",
"SeriesTimerId" : "SeriesTimerId"
}}]
- parameter timerId: (path) Timer id.
- returns: RequestBuilder<TimerInfoDto>
*/
open class func getTimerWithRequestBuilder(timerId: String) -> RequestBuilder<TimerInfoDto> {
var path = "/LiveTv/Timers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<TimerInfoDto>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Gets the live tv timers.
- parameter channelId: (query) Optional. Filter by channel id. (optional)
- parameter seriesTimerId: (query) Optional. Filter by timers belonging to a series timer. (optional)
- parameter isActive: (query) Optional. Filter by timers that are active. (optional)
- parameter isScheduled: (query) Optional. Filter by timers that are scheduled. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getTimers(channelId: String? = nil, seriesTimerId: String? = nil, isActive: Bool? = nil, isScheduled: Bool? = nil, completion: @escaping ((_ data: TimerInfoDtoQueryResult?,_ error: Error?) -> Void)) {
getTimersWithRequestBuilder(channelId: channelId, seriesTimerId: seriesTimerId, isActive: isActive, isScheduled: isScheduled).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Gets the live tv timers.
- GET /LiveTv/Timers
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"TotalRecordCount" : 5,
"StartIndex" : 2,
"Items" : [ {
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"RunTimeTicks" : 5,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ProgramInfo" : "",
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Status" : "",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"ExternalSeriesTimerId" : "ExternalSeriesTimerId",
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id",
"SeriesTimerId" : "SeriesTimerId"
}, {
"PrePaddingSeconds" : 6,
"KeepUntil" : "",
"RunTimeTicks" : 5,
"ChannelId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ExternalProgramId" : "ExternalProgramId",
"ChannelPrimaryImageTag" : "ChannelPrimaryImageTag",
"Name" : "Name",
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"IsPostPaddingRequired" : true,
"ProgramInfo" : "",
"ServerId" : "ServerId",
"ParentBackdropItemId" : "ParentBackdropItemId",
"Status" : "",
"IsPrePaddingRequired" : true,
"Priority" : 0,
"ExternalId" : "ExternalId",
"ExternalSeriesTimerId" : "ExternalSeriesTimerId",
"ExternalChannelId" : "ExternalChannelId",
"Overview" : "Overview",
"PostPaddingSeconds" : 1,
"ProgramId" : "ProgramId",
"EndDate" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Type",
"ChannelName" : "ChannelName",
"ParentBackdropImageTags" : [ "ParentBackdropImageTags", "ParentBackdropImageTags" ],
"ServiceName" : "ServiceName",
"Id" : "Id",
"SeriesTimerId" : "SeriesTimerId"
} ]
}}]
- parameter channelId: (query) Optional. Filter by channel id. (optional)
- parameter seriesTimerId: (query) Optional. Filter by timers belonging to a series timer. (optional)
- parameter isActive: (query) Optional. Filter by timers that are active. (optional)
- parameter isScheduled: (query) Optional. Filter by timers that are scheduled. (optional)
- returns: RequestBuilder<TimerInfoDtoQueryResult>
*/
open class func getTimersWithRequestBuilder(channelId: String? = nil, seriesTimerId: String? = nil, isActive: Bool? = nil, isScheduled: Bool? = nil) -> RequestBuilder<TimerInfoDtoQueryResult> {
let path = "/LiveTv/Timers"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
var url = URLComponents(string: URLString)
url?.queryItems = APIHelper.mapValuesToQueryItems([
"channelId": channelId,
"seriesTimerId": seriesTimerId,
"isActive": isActive,
"isScheduled": isScheduled
])
let requestBuilder: RequestBuilder<TimerInfoDtoQueryResult>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Get tuner host types.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func getTunerHostTypes(completion: @escaping ((_ data: [NameIdPair]?,_ error: Error?) -> Void)) {
getTunerHostTypesWithRequestBuilder().execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Get tuner host types.
- GET /LiveTv/TunerHosts/Types
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example=[ {
"Id" : "Id",
"Name" : "Name"
}, {
"Id" : "Id",
"Name" : "Name"
} ]}]
- returns: RequestBuilder<[NameIdPair]>
*/
open class func getTunerHostTypesWithRequestBuilder() -> RequestBuilder<[NameIdPair]> {
let path = "/LiveTv/TunerHosts/Types"
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<[NameIdPair]>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Resets a tv tuner.
- parameter tunerId: (path) Tuner id.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func resetTuner(tunerId: String, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
resetTunerWithRequestBuilder(tunerId: tunerId).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Resets a tv tuner.
- POST /LiveTv/Tuners/{tunerId}/Reset
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter tunerId: (path) Tuner id.
- returns: RequestBuilder<Void>
*/
open class func resetTunerWithRequestBuilder(tunerId: String) -> RequestBuilder<Void> {
var path = "/LiveTv/Tuners/{tunerId}/Reset"
let tunerIdPreEscape = "\(tunerId)"
let tunerIdPostEscape = tunerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{tunerId}", with: tunerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters: [String:Any]? = nil
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
}
/**
Set channel mappings.
- parameter body: (body) The set channel mapping dto.
- parameter completion: completion handler to receive the data and the error objects
*/
open class func setChannelMapping(body: LiveTvChannelMappingsBody, completion: @escaping ((_ data: TunerChannelMapping?,_ error: Error?) -> Void)) {
setChannelMappingWithRequestBuilder(body: body).execute { (response, error) -> Void in
completion(response?.body, error)
}
}
/**
Set channel mappings.
- POST /LiveTv/ChannelMappings
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- examples: [{contentType=application/json, example={
"ProviderChannelId" : "ProviderChannelId",
"ProviderChannelName" : "ProviderChannelName",
"Id" : "Id",
"Name" : "Name"
}}]
- parameter body: (body) The set channel mapping dto.
- returns: RequestBuilder<TunerChannelMapping>
*/
open class func setChannelMappingWithRequestBuilder(body: LiveTvChannelMappingsBody) -> RequestBuilder<TunerChannelMapping> {
let path = "/LiveTv/ChannelMappings"
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<TunerChannelMapping>.Type = SwaggerClientAPI.requestBuilderFactory.getBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Updates a live tv series timer.
- parameter timerId: (path) Timer id.
- parameter body: (body) New series timer info. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func updateSeriesTimer(timerId: String, body: SeriesTimersTimerIdBody? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
updateSeriesTimerWithRequestBuilder(timerId: timerId, body: body).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Updates a live tv series timer.
- POST /LiveTv/SeriesTimers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter timerId: (path) Timer id.
- parameter body: (body) New series timer info. (optional)
- returns: RequestBuilder<Void>
*/
open class func updateSeriesTimerWithRequestBuilder(timerId: String, body: SeriesTimersTimerIdBody? = nil) -> RequestBuilder<Void> {
var path = "/LiveTv/SeriesTimers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
/**
Updates a live tv timer.
- parameter timerId: (path) Timer id.
- parameter body: (body) New timer info. (optional)
- parameter completion: completion handler to receive the data and the error objects
*/
open class func updateTimer(timerId: String, body: TimersTimerIdBody? = nil, completion: @escaping ((_ data: Void?,_ error: Error?) -> Void)) {
updateTimerWithRequestBuilder(timerId: timerId, body: body).execute { (response, error) -> Void in
if error == nil {
completion((), error)
} else {
completion(nil, error)
}
}
}
/**
Updates a live tv timer.
- POST /LiveTv/Timers/{timerId}
-
- API Key:
- type: apiKey X-Emby-Authorization
- name: CustomAuthentication
- parameter timerId: (path) Timer id.
- parameter body: (body) New timer info. (optional)
- returns: RequestBuilder<Void>
*/
open class func updateTimerWithRequestBuilder(timerId: String, body: TimersTimerIdBody? = nil) -> RequestBuilder<Void> {
var path = "/LiveTv/Timers/{timerId}"
let timerIdPreEscape = "\(timerId)"
let timerIdPostEscape = timerIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
path = path.replacingOccurrences(of: "{timerId}", with: timerIdPostEscape, options: .literal, range: nil)
let URLString = SwaggerClientAPI.basePath + path
let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: body)
let url = URLComponents(string: URLString)
let requestBuilder: RequestBuilder<Void>.Type = SwaggerClientAPI.requestBuilderFactory.getNonDecodableBuilder()
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
}
}