MediaInfoApi
Functions
Link copied to clipboard
Closes a media source.
Link copied to clipboard
Tests the network with a request with the size of the bitrate.
Link copied to clipboard
Tests the network with a request with the size of the bitrate.
Link copied to clipboard
suspend fun getPlaybackInfo(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Gets live playback media info for an item.
Link copied to clipboard
suspend fun getPostedPlaybackInfo(itemId: <Error class: unknown class>, data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
Link copied to clipboard
suspend fun getPostedPlaybackInfoDeprecated(request: <Error class: unknown class>, data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
suspend fun getPostedPlaybackInfoDeprecated(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null, maxStreamingBitrate: Int? = null, startTimeTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, maxAudioChannels: Int? = null, mediaSourceId: String? = null, liveStreamId: String? = null, autoOpenLiveStream: Boolean? = null, enableDirectPlay: Boolean? = null, enableDirectStream: Boolean? = null, enableTranscoding: Boolean? = null, allowVideoStreamCopy: Boolean? = null, allowAudioStreamCopy: Boolean? = null, data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
Link copied to clipboard
suspend fun openLiveStream(request: <Error class: unknown class> = OpenLiveStreamRequest(), data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
suspend fun openLiveStream(openToken: String? = null, userId: <Error class: unknown class>? = null, playSessionId: String? = null, maxStreamingBitrate: Int? = null, startTimeTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, maxAudioChannels: Int? = null, itemId: <Error class: unknown class>? = null, enableDirectPlay: Boolean? = null, enableDirectStream: Boolean? = null, alwaysBurnInSubtitleWhenTranscoding: Boolean? = null, data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Opens a media source.