30#ifndef JELLYFIN_DTO_PLAYBACKINFODTO_H
31#define JELLYFIN_DTO_PLAYBACKINFODTO_H
35#include <QSharedPointer>
65 QJsonObject
toJson()
const;
Definition playbackinfodto.h:50
bool allowVideoStreamCopyNull() const
Definition playbackinfodto.cpp:337
bool mediaSourceIdNull() const
Definition playbackinfodto.cpp:266
void setMaxStreamingBitrate(std::optional< qint32 > newMaxStreamingBitrate)
Gets or sets the max streaming bitrate.
Definition playbackinfodto.cpp:198
void setEnableDirectStream(std::optional< bool > newEnableDirectStream)
Gets or sets a value indicating whether to enable direct stream.
Definition playbackinfodto.cpp:308
QSharedPointer< DeviceProfile > m_deviceProfile
Definition playbackinfodto.h:237
std::optional< qint32 > maxAudioChannels() const
Gets or sets the max audio channels.
Definition playbackinfodto.cpp:248
std::optional< bool > autoOpenLiveStream() const
Gets or sets a value indicating whether to auto open the live stream.
Definition playbackinfodto.cpp:358
void setLiveStreamIdNull()
Definition playbackinfodto.cpp:283
QString liveStreamId() const
Gets or sets the live stream id.
Definition playbackinfodto.cpp:274
void setSubtitleStreamIndexNull()
Definition playbackinfodto.cpp:244
QString m_mediaSourceId
Definition playbackinfodto.h:235
void setAutoOpenLiveStreamNull()
Definition playbackinfodto.cpp:367
void setEnableTranscodingNull()
Definition playbackinfodto.cpp:328
std::optional< qint64 > startTimeTicks() const
Gets or sets the start time in ticks.
Definition playbackinfodto.cpp:209
std::optional< bool > m_allowAudioStreamCopy
Definition playbackinfodto.h:242
bool autoOpenLiveStreamNull() const
Definition playbackinfodto.cpp:363
void setMediaSourceIdNull()
Definition playbackinfodto.cpp:270
std::optional< bool > allowAudioStreamCopy() const
Gets or sets a value indicating whether to allow audio stream copy.
Definition playbackinfodto.cpp:345
void setEnableDirectStreamNull()
Definition playbackinfodto.cpp:315
void setEnableTranscoding(std::optional< bool > newEnableTranscoding)
Gets or sets a value indicating whether to enable transcoding.
Definition playbackinfodto.cpp:321
QString mediaSourceId() const
Gets or sets the media source id.
Definition playbackinfodto.cpp:261
void setStartTimeTicksNull()
Definition playbackinfodto.cpp:218
bool allowAudioStreamCopyNull() const
Definition playbackinfodto.cpp:350
void setLiveStreamId(QString newLiveStreamId)
Gets or sets the live stream id.
Definition playbackinfodto.cpp:276
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Gets or sets the audio stream index.
Definition playbackinfodto.cpp:224
std::optional< bool > m_enableTranscoding
Definition playbackinfodto.h:240
std::optional< bool > enableDirectStream() const
Gets or sets a value indicating whether to enable direct stream.
Definition playbackinfodto.cpp:306
bool maxStreamingBitrateNull() const
Definition playbackinfodto.cpp:201
QString userId() const
Gets or sets the playback userId.
Definition playbackinfodto.cpp:183
QString m_liveStreamId
Definition playbackinfodto.h:236
std::optional< bool > enableDirectPlay() const
Gets or sets a value indicating whether to enable direct play.
Definition playbackinfodto.cpp:293
std::optional< bool > m_enableDirectPlay
Definition playbackinfodto.h:238
bool audioStreamIndexNull() const
Definition playbackinfodto.cpp:227
static PlaybackInfoDto fromJson(QJsonObject source)
Definition playbackinfodto.cpp:80
std::optional< qint32 > audioStreamIndex() const
Gets or sets the audio stream index.
Definition playbackinfodto.cpp:222
void setStartTimeTicks(std::optional< qint64 > newStartTimeTicks)
Gets or sets the start time in ticks.
Definition playbackinfodto.cpp:211
void setAllowVideoStreamCopy(std::optional< bool > newAllowVideoStreamCopy)
Gets or sets a value indicating whether to enable video stream copy.
Definition playbackinfodto.cpp:334
std::optional< qint64 > m_startTimeTicks
Definition playbackinfodto.h:231
bool userIdNull() const
Definition playbackinfodto.cpp:188
std::optional< bool > m_enableDirectStream
Definition playbackinfodto.h:239
std::optional< qint32 > subtitleStreamIndex() const
Gets or sets the subtitle stream index.
Definition playbackinfodto.cpp:235
bool liveStreamIdNull() const
Definition playbackinfodto.cpp:279
QSharedPointer< DeviceProfile > deviceProfile() const
Definition playbackinfodto.cpp:287
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Gets or sets the subtitle stream index.
Definition playbackinfodto.cpp:237
void setMaxAudioChannels(std::optional< qint32 > newMaxAudioChannels)
Gets or sets the max audio channels.
Definition playbackinfodto.cpp:250
bool maxAudioChannelsNull() const
Definition playbackinfodto.cpp:253
void setUserId(QString newUserId)
Gets or sets the playback userId.
Definition playbackinfodto.cpp:185
bool startTimeTicksNull() const
Definition playbackinfodto.cpp:214
void setEnableDirectPlayNull()
Definition playbackinfodto.cpp:302
void setFromJson(QJsonObject source)
Definition playbackinfodto.cpp:87
void setMaxAudioChannelsNull()
Definition playbackinfodto.cpp:257
void setUserIdNull()
Definition playbackinfodto.cpp:192
void setMaxStreamingBitrateNull()
Definition playbackinfodto.cpp:205
std::optional< bool > allowVideoStreamCopy() const
Gets or sets a value indicating whether to enable video stream copy.
Definition playbackinfodto.cpp:332
std::optional< bool > enableTranscoding() const
Gets or sets a value indicating whether to enable transcoding.
Definition playbackinfodto.cpp:319
void replaceData(PlaybackInfoDto &other)
Definition playbackinfodto.cpp:62
std::optional< qint32 > m_subtitleStreamIndex
Definition playbackinfodto.h:233
bool enableDirectPlayNull() const
Definition playbackinfodto.cpp:298
void setEnableDirectPlay(std::optional< bool > newEnableDirectPlay)
Gets or sets a value indicating whether to enable direct play.
Definition playbackinfodto.cpp:295
bool enableDirectStreamNull() const
Definition playbackinfodto.cpp:311
void setAudioStreamIndexNull()
Definition playbackinfodto.cpp:231
std::optional< qint32 > m_maxStreamingBitrate
Definition playbackinfodto.h:230
void setDeviceProfile(QSharedPointer< DeviceProfile > newDeviceProfile)
Definition playbackinfodto.cpp:289
void setAllowAudioStreamCopy(std::optional< bool > newAllowAudioStreamCopy)
Gets or sets a value indicating whether to allow audio stream copy.
Definition playbackinfodto.cpp:347
std::optional< bool > m_allowVideoStreamCopy
Definition playbackinfodto.h:241
void setAllowVideoStreamCopyNull()
Definition playbackinfodto.cpp:341
std::optional< qint32 > maxStreamingBitrate() const
Gets or sets the max streaming bitrate.
Definition playbackinfodto.cpp:196
std::optional< qint32 > m_maxAudioChannels
Definition playbackinfodto.h:234
std::optional< qint32 > m_audioStreamIndex
Definition playbackinfodto.h:232
QJsonObject toJson() const
Definition playbackinfodto.cpp:106
bool enableTranscodingNull() const
Definition playbackinfodto.cpp:324
std::optional< bool > m_autoOpenLiveStream
Definition playbackinfodto.h:243
QString m_userId
Definition playbackinfodto.h:229
void setAllowAudioStreamCopyNull()
Definition playbackinfodto.cpp:354
void setMediaSourceId(QString newMediaSourceId)
Gets or sets the media source id.
Definition playbackinfodto.cpp:263
bool subtitleStreamIndexNull() const
Definition playbackinfodto.cpp:240
void setAutoOpenLiveStream(std::optional< bool > newAutoOpenLiveStream)
Gets or sets a value indicating whether to auto open the live stream.
Definition playbackinfodto.cpp:360
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45