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