Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::Model::PlaybackManagerPrivate Class Reference
Inheritance diagram for Jellyfin::Model::PlaybackManagerPrivate:
Jellyfin::Model::LocalPlaybackManagerPrivate

Public Member Functions

 PlaybackManagerPrivate (PlaybackManager *q)
 
virtual void setItem (QSharedPointer< Model::Item > newItem)
 
void skipToItemIndex (int index)
 
void setState (PlayerState newState)
 

Public Attributes

ApiClientm_apiClient = nullptr
 
QTimer m_preloadTimer
 Timer used to notify ourselves when we need to preload the next item.
 
PlaybackManagerError m_error
 
QString m_errorString
 
QString m_playSessionId
 
QString m_nextPlaySessionId
 
int m_audioIndex = 0
 The index of the mediastreams of the to-be-played item containing the audio.
 
int m_subtitleIndex = -1
 The index of the mediastreams of the to-be-played item containing subtitles.
 
QSharedPointer< Model::Itemm_item
 The currently playing item.
 
QSharedPointer< Model::Itemm_nextItem
 The item that will be played next.
 
PlayerState m_state
 
Model::Playlistm_queue
 
int m_queueIndex = 0
 
bool m_resumePlayback = false
 
qint64 m_resumePosition = 0
 The position in ticks to resume playback from.
 
bool m_handlePlaystateCommands = true
 
PlaybackManagerq_ptr
 

Constructor & Destructor Documentation

◆ PlaybackManagerPrivate()

Jellyfin::Model::PlaybackManagerPrivate::PlaybackManagerPrivate ( PlaybackManager * q)

Member Function Documentation

◆ setItem()

void Jellyfin::Model::PlaybackManagerPrivate::setItem ( QSharedPointer< Model::Item > newItem)
virtual

◆ setState()

void Jellyfin::Model::PlaybackManagerPrivate::setState ( PlayerState newState)

◆ skipToItemIndex()

void Jellyfin::Model::PlaybackManagerPrivate::skipToItemIndex ( int index)

Member Data Documentation

◆ m_apiClient

ApiClient* Jellyfin::Model::PlaybackManagerPrivate::m_apiClient = nullptr

◆ m_audioIndex

int Jellyfin::Model::PlaybackManagerPrivate::m_audioIndex = 0

The index of the mediastreams of the to-be-played item containing the audio.

◆ m_error

PlaybackManagerError Jellyfin::Model::PlaybackManagerPrivate::m_error

◆ m_errorString

QString Jellyfin::Model::PlaybackManagerPrivate::m_errorString

◆ m_handlePlaystateCommands

bool Jellyfin::Model::PlaybackManagerPrivate::m_handlePlaystateCommands = true

◆ m_item

QSharedPointer<Model::Item> Jellyfin::Model::PlaybackManagerPrivate::m_item

The currently playing item.

◆ m_nextItem

QSharedPointer<Model::Item> Jellyfin::Model::PlaybackManagerPrivate::m_nextItem

The item that will be played next.

◆ m_nextPlaySessionId

QString Jellyfin::Model::PlaybackManagerPrivate::m_nextPlaySessionId

◆ m_playSessionId

QString Jellyfin::Model::PlaybackManagerPrivate::m_playSessionId

◆ m_preloadTimer

QTimer Jellyfin::Model::PlaybackManagerPrivate::m_preloadTimer

Timer used to notify ourselves when we need to preload the next item.

◆ m_queue

Model::Playlist* Jellyfin::Model::PlaybackManagerPrivate::m_queue

◆ m_queueIndex

int Jellyfin::Model::PlaybackManagerPrivate::m_queueIndex = 0

◆ m_resumePlayback

bool Jellyfin::Model::PlaybackManagerPrivate::m_resumePlayback = false

◆ m_resumePosition

qint64 Jellyfin::Model::PlaybackManagerPrivate::m_resumePosition = 0

The position in ticks to resume playback from.

◆ m_state

PlayerState Jellyfin::Model::PlaybackManagerPrivate::m_state

◆ m_subtitleIndex

int Jellyfin::Model::PlaybackManagerPrivate::m_subtitleIndex = -1

The index of the mediastreams of the to-be-played item containing subtitles.

◆ q_ptr

PlaybackManager* Jellyfin::Model::PlaybackManagerPrivate::q_ptr

The documentation for this class was generated from the following file: