Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
Player implementation that uses QtMultimedia. More...
#include <player.h>
Public Slots | |
void | pause () override |
void | play (qint64 startPos=0) override |
void | stop () override |
void | seek (qint64 position) override |
void | setMedia (const QUrl &url, int audioIndex, int subtitleIndex) override |
Public Slots inherited from Jellyfin::Model::Player | |
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 |
Public Member Functions | |
QtMultimediaPlayer (QObject *parent=nullptr) | |
virtual | ~QtMultimediaPlayer () |
PlayerState | state () const override |
MediaStatus | mediaStatus () const override |
qint64 | position () const override |
qint64 | duration () const override |
bool | seekable () const override |
bool | hasVideo () const override |
bool | hasAudio () const override |
QString | errorString () const override |
QObject * | videoOutputSource () const override |
Public Member Functions inherited from Jellyfin::Model::Player | |
~Player () | |
Additional Inherited Members | |
Signals inherited from Jellyfin::Model::Player | |
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 () |
Properties inherited from Jellyfin::Model::Player | |
Jellyfin::Model::PlayerStateClass::Value | state |
Jellyfin::Model::MediaStatusClass::Value | mediaStatus |
qint64 | position |
qint64 | duration |
bool | seekable |
bool | hasAudio |
bool | hasVideo |
QString | errorString |
QObject * | videoOutputSource |
Player implementation that uses QtMultimedia.
|
explicit |
|
virtual |
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overrideslot |
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::Player.
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::Player.