Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <playbackprogressinfo.h>
Public Member Functions | |
PlaybackProgressInfo (bool canSeek, QSharedPointer< BaseItemDto > item, QString itemId, bool isPaused, bool isMuted, PlayMethod playMethod, RepeatMode repeatMode) | |
PlaybackProgressInfo (const PlaybackProgressInfo &other) | |
void | replaceData (PlaybackProgressInfo &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
bool | canSeek () const |
Gets or sets a value indicating whether this instance can seek. | |
void | setCanSeek (bool newCanSeek) |
Gets or sets a value indicating whether this instance can seek. | |
QSharedPointer< BaseItemDto > | item () const |
void | setItem (QSharedPointer< BaseItemDto > newItem) |
QString | itemId () const |
Gets or sets the item identifier. | |
void | setItemId (QString newItemId) |
Gets or sets the item identifier. | |
QString | sessionId () const |
Gets or sets the session id. | |
void | setSessionId (QString newSessionId) |
Gets or sets the session id. | |
bool | sessionIdNull () const |
void | setSessionIdNull () |
QString | mediaSourceId () const |
Gets or sets the media version identifier. | |
void | setMediaSourceId (QString newMediaSourceId) |
Gets or sets the media version identifier. | |
bool | mediaSourceIdNull () const |
void | setMediaSourceIdNull () |
std::optional< qint32 > | audioStreamIndex () const |
Gets or sets the index of the audio stream. | |
void | setAudioStreamIndex (std::optional< qint32 > newAudioStreamIndex) |
Gets or sets the index of the audio stream. | |
bool | audioStreamIndexNull () const |
void | setAudioStreamIndexNull () |
std::optional< qint32 > | subtitleStreamIndex () const |
Gets or sets the index of the subtitle stream. | |
void | setSubtitleStreamIndex (std::optional< qint32 > newSubtitleStreamIndex) |
Gets or sets the index of the subtitle stream. | |
bool | subtitleStreamIndexNull () const |
void | setSubtitleStreamIndexNull () |
bool | isPaused () const |
Gets or sets a value indicating whether this instance is paused. | |
void | setIsPaused (bool newIsPaused) |
Gets or sets a value indicating whether this instance is paused. | |
bool | isMuted () const |
Gets or sets a value indicating whether this instance is muted. | |
void | setIsMuted (bool newIsMuted) |
Gets or sets a value indicating whether this instance is muted. | |
std::optional< qint64 > | positionTicks () const |
Gets or sets the position ticks. | |
void | setPositionTicks (std::optional< qint64 > newPositionTicks) |
Gets or sets the position ticks. | |
bool | positionTicksNull () const |
void | setPositionTicksNull () |
std::optional< qint64 > | playbackStartTimeTicks () const |
void | setPlaybackStartTimeTicks (std::optional< qint64 > newPlaybackStartTimeTicks) |
bool | playbackStartTimeTicksNull () const |
void | setPlaybackStartTimeTicksNull () |
std::optional< qint32 > | volumeLevel () const |
Gets or sets the volume level. | |
void | setVolumeLevel (std::optional< qint32 > newVolumeLevel) |
Gets or sets the volume level. | |
bool | volumeLevelNull () const |
void | setVolumeLevelNull () |
std::optional< qint32 > | brightness () const |
void | setBrightness (std::optional< qint32 > newBrightness) |
bool | brightnessNull () const |
void | setBrightnessNull () |
QString | aspectRatio () const |
void | setAspectRatio (QString newAspectRatio) |
bool | aspectRatioNull () const |
void | setAspectRatioNull () |
PlayMethod | playMethod () const |
void | setPlayMethod (PlayMethod newPlayMethod) |
QString | liveStreamId () const |
Gets or sets the live stream identifier. | |
void | setLiveStreamId (QString newLiveStreamId) |
Gets or sets the live stream identifier. | |
bool | liveStreamIdNull () const |
void | setLiveStreamIdNull () |
QString | playSessionId () const |
Gets or sets the play session identifier. | |
void | setPlaySessionId (QString newPlaySessionId) |
Gets or sets the play session identifier. | |
bool | playSessionIdNull () const |
void | setPlaySessionIdNull () |
RepeatMode | repeatMode () const |
void | setRepeatMode (RepeatMode newRepeatMode) |
QList< QueueItem > | nowPlayingQueue () const |
void | setNowPlayingQueue (QList< QueueItem > newNowPlayingQueue) |
bool | nowPlayingQueueNull () const |
void | setNowPlayingQueueNull () |
QString | playlistItemId () const |
void | setPlaylistItemId (QString newPlaylistItemId) |
bool | playlistItemIdNull () const |
void | setPlaylistItemIdNull () |
Static Public Member Functions | |
static PlaybackProgressInfo | fromJson (QJsonObject source) |
Protected Attributes | |
bool | m_canSeek |
QSharedPointer< BaseItemDto > | m_item = QSharedPointer<BaseItemDto>() |
QString | m_itemId |
QString | m_sessionId |
QString | m_mediaSourceId |
std::optional< qint32 > | m_audioStreamIndex = std::nullopt |
std::optional< qint32 > | m_subtitleStreamIndex = std::nullopt |
bool | m_isPaused |
bool | m_isMuted |
std::optional< qint64 > | m_positionTicks = std::nullopt |
std::optional< qint64 > | m_playbackStartTimeTicks = std::nullopt |
std::optional< qint32 > | m_volumeLevel = std::nullopt |
std::optional< qint32 > | m_brightness = std::nullopt |
QString | m_aspectRatio |
PlayMethod | m_playMethod |
QString | m_liveStreamId |
QString | m_playSessionId |
RepeatMode | m_repeatMode |
QList< QueueItem > | m_nowPlayingQueue |
QString | m_playlistItemId |
Jellyfin::DTO::PlaybackProgressInfo::PlaybackProgressInfo | ( | bool | canSeek, |
QSharedPointer< BaseItemDto > | item, | ||
QString | itemId, | ||
bool | isPaused, | ||
bool | isMuted, | ||
PlayMethod | playMethod, | ||
RepeatMode | repeatMode ) |
Jellyfin::DTO::PlaybackProgressInfo::PlaybackProgressInfo | ( | const PlaybackProgressInfo & | other | ) |
QString Jellyfin::DTO::PlaybackProgressInfo::aspectRatio | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::aspectRatioNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::PlaybackProgressInfo::audioStreamIndex | ( | ) | const |
Gets or sets the index of the audio stream.
bool Jellyfin::DTO::PlaybackProgressInfo::audioStreamIndexNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::PlaybackProgressInfo::brightness | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::brightnessNull | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::canSeek | ( | ) | const |
Gets or sets a value indicating whether this instance can seek.
|
static |
bool Jellyfin::DTO::PlaybackProgressInfo::isMuted | ( | ) | const |
Gets or sets a value indicating whether this instance is muted.
bool Jellyfin::DTO::PlaybackProgressInfo::isPaused | ( | ) | const |
Gets or sets a value indicating whether this instance is paused.
QSharedPointer< BaseItemDto > Jellyfin::DTO::PlaybackProgressInfo::item | ( | ) | const |
QString Jellyfin::DTO::PlaybackProgressInfo::itemId | ( | ) | const |
Gets or sets the item identifier.
QString Jellyfin::DTO::PlaybackProgressInfo::liveStreamId | ( | ) | const |
Gets or sets the live stream identifier.
bool Jellyfin::DTO::PlaybackProgressInfo::liveStreamIdNull | ( | ) | const |
QString Jellyfin::DTO::PlaybackProgressInfo::mediaSourceId | ( | ) | const |
Gets or sets the media version identifier.
bool Jellyfin::DTO::PlaybackProgressInfo::mediaSourceIdNull | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::nowPlayingQueueNull | ( | ) | const |
std::optional< qint64 > Jellyfin::DTO::PlaybackProgressInfo::playbackStartTimeTicks | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::playbackStartTimeTicksNull | ( | ) | const |
QString Jellyfin::DTO::PlaybackProgressInfo::playlistItemId | ( | ) | const |
bool Jellyfin::DTO::PlaybackProgressInfo::playlistItemIdNull | ( | ) | const |
PlayMethod Jellyfin::DTO::PlaybackProgressInfo::playMethod | ( | ) | const |
QString Jellyfin::DTO::PlaybackProgressInfo::playSessionId | ( | ) | const |
Gets or sets the play session identifier.
bool Jellyfin::DTO::PlaybackProgressInfo::playSessionIdNull | ( | ) | const |
std::optional< qint64 > Jellyfin::DTO::PlaybackProgressInfo::positionTicks | ( | ) | const |
Gets or sets the position ticks.
bool Jellyfin::DTO::PlaybackProgressInfo::positionTicksNull | ( | ) | const |
RepeatMode Jellyfin::DTO::PlaybackProgressInfo::repeatMode | ( | ) | const |
void Jellyfin::DTO::PlaybackProgressInfo::replaceData | ( | PlaybackProgressInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
QString Jellyfin::DTO::PlaybackProgressInfo::sessionId | ( | ) | const |
Gets or sets the session id.
bool Jellyfin::DTO::PlaybackProgressInfo::sessionIdNull | ( | ) | const |
void Jellyfin::DTO::PlaybackProgressInfo::setAspectRatio | ( | QString | newAspectRatio | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setAspectRatioNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setAudioStreamIndex | ( | std::optional< qint32 > | newAudioStreamIndex | ) |
Gets or sets the index of the audio stream.
void Jellyfin::DTO::PlaybackProgressInfo::setAudioStreamIndexNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setBrightness | ( | std::optional< qint32 > | newBrightness | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setBrightnessNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setCanSeek | ( | bool | newCanSeek | ) |
Gets or sets a value indicating whether this instance can seek.
void Jellyfin::DTO::PlaybackProgressInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setIsMuted | ( | bool | newIsMuted | ) |
Gets or sets a value indicating whether this instance is muted.
void Jellyfin::DTO::PlaybackProgressInfo::setIsPaused | ( | bool | newIsPaused | ) |
Gets or sets a value indicating whether this instance is paused.
void Jellyfin::DTO::PlaybackProgressInfo::setItem | ( | QSharedPointer< BaseItemDto > | newItem | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setItemId | ( | QString | newItemId | ) |
Gets or sets the item identifier.
void Jellyfin::DTO::PlaybackProgressInfo::setLiveStreamId | ( | QString | newLiveStreamId | ) |
Gets or sets the live stream identifier.
void Jellyfin::DTO::PlaybackProgressInfo::setLiveStreamIdNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setMediaSourceId | ( | QString | newMediaSourceId | ) |
Gets or sets the media version identifier.
void Jellyfin::DTO::PlaybackProgressInfo::setMediaSourceIdNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setNowPlayingQueue | ( | QList< QueueItem > | newNowPlayingQueue | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setNowPlayingQueueNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlaybackStartTimeTicks | ( | std::optional< qint64 > | newPlaybackStartTimeTicks | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlaybackStartTimeTicksNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlaylistItemIdNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlayMethod | ( | PlayMethod | newPlayMethod | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPlaySessionId | ( | QString | newPlaySessionId | ) |
Gets or sets the play session identifier.
void Jellyfin::DTO::PlaybackProgressInfo::setPlaySessionIdNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setPositionTicks | ( | std::optional< qint64 > | newPositionTicks | ) |
Gets or sets the position ticks.
void Jellyfin::DTO::PlaybackProgressInfo::setPositionTicksNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setRepeatMode | ( | RepeatMode | newRepeatMode | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setSessionId | ( | QString | newSessionId | ) |
Gets or sets the session id.
void Jellyfin::DTO::PlaybackProgressInfo::setSessionIdNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setSubtitleStreamIndex | ( | std::optional< qint32 > | newSubtitleStreamIndex | ) |
Gets or sets the index of the subtitle stream.
void Jellyfin::DTO::PlaybackProgressInfo::setSubtitleStreamIndexNull | ( | ) |
void Jellyfin::DTO::PlaybackProgressInfo::setVolumeLevel | ( | std::optional< qint32 > | newVolumeLevel | ) |
Gets or sets the volume level.
void Jellyfin::DTO::PlaybackProgressInfo::setVolumeLevelNull | ( | ) |
std::optional< qint32 > Jellyfin::DTO::PlaybackProgressInfo::subtitleStreamIndex | ( | ) | const |
Gets or sets the index of the subtitle stream.
bool Jellyfin::DTO::PlaybackProgressInfo::subtitleStreamIndexNull | ( | ) | const |
QJsonObject Jellyfin::DTO::PlaybackProgressInfo::toJson | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::PlaybackProgressInfo::volumeLevel | ( | ) | const |
Gets or sets the volume level.
bool Jellyfin::DTO::PlaybackProgressInfo::volumeLevelNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |