Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::PlaybackInfoDto Class Reference

#include <playbackinfodto.h>

Public Member Functions

 PlaybackInfoDto (QSharedPointer< DeviceProfile > deviceProfile)
 
 PlaybackInfoDto (const PlaybackInfoDto &other)
 
void replaceData (PlaybackInfoDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString userId () const
 Gets or sets the playback userId.
 
void setUserId (QString newUserId)
 Gets or sets the playback userId.
 
bool userIdNull () const
 
void setUserIdNull ()
 
std::optional< qint32 > maxStreamingBitrate () const
 Gets or sets the max streaming bitrate.
 
void setMaxStreamingBitrate (std::optional< qint32 > newMaxStreamingBitrate)
 Gets or sets the max streaming bitrate.
 
bool maxStreamingBitrateNull () const
 
void setMaxStreamingBitrateNull ()
 
std::optional< qint64 > startTimeTicks () const
 Gets or sets the start time in ticks.
 
void setStartTimeTicks (std::optional< qint64 > newStartTimeTicks)
 Gets or sets the start time in ticks.
 
bool startTimeTicksNull () const
 
void setStartTimeTicksNull ()
 
std::optional< qint32 > audioStreamIndex () const
 Gets or sets the audio stream index.
 
void setAudioStreamIndex (std::optional< qint32 > newAudioStreamIndex)
 Gets or sets the audio stream index.
 
bool audioStreamIndexNull () const
 
void setAudioStreamIndexNull ()
 
std::optional< qint32 > subtitleStreamIndex () const
 Gets or sets the subtitle stream index.
 
void setSubtitleStreamIndex (std::optional< qint32 > newSubtitleStreamIndex)
 Gets or sets the subtitle stream index.
 
bool subtitleStreamIndexNull () const
 
void setSubtitleStreamIndexNull ()
 
std::optional< qint32 > maxAudioChannels () const
 Gets or sets the max audio channels.
 
void setMaxAudioChannels (std::optional< qint32 > newMaxAudioChannels)
 Gets or sets the max audio channels.
 
bool maxAudioChannelsNull () const
 
void setMaxAudioChannelsNull ()
 
QString mediaSourceId () const
 Gets or sets the media source id.
 
void setMediaSourceId (QString newMediaSourceId)
 Gets or sets the media source id.
 
bool mediaSourceIdNull () const
 
void setMediaSourceIdNull ()
 
QString liveStreamId () const
 Gets or sets the live stream id.
 
void setLiveStreamId (QString newLiveStreamId)
 Gets or sets the live stream id.
 
bool liveStreamIdNull () const
 
void setLiveStreamIdNull ()
 
QSharedPointer< DeviceProfiledeviceProfile () const
 
void setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile)
 
std::optional< bool > enableDirectPlay () const
 Gets or sets a value indicating whether to enable direct play.
 
void setEnableDirectPlay (std::optional< bool > newEnableDirectPlay)
 Gets or sets a value indicating whether to enable direct play.
 
bool enableDirectPlayNull () const
 
void setEnableDirectPlayNull ()
 
std::optional< bool > enableDirectStream () const
 Gets or sets a value indicating whether to enable direct stream.
 
void setEnableDirectStream (std::optional< bool > newEnableDirectStream)
 Gets or sets a value indicating whether to enable direct stream.
 
bool enableDirectStreamNull () const
 
void setEnableDirectStreamNull ()
 
std::optional< bool > enableTranscoding () const
 Gets or sets a value indicating whether to enable transcoding.
 
void setEnableTranscoding (std::optional< bool > newEnableTranscoding)
 Gets or sets a value indicating whether to enable transcoding.
 
bool enableTranscodingNull () const
 
void setEnableTranscodingNull ()
 
std::optional< bool > allowVideoStreamCopy () const
 Gets or sets a value indicating whether to enable video stream copy.
 
void setAllowVideoStreamCopy (std::optional< bool > newAllowVideoStreamCopy)
 Gets or sets a value indicating whether to enable video stream copy.
 
bool allowVideoStreamCopyNull () const
 
void setAllowVideoStreamCopyNull ()
 
std::optional< bool > allowAudioStreamCopy () const
 Gets or sets a value indicating whether to allow audio stream copy.
 
void setAllowAudioStreamCopy (std::optional< bool > newAllowAudioStreamCopy)
 Gets or sets a value indicating whether to allow audio stream copy.
 
bool allowAudioStreamCopyNull () const
 
void setAllowAudioStreamCopyNull ()
 
std::optional< bool > autoOpenLiveStream () const
 Gets or sets a value indicating whether to auto open the live stream.
 
void setAutoOpenLiveStream (std::optional< bool > newAutoOpenLiveStream)
 Gets or sets a value indicating whether to auto open the live stream.
 
bool autoOpenLiveStreamNull () const
 
void setAutoOpenLiveStreamNull ()
 

Static Public Member Functions

static PlaybackInfoDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_userId
 
std::optional< qint32 > m_maxStreamingBitrate = std::nullopt
 
std::optional< qint64 > m_startTimeTicks = std::nullopt
 
std::optional< qint32 > m_audioStreamIndex = std::nullopt
 
std::optional< qint32 > m_subtitleStreamIndex = std::nullopt
 
std::optional< qint32 > m_maxAudioChannels = std::nullopt
 
QString m_mediaSourceId
 
QString m_liveStreamId
 
QSharedPointer< DeviceProfilem_deviceProfile = QSharedPointer<DeviceProfile>()
 
std::optional< bool > m_enableDirectPlay = std::nullopt
 
std::optional< bool > m_enableDirectStream = std::nullopt
 
std::optional< bool > m_enableTranscoding = std::nullopt
 
std::optional< bool > m_allowVideoStreamCopy = std::nullopt
 
std::optional< bool > m_allowAudioStreamCopy = std::nullopt
 
std::optional< bool > m_autoOpenLiveStream = std::nullopt
 

Constructor & Destructor Documentation

◆ PlaybackInfoDto() [1/2]

Jellyfin::DTO::PlaybackInfoDto::PlaybackInfoDto ( QSharedPointer< DeviceProfile > deviceProfile)

◆ PlaybackInfoDto() [2/2]

Jellyfin::DTO::PlaybackInfoDto::PlaybackInfoDto ( const PlaybackInfoDto & other)

Member Function Documentation

◆ allowAudioStreamCopy()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::allowAudioStreamCopy ( ) const

Gets or sets a value indicating whether to allow audio stream copy.

◆ allowAudioStreamCopyNull()

bool Jellyfin::DTO::PlaybackInfoDto::allowAudioStreamCopyNull ( ) const

◆ allowVideoStreamCopy()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::allowVideoStreamCopy ( ) const

Gets or sets a value indicating whether to enable video stream copy.

◆ allowVideoStreamCopyNull()

bool Jellyfin::DTO::PlaybackInfoDto::allowVideoStreamCopyNull ( ) const

◆ audioStreamIndex()

std::optional< qint32 > Jellyfin::DTO::PlaybackInfoDto::audioStreamIndex ( ) const

Gets or sets the audio stream index.

◆ audioStreamIndexNull()

bool Jellyfin::DTO::PlaybackInfoDto::audioStreamIndexNull ( ) const

◆ autoOpenLiveStream()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::autoOpenLiveStream ( ) const

Gets or sets a value indicating whether to auto open the live stream.

◆ autoOpenLiveStreamNull()

bool Jellyfin::DTO::PlaybackInfoDto::autoOpenLiveStreamNull ( ) const

◆ deviceProfile()

QSharedPointer< DeviceProfile > Jellyfin::DTO::PlaybackInfoDto::deviceProfile ( ) const

◆ enableDirectPlay()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::enableDirectPlay ( ) const

Gets or sets a value indicating whether to enable direct play.

◆ enableDirectPlayNull()

bool Jellyfin::DTO::PlaybackInfoDto::enableDirectPlayNull ( ) const

◆ enableDirectStream()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::enableDirectStream ( ) const

Gets or sets a value indicating whether to enable direct stream.

◆ enableDirectStreamNull()

bool Jellyfin::DTO::PlaybackInfoDto::enableDirectStreamNull ( ) const

◆ enableTranscoding()

std::optional< bool > Jellyfin::DTO::PlaybackInfoDto::enableTranscoding ( ) const

Gets or sets a value indicating whether to enable transcoding.

◆ enableTranscodingNull()

bool Jellyfin::DTO::PlaybackInfoDto::enableTranscodingNull ( ) const

◆ fromJson()

PlaybackInfoDto Jellyfin::DTO::PlaybackInfoDto::fromJson ( QJsonObject source)
static

◆ liveStreamId()

QString Jellyfin::DTO::PlaybackInfoDto::liveStreamId ( ) const

Gets or sets the live stream id.

◆ liveStreamIdNull()

bool Jellyfin::DTO::PlaybackInfoDto::liveStreamIdNull ( ) const

◆ maxAudioChannels()

std::optional< qint32 > Jellyfin::DTO::PlaybackInfoDto::maxAudioChannels ( ) const

Gets or sets the max audio channels.

◆ maxAudioChannelsNull()

bool Jellyfin::DTO::PlaybackInfoDto::maxAudioChannelsNull ( ) const

