30#ifndef JELLYFIN_DTO_PLAYQUEUEUPDATE_H
31#define JELLYFIN_DTO_PLAYQUEUEUPDATE_H
76 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition playqueueupdate.h:54
qint64 startPositionTicks() const
Gets the start position ticks.
Definition playqueueupdate.cpp:137
qint32 playingItemIndex() const
Gets the playing item index in the playlist.
Definition playqueueupdate.cpp:131
void setStartPositionTicks(qint64 newStartPositionTicks)
Gets the start position ticks.
Definition playqueueupdate.cpp:139
PlayQueueUpdate(PlayQueueUpdateReason reason, QDateTime lastUpdate, QList< SyncPlayQueueItem > playlist, qint32 playingItemIndex, qint64 startPositionTicks, bool isPlaying, GroupShuffleMode shuffleMode, GroupRepeatMode repeatMode)
Definition playqueueupdate.cpp:36
GroupShuffleMode shuffleMode() const
Definition playqueueupdate.cpp:149
void setIsPlaying(bool newIsPlaying)
Gets a value indicating whether the current item is playing.
Definition playqueueupdate.cpp:145
void setLastUpdate(QDateTime newLastUpdate)
Gets the UTC time of the last change to the playing queue.
Definition playqueueupdate.cpp:121
void setShuffleMode(GroupShuffleMode newShuffleMode)
Definition playqueueupdate.cpp:151
qint64 m_startPositionTicks
Definition playqueueupdate.h:145
void setReason(PlayQueueUpdateReason newReason)
Definition playqueueupdate.cpp:115
void setPlayingItemIndex(qint32 newPlayingItemIndex)
Gets the playing item index in the playlist.
Definition playqueueupdate.cpp:133
static PlayQueueUpdate fromJson(QJsonObject source)
Definition playqueueupdate.cpp:80
qint32 m_playingItemIndex
Definition playqueueupdate.h:144
QList< SyncPlayQueueItem > m_playlist
Definition playqueueupdate.h:143
void replaceData(PlayQueueUpdate &other)
Definition playqueueupdate.cpp:69
bool m_isPlaying
Definition playqueueupdate.h:146
bool isPlaying() const
Gets a value indicating whether the current item is playing.
Definition playqueueupdate.cpp:143
QList< SyncPlayQueueItem > playlist() const
Gets the playlist.
Definition playqueueupdate.cpp:125
QDateTime m_lastUpdate
Definition playqueueupdate.h:142
GroupShuffleMode m_shuffleMode
Definition playqueueupdate.h:147
void setRepeatMode(GroupRepeatMode newRepeatMode)
Definition playqueueupdate.cpp:157
GroupRepeatMode repeatMode() const
Definition playqueueupdate.cpp:155
GroupRepeatMode m_repeatMode
Definition playqueueupdate.h:148
PlayQueueUpdateReason reason() const
Definition playqueueupdate.cpp:113
void setFromJson(QJsonObject source)
Definition playqueueupdate.cpp:87
PlayQueueUpdateReason m_reason
Definition playqueueupdate.h:141
QDateTime lastUpdate() const
Gets the UTC time of the last change to the playing queue.
Definition playqueueupdate.cpp:119
void setPlaylist(QList< SyncPlayQueueItem > newPlaylist)
Gets the playlist.
Definition playqueueupdate.cpp:127
QJsonObject toJson() const
Definition playqueueupdate.cpp:99
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
GroupShuffleModeClass::Value GroupShuffleMode
Definition groupshufflemode.h:59
GroupRepeatModeClass::Value GroupRepeatMode
Definition grouprepeatmode.h:60
PlayQueueUpdateReasonClass::Value PlayQueueUpdateReason
Definition playqueueupdatereason.h:67
Definition accessschedule.h:128
Jellyfin::DTO::PlayQueueUpdate PlayQueueUpdate
Definition playqueueupdate.h:160
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