GetPostedPlaybackInfoDeprecatedRequest

@Serializable
data class GetPostedPlaybackInfoDeprecatedRequest(val itemId: UUID, val userId: UUID? = null, val maxStreamingBitrate: Int? = null, val startTimeTicks: Long? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val maxAudioChannels: Int? = null, val mediaSourceId: String? = null, val liveStreamId: String? = null, val autoOpenLiveStream: Boolean? = null, val enableDirectPlay: Boolean? = null, val enableDirectStream: Boolean? = null, val enableTranscoding: Boolean? = null, val allowVideoStreamCopy: Boolean? = null, val allowAudioStreamCopy: Boolean? = null)

For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.

Constructors

Link copied to clipboard
constructor(itemId: UUID, userId: 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)

Properties

Link copied to clipboard
@SerialName(value = "allowAudioStreamCopy")
val allowAudioStreamCopy: Boolean?

Whether to allow to copy the audio stream. Default: true.

Link copied to clipboard
@SerialName(value = "allowVideoStreamCopy")
val allowVideoStreamCopy: Boolean?

Whether to allow to copy the video stream. Default: true.

Link copied to clipboard
@SerialName(value = "audioStreamIndex")
val audioStreamIndex: Int?

The audio stream index.

Link copied to clipboard
@SerialName(value = "autoOpenLiveStream")
val autoOpenLiveStream: Boolean?

Whether to auto open the livestream.

Link copied to clipboard
@SerialName(value = "enableDirectPlay")
val enableDirectPlay: Boolean?

Whether to enable direct play. Default: true.

Link copied to clipboard
@SerialName(value = "enableDirectStream")
val enableDirectStream: Boolean?

Whether to enable direct stream. Default: true.

Link copied to clipboard
@SerialName(value = "enableTranscoding")
val enableTranscoding: Boolean?

Whether to enable transcoding. Default: true.

Link copied to clipboard
@SerialName(value = "itemId")
val itemId: UUID

The item id.

Link copied to clipboard
@SerialName(value = "liveStreamId")
val liveStreamId: String?

The livestream id.

Link copied to clipboard
@SerialName(value = "maxAudioChannels")
val maxAudioChannels: Int?

The maximum number of audio channels.

Link copied to clipboard
@SerialName(value = "maxStreamingBitrate")
val maxStreamingBitrate: Int?

The maximum streaming bitrate.

Link copied to clipboard
@SerialName(value = "mediaSourceId")
val mediaSourceId: String?

The media source id.

Link copied to clipboard
@SerialName(value = "startTimeTicks")
val startTimeTicks: Long?

The start time in ticks.

Link copied to clipboard
@SerialName(value = "subtitleStreamIndex")
val subtitleStreamIndex: Int?

The subtitle stream index.

Link copied to clipboard
@SerialName(value = "userId")
val userId: UUID?

The user id.