◆ maxStreamingBitrate()

std::optional< qint32 > Jellyfin::DTO::PlaybackInfoDto::maxStreamingBitrate ( ) const

Gets or sets the max streaming bitrate.

◆ maxStreamingBitrateNull()

bool Jellyfin::DTO::PlaybackInfoDto::maxStreamingBitrateNull ( ) const

◆ mediaSourceId()

QString Jellyfin::DTO::PlaybackInfoDto::mediaSourceId ( ) const

Gets or sets the media source id.

◆ mediaSourceIdNull()

bool Jellyfin::DTO::PlaybackInfoDto::mediaSourceIdNull ( ) const

◆ replaceData()

void Jellyfin::DTO::PlaybackInfoDto::replaceData ( PlaybackInfoDto & other)

Replaces the data being hold by this class with that of the other.

◆ setAllowAudioStreamCopy()

void Jellyfin::DTO::PlaybackInfoDto::setAllowAudioStreamCopy ( std::optional< bool > newAllowAudioStreamCopy)

Gets or sets a value indicating whether to allow audio stream copy.

◆ setAllowAudioStreamCopyNull()

void Jellyfin::DTO::PlaybackInfoDto::setAllowAudioStreamCopyNull ( )

◆ setAllowVideoStreamCopy()

void Jellyfin::DTO::PlaybackInfoDto::setAllowVideoStreamCopy ( std::optional< bool > newAllowVideoStreamCopy)

Gets or sets a value indicating whether to enable video stream copy.

◆ setAllowVideoStreamCopyNull()

void Jellyfin::DTO::PlaybackInfoDto::setAllowVideoStreamCopyNull ( )

◆ setAudioStreamIndex()

void Jellyfin::DTO::PlaybackInfoDto::setAudioStreamIndex ( std::optional< qint32 > newAudioStreamIndex)

Gets or sets the audio stream index.

◆ setAudioStreamIndexNull()

void Jellyfin::DTO::PlaybackInfoDto::setAudioStreamIndexNull ( )

◆ setAutoOpenLiveStream()

void Jellyfin::DTO::PlaybackInfoDto::setAutoOpenLiveStream ( std::optional< bool > newAutoOpenLiveStream)

Gets or sets a value indicating whether to auto open the live stream.

◆ setAutoOpenLiveStreamNull()

void Jellyfin::DTO::PlaybackInfoDto::setAutoOpenLiveStreamNull ( )

◆ setDeviceProfile()

void Jellyfin::DTO::PlaybackInfoDto::setDeviceProfile ( QSharedPointer< DeviceProfile > newDeviceProfile)

◆ setEnableDirectPlay()

void Jellyfin::DTO::PlaybackInfoDto::setEnableDirectPlay ( std::optional< bool > newEnableDirectPlay)

Gets or sets a value indicating whether to enable direct play.

◆ setEnableDirectPlayNull()

void Jellyfin::DTO::PlaybackInfoDto::setEnableDirectPlayNull ( )

◆ setEnableDirectStream()

void Jellyfin::DTO::PlaybackInfoDto::setEnableDirectStream ( std::optional< bool > newEnableDirectStream)

Gets or sets a value indicating whether to enable direct stream.

◆ setEnableDirectStreamNull()

void Jellyfin::DTO::PlaybackInfoDto::setEnableDirectStreamNull ( )

◆ setEnableTranscoding()

void Jellyfin::DTO::PlaybackInfoDto::setEnableTranscoding ( std::optional< bool > newEnableTranscoding)

Gets or sets a value indicating whether to enable transcoding.

◆ setEnableTranscodingNull()

void Jellyfin::DTO::PlaybackInfoDto::setEnableTranscodingNull ( )

◆ setFromJson()

void Jellyfin::DTO::PlaybackInfoDto::setFromJson ( QJsonObject source)

◆ setLiveStreamId()

void Jellyfin::DTO::PlaybackInfoDto::setLiveStreamId ( QString newLiveStreamId)

Gets or sets the live stream id.

◆ setLiveStreamIdNull()

void Jellyfin::DTO::PlaybackInfoDto::setLiveStreamIdNull ( )

◆ setMaxAudioChannels()

void Jellyfin::DTO::PlaybackInfoDto::setMaxAudioChannels ( std::optional< qint32 > newMaxAudioChannels)

Gets or sets the max audio channels.

◆ setMaxAudioChannelsNull()

void Jellyfin::DTO::PlaybackInfoDto::setMaxAudioChannelsNull ( )

◆ setMaxStreamingBitrate()

void Jellyfin::DTO::PlaybackInfoDto::setMaxStreamingBitrate ( std::optional< qint32 > newMaxStreamingBitrate)

