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

Public Types

enum  PlaybackInfoType { Started , Stopped , Progress }
 

Public Slots

void positionChanged (qint64 position)
 
void playerStateChanged (Jellyfin::Model::PlayerStateClass::Value newState)
 
void updatePlaybackInfo ()
 updatePlaybackInfo Updates the Jellyfin server with the current playback progress etc.
 
void postPlaybackInfo (Jellyfin::Model::PlaybackReporterPrivate::PlaybackInfoType type)
 

Public Member Functions

 PlaybackReporterPrivate (PlaybackReporter *parent)
 

Public Attributes

PlaybackReporterq_ptr
 
LocalPlaybackManagerm_playbackManager = nullptr
 
QTimer m_updateTimer
 Timer used to update the play progress on the Jellyfin server.
 
qint64 m_oldPosition = 0
 
quint64 m_stopPosition = 0
 
PlayerState m_oldState
 

Static Public Attributes

static const int MS_TICK_FACTOR = 10000
 

Member Enumeration Documentation

◆ PlaybackInfoType

Enumerator
Started 
Stopped 
Progress 

Constructor & Destructor Documentation

◆ PlaybackReporterPrivate()

Jellyfin::Model::PlaybackReporterPrivate::PlaybackReporterPrivate ( PlaybackReporter * parent)
inlineexplicit

Member Function Documentation

◆ playerStateChanged

void Jellyfin::Model::PlaybackReporterPrivate::playerStateChanged ( Jellyfin::Model::PlayerStateClass::Value newState)
slot

◆ positionChanged

void Jellyfin::Model::PlaybackReporterPrivate::positionChanged ( qint64 position)
slot

◆ postPlaybackInfo

void Jellyfin::Model::PlaybackReporterPrivate::postPlaybackInfo ( Jellyfin::Model::PlaybackReporterPrivate::PlaybackInfoType type)
slot

◆ updatePlaybackInfo

void Jellyfin::Model::PlaybackReporterPrivate::updatePlaybackInfo ( )
slot

updatePlaybackInfo Updates the Jellyfin server with the current playback progress etc.

Member Data Documentation

◆ m_oldPosition

qint64 Jellyfin::Model::PlaybackReporterPrivate::m_oldPosition = 0

◆ m_oldState

PlayerState Jellyfin::Model::PlaybackReporterPrivate::m_oldState

◆ m_playbackManager

LocalPlaybackManager* Jellyfin::Model::PlaybackReporterPrivate::m_playbackManager = nullptr

◆ m_stopPosition

quint64 Jellyfin::Model::PlaybackReporterPrivate::m_stopPosition = 0

◆ m_updateTimer

QTimer Jellyfin::Model::PlaybackReporterPrivate::m_updateTimer

Timer used to update the play progress on the Jellyfin server.

◆ MS_TICK_FACTOR

const int Jellyfin::Model::PlaybackReporterPrivate::MS_TICK_FACTOR = 10000
static

◆ q_ptr

PlaybackReporter* Jellyfin::Model::PlaybackReporterPrivate::q_ptr

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