30#ifndef JELLYFIN_DTO_PLAYBACKSTARTINFO_H
31#define JELLYFIN_DTO_PLAYBACKSTARTINFO_H
36#include <QSharedPointer>
59 QSharedPointer<BaseItemDto>
item,
76 QJsonObject
toJson()
const;
89 QSharedPointer<BaseItemDto>
item()
const;
91 void setItem(QSharedPointer<BaseItemDto> newItem);
256 QSharedPointer<BaseItemDto>
m_item = QSharedPointer<BaseItemDto>();
Value
Definition playmethod.h:49
Definition playbackstartinfo.h:55
std::optional< qint32 > brightness() const
Definition playbackstartinfo.cpp:332
void setBrightnessNull()
Definition playbackstartinfo.cpp:341
void setVolumeLevelNull()
Definition playbackstartinfo.cpp:328
void setPlaySessionIdNull()
Definition playbackstartinfo.cpp:386
QString playlistItemId() const
Definition playbackstartinfo.cpp:409
void setMediaSourceIdNull()
Definition playbackstartinfo.cpp:251
QString playSessionId() const
Gets or sets the play session identifier.
Definition playbackstartinfo.cpp:377
QString itemId() const
Gets or sets the item identifier.
Definition playbackstartinfo.cpp:223
bool liveStreamIdNull() const
Definition playbackstartinfo.cpp:369
bool playbackStartTimeTicksNull() const
Definition playbackstartinfo.cpp:311
std::optional< qint64 > playbackStartTimeTicks() const
Definition playbackstartinfo.cpp:306
void setFromJson(QJsonObject source)
Definition playbackstartinfo.cpp:109
bool nowPlayingQueueNull() const
Definition playbackstartinfo.cpp:401
QList< QueueItem > nowPlayingQueue() const
Definition playbackstartinfo.cpp:396
void setLiveStreamIdNull()
Definition playbackstartinfo.cpp:373
void setIsMuted(bool newIsMuted)
Gets or sets a value indicating whether this instance is muted.
Definition playbackstartinfo.cpp:289
void setPlaySessionId(QString newPlaySessionId)
Gets or sets the play session identifier.
Definition playbackstartinfo.cpp:379
void setPositionTicksNull()
Definition playbackstartinfo.cpp:302
QString m_itemId
Definition playbackstartinfo.h:257
QSharedPointer< BaseItemDto > m_item
Definition playbackstartinfo.h:256
void setRepeatMode(RepeatMode newRepeatMode)
Definition playbackstartinfo.cpp:392
bool mediaSourceIdNull() const
Definition playbackstartinfo.cpp:247
bool brightnessNull() const
Definition playbackstartinfo.cpp:337
static PlaybackStartInfo fromJson(QJsonObject source)
Definition playbackstartinfo.cpp:102
PlayMethod m_playMethod
Definition playbackstartinfo.h:269
QString m_mediaSourceId
Definition playbackstartinfo.h:259
bool sessionIdNull() const
Definition playbackstartinfo.cpp:234
void setPlaybackStartTimeTicks(std::optional< qint64 > newPlaybackStartTimeTicks)
Definition playbackstartinfo.cpp:308
bool canSeek() const
Gets or sets a value indicating whether this instance can seek.
Definition playbackstartinfo.cpp:211
std::optional< qint32 > volumeLevel() const
Gets or sets the volume level.
Definition playbackstartinfo.cpp:319
bool playSessionIdNull() const
Definition playbackstartinfo.cpp:382
void setNowPlayingQueue(QList< QueueItem > newNowPlayingQueue)
Definition playbackstartinfo.cpp:398
std::optional< qint32 > m_volumeLevel
Definition playbackstartinfo.h:266
QSharedPointer< BaseItemDto > item() const
Definition playbackstartinfo.cpp:217
bool playlistItemIdNull() const
Definition playbackstartinfo.cpp:414
void setPlaylistItemIdNull()
Definition playbackstartinfo.cpp:418
std::optional< qint32 > audioStreamIndex() const
Gets or sets the index of the audio stream.
Definition playbackstartinfo.cpp:255
bool audioStreamIndexNull() const
Definition playbackstartinfo.cpp:260
void setAudioStreamIndexNull()
Definition playbackstartinfo.cpp:264
std::optional< qint64 > m_positionTicks
Definition playbackstartinfo.h:264
QString mediaSourceId() const
Gets or sets the media version identifier.
Definition playbackstartinfo.cpp:242
void setAspectRatio(QString newAspectRatio)
Definition playbackstartinfo.cpp:347
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Gets or sets the index of the audio stream.
Definition playbackstartinfo.cpp:257
void setLiveStreamId(QString newLiveStreamId)
Gets or sets the live stream identifier.
Definition playbackstartinfo.cpp:366
QJsonObject toJson() const
Definition playbackstartinfo.cpp:133
std::optional< qint64 > positionTicks() const
Gets or sets the position ticks.
Definition playbackstartinfo.cpp:293
QString m_sessionId
Definition playbackstartinfo.h:258
std::optional< qint32 > subtitleStreamIndex() const
Gets or sets the index of the subtitle stream.
Definition playbackstartinfo.cpp:268
QString sessionId() const
Gets or sets the session id.
Definition playbackstartinfo.cpp:229
RepeatMode repeatMode() const
Definition playbackstartinfo.cpp:390
void setItem(QSharedPointer< BaseItemDto > newItem)
Definition playbackstartinfo.cpp:219
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Gets or sets the index of the subtitle stream.
Definition playbackstartinfo.cpp:270
bool volumeLevelNull() const
Definition playbackstartinfo.cpp:324
std::optional< qint32 > m_brightness
Definition playbackstartinfo.h:267
void setItemId(QString newItemId)
Gets or sets the item identifier.
Definition playbackstartinfo.cpp:225
void setPlaylistItemId(QString newPlaylistItemId)
Definition playbackstartinfo.cpp:411
void setPlaybackStartTimeTicksNull()
Definition playbackstartinfo.cpp:315
bool m_canSeek
Definition playbackstartinfo.h:255
QList< QueueItem > m_nowPlayingQueue
Definition playbackstartinfo.h:273
bool aspectRatioNull() const
Definition playbackstartinfo.cpp:350
RepeatMode m_repeatMode
Definition playbackstartinfo.h:272
void setAspectRatioNull()
Definition playbackstartinfo.cpp:354
void setPositionTicks(std::optional< qint64 > newPositionTicks)
Gets or sets the position ticks.
Definition playbackstartinfo.cpp:295
bool isMuted() const
Gets or sets a value indicating whether this instance is muted.
Definition playbackstartinfo.cpp:287
bool isPaused() const
Gets or sets a value indicating whether this instance is paused.
Definition playbackstartinfo.cpp:281
void setNowPlayingQueueNull()
Definition playbackstartinfo.cpp:405
void setBrightness(std::optional< qint32 > newBrightness)
Definition playbackstartinfo.cpp:334
void setSessionId(QString newSessionId)
Gets or sets the session id.
Definition playbackstartinfo.cpp:231
std::optional< qint32 > m_audioStreamIndex
Definition playbackstartinfo.h:260
std::optional< qint64 > m_playbackStartTimeTicks
Definition playbackstartinfo.h:265
std::optional< qint32 > m_subtitleStreamIndex
Definition playbackstartinfo.h:261
bool m_isMuted
Definition playbackstartinfo.h:263
bool m_isPaused
Definition playbackstartinfo.h:262
bool subtitleStreamIndexNull() const
Definition playbackstartinfo.cpp:273
void setSubtitleStreamIndexNull()
Definition playbackstartinfo.cpp:277
PlayMethod playMethod() const
Definition playbackstartinfo.cpp:358
void setMediaSourceId(QString newMediaSourceId)
Gets or sets the media version identifier.
Definition playbackstartinfo.cpp:244
QString aspectRatio() const
Definition playbackstartinfo.cpp:345
void setVolumeLevel(std::optional< qint32 > newVolumeLevel)
Gets or sets the volume level.
Definition playbackstartinfo.cpp:321
void setCanSeek(bool newCanSeek)
Gets or sets a value indicating whether this instance can seek.
Definition playbackstartinfo.cpp:213
QString m_playlistItemId
Definition playbackstartinfo.h:274
void setPlayMethod(PlayMethod newPlayMethod)
Definition playbackstartinfo.cpp:360
QString liveStreamId() const
Gets or sets the live stream identifier.
Definition playbackstartinfo.cpp:364
QString m_liveStreamId
Definition playbackstartinfo.h:270
void setSessionIdNull()
Definition playbackstartinfo.cpp:238
QString m_playSessionId
Definition playbackstartinfo.h:271
void setIsPaused(bool newIsPaused)
Gets or sets a value indicating whether this instance is paused.
Definition playbackstartinfo.cpp:283
bool positionTicksNull() const
Definition playbackstartinfo.cpp:298
void replaceData(PlaybackStartInfo &other)
Definition playbackstartinfo.cpp:79
QString m_aspectRatio
Definition playbackstartinfo.h:268
Value
Definition repeatmode.h:49
Definition mediaplayer2.h:20
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