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: Symbol not found for UUID, userId: ERROR CLASS: Symbol not found for UUID?? = null): Response<ERROR CLASS: Symbol not found for PlaybackInfoResponse>
Gets live playback media info for an item.
Link copied to clipboard
suspend fun getPostedPlaybackInfo(itemId: ERROR CLASS: Symbol not found for UUID, data: ERROR CLASS: Symbol not found for PlaybackInfoDto?? = null): Response<ERROR CLASS: Symbol not found for PlaybackInfoResponse>
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: Symbol not found for GetPostedPlaybackInfoDeprecatedRequest, data: ERROR CLASS: Symbol not found for PlaybackInfoDto?? = null): Response<ERROR CLASS: Symbol not found for PlaybackInfoResponse>
suspend fun getPostedPlaybackInfoDeprecated(itemId: ERROR CLASS: Symbol not found for UUID, userId: ERROR CLASS: Symbol not found for UUID?? = 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: Symbol not found for PlaybackInfoDto?? = null): Response<ERROR CLASS: Symbol not found for PlaybackInfoResponse>
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: Symbol not found for OpenLiveStreamRequest = OpenLiveStreamRequest(), data: ERROR CLASS: Symbol not found for OpenLiveStreamDto?? = null): Response<ERROR CLASS: Symbol not found for LiveStreamResponse>
suspend fun openLiveStream(openToken: String? = null, userId: ERROR CLASS: Symbol not found for UUID?? = null, playSessionId: String? = null, maxStreamingBitrate: Int? = null, startTimeTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, maxAudioChannels: Int? = null, itemId: ERROR CLASS: Symbol not found for UUID?? = null, enableDirectPlay: Boolean? = null, enableDirectStream: Boolean? = null, alwaysBurnInSubtitleWhenTranscoding: Boolean? = null, data: ERROR CLASS: Symbol not found for OpenLiveStreamDto?? = null): Response<ERROR CLASS: Symbol not found for LiveStreamResponse>
Opens a media source.