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