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