30#ifndef JELLYFIN_DTO_PLAYBACKSTOPINFO_H
31#define JELLYFIN_DTO_PLAYBACKSTOPINFO_H
36#include <QSharedPointer>
56 QSharedPointer<BaseItemDto>
item,
70 QJsonObject
toJson()
const;
74 QSharedPointer<BaseItemDto>
item()
const;
76 void setItem(QSharedPointer<BaseItemDto> newItem);
174 QSharedPointer<BaseItemDto>
m_item = QSharedPointer<BaseItemDto>();
Definition playbackstopinfo.h:53
void setPlaySessionIdNull()
Definition playbackstopinfo.cpp:220
QString m_mediaSourceId
Definition playbackstopinfo.h:177
QString m_sessionId
Definition playbackstopinfo.h:176
QString playlistItemId() const
Definition playbackstopinfo.cpp:243
QSharedPointer< BaseItemDto > item() const
Definition playbackstopinfo.cpp:147
bool playSessionIdNull() const
Definition playbackstopinfo.cpp:216
QString m_itemId
Definition playbackstopinfo.h:175
QString m_playlistItemId
Definition playbackstopinfo.h:183
QList< QueueItem > nowPlayingQueue() const
Definition playbackstopinfo.cpp:256
void setFromJson(QJsonObject source)
Definition playbackstopinfo.cpp:83
void setPositionTicks(std::optional< qint64 > newPositionTicks)
Gets or sets the position ticks.
Definition playbackstopinfo.cpp:187
bool m_failed
Definition playbackstopinfo.h:181
bool sessionIdNull() const
Definition playbackstopinfo.cpp:164
QString playSessionId() const
Gets or sets the play session identifier.
Definition playbackstopinfo.cpp:211
void setFailed(bool newFailed)
Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.
Definition playbackstopinfo.cpp:226
QString liveStreamId() const
Gets or sets the live stream identifier.
Definition playbackstopinfo.cpp:198
QList< QueueItem > m_nowPlayingQueue
Definition playbackstopinfo.h:184
void setPositionTicksNull()
Definition playbackstopinfo.cpp:194
void setItemId(QString newItemId)
Gets or sets the item identifier.
Definition playbackstopinfo.cpp:155
bool mediaSourceIdNull() const
Definition playbackstopinfo.cpp:177
void setPlaySessionId(QString newPlaySessionId)
Gets or sets the play session identifier.
Definition playbackstopinfo.cpp:213
QSharedPointer< BaseItemDto > m_item
Definition playbackstopinfo.h:174
void replaceData(PlaybackStopInfo &other)
Definition playbackstopinfo.cpp:62
bool playlistItemIdNull() const
Definition playbackstopinfo.cpp:248
void setMediaSourceId(QString newMediaSourceId)
Gets or sets the media version identifier.
Definition playbackstopinfo.cpp:174
void setLiveStreamIdNull()
Definition playbackstopinfo.cpp:207
void setPlaylistItemId(QString newPlaylistItemId)
Definition playbackstopinfo.cpp:245
void setNextMediaTypeNull()
Definition playbackstopinfo.cpp:239
QString nextMediaType() const
Definition playbackstopinfo.cpp:230
void setNextMediaType(QString newNextMediaType)
Definition playbackstopinfo.cpp:232
void setNowPlayingQueueNull()
Definition playbackstopinfo.cpp:265
static PlaybackStopInfo fromJson(QJsonObject source)
Definition playbackstopinfo.cpp:76
void setMediaSourceIdNull()
Definition playbackstopinfo.cpp:181
QString m_playSessionId
Definition playbackstopinfo.h:180
bool positionTicksNull() const
Definition playbackstopinfo.cpp:190
bool nowPlayingQueueNull() const
Definition playbackstopinfo.cpp:261
QString mediaSourceId() const
Gets or sets the media version identifier.
Definition playbackstopinfo.cpp:172
std::optional< qint64 > m_positionTicks
Definition playbackstopinfo.h:178
QString itemId() const
Gets or sets the item identifier.
Definition playbackstopinfo.cpp:153
bool liveStreamIdNull() const
Definition playbackstopinfo.cpp:203
void setPlaylistItemIdNull()
Definition playbackstopinfo.cpp:252
QString m_nextMediaType
Definition playbackstopinfo.h:182
void setSessionIdNull()
Definition playbackstopinfo.cpp:168
void setItem(QSharedPointer< BaseItemDto > newItem)
Definition playbackstopinfo.cpp:149
QJsonObject toJson() const
Definition playbackstopinfo.cpp:98
QString m_liveStreamId
Definition playbackstopinfo.h:179
void setLiveStreamId(QString newLiveStreamId)
Gets or sets the live stream identifier.
Definition playbackstopinfo.cpp:200
bool nextMediaTypeNull() const
Definition playbackstopinfo.cpp:235
std::optional< qint64 > positionTicks() const
Gets or sets the position ticks.
Definition playbackstopinfo.cpp:185
bool failed() const
Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.
Definition playbackstopinfo.cpp:224
void setNowPlayingQueue(QList< QueueItem > newNowPlayingQueue)
Definition playbackstopinfo.cpp:258
void setSessionId(QString newSessionId)
Gets or sets the session id.
Definition playbackstopinfo.cpp:161
QString sessionId() const
Gets or sets the session id.
Definition playbackstopinfo.cpp:159
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