Gets or sets the max streaming bitrate.

◆ setMaxStreamingBitrateNull()

void Jellyfin::DTO::PlaybackInfoDto::setMaxStreamingBitrateNull ( )

◆ setMediaSourceId()

void Jellyfin::DTO::PlaybackInfoDto::setMediaSourceId ( QString newMediaSourceId)

Gets or sets the media source id.

◆ setMediaSourceIdNull()

void Jellyfin::DTO::PlaybackInfoDto::setMediaSourceIdNull ( )

◆ setStartTimeTicks()

void Jellyfin::DTO::PlaybackInfoDto::setStartTimeTicks ( std::optional< qint64 > newStartTimeTicks)

Gets or sets the start time in ticks.

◆ setStartTimeTicksNull()

void Jellyfin::DTO::PlaybackInfoDto::setStartTimeTicksNull ( )

◆ setSubtitleStreamIndex()

void Jellyfin::DTO::PlaybackInfoDto::setSubtitleStreamIndex ( std::optional< qint32 > newSubtitleStreamIndex)

Gets or sets the subtitle stream index.

◆ setSubtitleStreamIndexNull()

void Jellyfin::DTO::PlaybackInfoDto::setSubtitleStreamIndexNull ( )

◆ setUserId()

void Jellyfin::DTO::PlaybackInfoDto::setUserId ( QString newUserId)

Gets or sets the playback userId.

◆ setUserIdNull()

void Jellyfin::DTO::PlaybackInfoDto::setUserIdNull ( )

◆ startTimeTicks()

std::optional< qint64 > Jellyfin::DTO::PlaybackInfoDto::startTimeTicks ( ) const

Gets or sets the start time in ticks.

◆ startTimeTicksNull()

bool Jellyfin::DTO::PlaybackInfoDto::startTimeTicksNull ( ) const

◆ subtitleStreamIndex()

std::optional< qint32 > Jellyfin::DTO::PlaybackInfoDto::subtitleStreamIndex ( ) const

Gets or sets the subtitle stream index.

◆ subtitleStreamIndexNull()

bool Jellyfin::DTO::PlaybackInfoDto::subtitleStreamIndexNull ( ) const

◆ toJson()

QJsonObject Jellyfin::DTO::PlaybackInfoDto::toJson ( ) const

◆ userId()

QString Jellyfin::DTO::PlaybackInfoDto::userId ( ) const

Gets or sets the playback userId.

◆ userIdNull()

bool Jellyfin::DTO::PlaybackInfoDto::userIdNull ( ) const

Member Data Documentation

◆ m_allowAudioStreamCopy

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_allowAudioStreamCopy = std::nullopt
protected

◆ m_allowVideoStreamCopy

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_allowVideoStreamCopy = std::nullopt
protected

◆ m_audioStreamIndex

std::optional<qint32> Jellyfin::DTO::PlaybackInfoDto::m_audioStreamIndex = std::nullopt
protected

◆ m_autoOpenLiveStream

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_autoOpenLiveStream = std::nullopt
protected

◆ m_deviceProfile

QSharedPointer<DeviceProfile> Jellyfin::DTO::PlaybackInfoDto::m_deviceProfile = QSharedPointer<DeviceProfile>()
protected

◆ m_enableDirectPlay

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_enableDirectPlay = std::nullopt
protected

◆ m_enableDirectStream

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_enableDirectStream = std::nullopt
protected

◆ m_enableTranscoding

std::optional<bool> Jellyfin::DTO::PlaybackInfoDto::m_enableTranscoding = std::nullopt
protected

◆ m_liveStreamId

QString Jellyfin::DTO::PlaybackInfoDto::m_liveStreamId
protected

◆ m_maxAudioChannels

std::optional<qint32> Jellyfin::DTO::PlaybackInfoDto::m_maxAudioChannels = std::nullopt
protected

◆ m_maxStreamingBitrate

std::optional<qint32> Jellyfin::DTO::PlaybackInfoDto::m_maxStreamingBitrate = std::nullopt
protected

◆ m_mediaSourceId

QString Jellyfin::DTO::PlaybackInfoDto::m_mediaSourceId
protected

◆ m_startTimeTicks

std::optional<qint64> Jellyfin::DTO::PlaybackInfoDto::m_startTimeTicks = std::nullopt
protected

◆ m_subtitleStreamIndex

std::optional<qint32> Jellyfin::DTO::PlaybackInfoDto::m_subtitleStreamIndex = std::nullopt
protected

◆ m_userId

QString Jellyfin::DTO::PlaybackInfoDto::m_userId
protected

The documentation for this class was generated from the following files: