30#ifndef JELLYFIN_DTO_OPENLIVESTREAMDTO_H
31#define JELLYFIN_DTO_OPENLIVESTREAMDTO_H
36#include <QSharedPointer>
69 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition openlivestreamdto.h:53
QString m_userId
Definition openlivestreamdto.h:221
bool subtitleStreamIndexNull() const
Definition openlivestreamdto.cpp:256
void setPlaySessionIdNull()
Definition openlivestreamdto.cpp:208
void setUserIdNull()
Definition openlivestreamdto.cpp:195
bool audioStreamIndexNull() const
Definition openlivestreamdto.cpp:243
void setMaxAudioChannelsNull()
Definition openlivestreamdto.cpp:273
void setMaxStreamingBitrate(std::optional< qint32 > newMaxStreamingBitrate)
Gets or sets the max streaming bitrate.
Definition openlivestreamdto.cpp:214
std::optional< qint32 > m_maxAudioChannels
Definition openlivestreamdto.h:227
std::optional< qint32 > m_maxStreamingBitrate
Definition openlivestreamdto.h:223
std::optional< qint32 > maxStreamingBitrate() const
Gets or sets the max streaming bitrate.
Definition openlivestreamdto.cpp:212
bool enableDirectStreamNull() const
Definition openlivestreamdto.cpp:308
QSharedPointer< DeviceProfile > deviceProfile() const
Definition openlivestreamdto.cpp:329
std::optional< bool > m_alwaysBurnInSubtitleWhenTranscoding
Definition openlivestreamdto.h:231
bool maxStreamingBitrateNull() const
Definition openlivestreamdto.cpp:217
void setSubtitleStreamIndexNull()
Definition openlivestreamdto.cpp:260
void setEnableDirectStreamNull()
Definition openlivestreamdto.cpp:312
bool playSessionIdNull() const
Definition openlivestreamdto.cpp:204
bool alwaysBurnInSubtitleWhenTranscodingNull() const
Definition openlivestreamdto.cpp:321
QSharedPointer< DeviceProfile > m_deviceProfile
Definition openlivestreamdto.h:232
std::optional< bool > m_enableDirectStream
Definition openlivestreamdto.h:230
std::optional< qint32 > m_audioStreamIndex
Definition openlivestreamdto.h:225
std::optional< qint64 > startTimeTicks() const
Gets or sets the start time in ticks.
Definition openlivestreamdto.cpp:225
std::optional< qint32 > m_subtitleStreamIndex
Definition openlivestreamdto.h:226
std::optional< bool > m_enableDirectPlay
Definition openlivestreamdto.h:229
QString m_openToken
Definition openlivestreamdto.h:220
OpenLiveStreamDto(QSharedPointer< DeviceProfile > deviceProfile, QList< MediaProtocol > directPlayProtocols)
Definition openlivestreamdto.cpp:36
QString itemId() const
Gets or sets the item id.
Definition openlivestreamdto.cpp:277
bool startTimeTicksNull() const
Definition openlivestreamdto.cpp:230
void setAlwaysBurnInSubtitleWhenTranscodingNull()
Definition openlivestreamdto.cpp:325
void setStartTimeTicks(std::optional< qint64 > newStartTimeTicks)
Gets or sets the start time in ticks.
Definition openlivestreamdto.cpp:227
QString openToken() const
Gets or sets the open token.
Definition openlivestreamdto.cpp:173
QString playSessionId() const
Gets or sets the play session id.
Definition openlivestreamdto.cpp:199
void setEnableDirectStream(std::optional< bool > newEnableDirectStream)
Gets or sets a value indicating whether to enale direct stream.
Definition openlivestreamdto.cpp:305
void setDirectPlayProtocols(QList< MediaProtocol > newDirectPlayProtocols)
Gets or sets the device play protocols.
Definition openlivestreamdto.cpp:337
void setItemId(QString newItemId)
Gets or sets the item id.
Definition openlivestreamdto.cpp:279
void setMaxAudioChannels(std::optional< qint32 > newMaxAudioChannels)
Gets or sets the max audio channels.
Definition openlivestreamdto.cpp:266
void setMaxStreamingBitrateNull()
Definition openlivestreamdto.cpp:221
void setItemIdNull()
Definition openlivestreamdto.cpp:286
bool enableDirectPlayNull() const
Definition openlivestreamdto.cpp:295
QList< MediaProtocol > m_directPlayProtocols
Definition openlivestreamdto.h:233
QList< MediaProtocol > directPlayProtocols() const
Gets or sets the device play protocols.
Definition openlivestreamdto.cpp:335
std::optional< qint32 > maxAudioChannels() const
Gets or sets the max audio channels.
Definition openlivestreamdto.cpp:264
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Gets or sets the audio stream index.
Definition openlivestreamdto.cpp:240
QString userId() const
Gets or sets the user id.
Definition openlivestreamdto.cpp:186
void setEnableDirectPlayNull()
Definition openlivestreamdto.cpp:299
void setDeviceProfile(QSharedPointer< DeviceProfile > newDeviceProfile)
Definition openlivestreamdto.cpp:331
std::optional< qint64 > m_startTimeTicks
Definition openlivestreamdto.h:224
void setAudioStreamIndexNull()
Definition openlivestreamdto.cpp:247
std::optional< qint32 > subtitleStreamIndex() const
Gets or sets the subtitle stream index.
Definition openlivestreamdto.cpp:251
std::optional< bool > enableDirectStream() const
Gets or sets a value indicating whether to enale direct stream.
Definition openlivestreamdto.cpp:303
void setEnableDirectPlay(std::optional< bool > newEnableDirectPlay)
Gets or sets a value indicating whether to enable direct play.
Definition openlivestreamdto.cpp:292
bool userIdNull() const
Definition openlivestreamdto.cpp:191
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Gets or sets the subtitle stream index.
Definition openlivestreamdto.cpp:253
std::optional< bool > enableDirectPlay() const
Gets or sets a value indicating whether to enable direct play.
Definition openlivestreamdto.cpp:290
void setOpenToken(QString newOpenToken)
Gets or sets the open token.
Definition openlivestreamdto.cpp:175
void setUserId(QString newUserId)
Gets or sets the user id.
Definition openlivestreamdto.cpp:188
void setFromJson(QJsonObject source)
Definition openlivestreamdto.cpp:87
std::optional< bool > alwaysBurnInSubtitleWhenTranscoding() const
Gets or sets a value indicating whether always burn in subtitles when transcoding.
Definition openlivestreamdto.cpp:316
void setStartTimeTicksNull()
Definition openlivestreamdto.cpp:234
bool maxAudioChannelsNull() const
Definition openlivestreamdto.cpp:269
void setPlaySessionId(QString newPlaySessionId)
Gets or sets the play session id.
Definition openlivestreamdto.cpp:201
QString m_playSessionId
Definition openlivestreamdto.h:222
QJsonObject toJson() const
Definition openlivestreamdto.cpp:105
static OpenLiveStreamDto fromJson(QJsonObject source)
Definition openlivestreamdto.cpp:80
void replaceData(OpenLiveStreamDto &other)
Definition openlivestreamdto.cpp:63
QString m_itemId
Definition openlivestreamdto.h:228
bool openTokenNull() const
Definition openlivestreamdto.cpp:178
bool itemIdNull() const
Definition openlivestreamdto.cpp:282
std::optional< qint32 > audioStreamIndex() const
Gets or sets the audio stream index.
Definition openlivestreamdto.cpp:238
void setOpenTokenNull()
Definition openlivestreamdto.cpp:182
void setAlwaysBurnInSubtitleWhenTranscoding(std::optional< bool > newAlwaysBurnInSubtitleWhenTranscoding)
Gets or sets a value indicating whether always burn in subtitles when transcoding.
Definition openlivestreamdto.cpp:318
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::OpenLiveStreamDto OpenLiveStreamDto
Definition openlivestreamdto.h:245
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