![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
Abstract class for a player. More...
#include <player.h>
Public Slots | |
| virtual void | pause ()=0 |
| virtual void | play (qint64 startPos=0)=0 |
| virtual void | stop ()=0 |
| virtual void | seek (qint64 position)=0 |
| virtual void | setMedia (const QUrl &url, int audioIndex=-1, int subTitleIndex=-1)=0 |
Signals | |
| void | stateChanged (Jellyfin::Model::PlayerStateClass::Value newState) |
| void | mediaStatusChanged (Jellyfin::Model::MediaStatusClass::Value newMediaStatus) |
| void | positionChanged (qint64 newPosition) |
| void | durationChanged (qint64 newDuration) |
| void | errorStringChanged () |
| void | seeked () |
| Sent when the position changed due to calling the seek method. | |
| void | seekableChanged (bool seekable) |
| void | hasAudioChanged () |
| void | hasVideoChanged () |
| void | aboutToFinish () |
| void | videoOutputSourceChanged () |
Public Member Functions | |
| ~Player () | |
| virtual PlayerState | state () const =0 |
| virtual MediaStatus | mediaStatus () const =0 |
| virtual qint64 | position () const =0 |
| virtual qint64 | duration () const =0 |
| virtual bool | seekable () const =0 |
| virtual bool | hasVideo () const =0 |
| virtual bool | hasAudio () const =0 |
| virtual QString | errorString () const =0 |
| virtual QObject * | videoOutputSource () const =0 |
Properties | |
| Jellyfin::Model::PlayerStateClass::Value | state |
| Jellyfin::Model::MediaStatusClass::Value | mediaStatus |
| qint64 | position |
| qint64 | duration |
| bool | seekable |
| bool | hasAudio |
| bool | hasVideo |
| QString | errorString |
| QObject * | videoOutputSource |
Abstract class for a player.
| Jellyfin::Model::Player::~Player | ( | ) |
|
signal |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtualslot |
|
pure virtualslot |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtualslot |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
signal |
Sent when the position changed due to calling the seek method.
|
pure virtualslot |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
pure virtualslot |
|
pure virtual |
Implemented in Jellyfin::Model::QtMultimediaPlayer.
|
signal |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |