![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <remotejellyfinplayback.h>
Public Slots | |
| void | pause () override |
| void | play () override |
| void | playItemId (const QString &id) override |
| void | previous () override |
| void | next () override |
| void | goTo (int index) override |
| void | stop () override |
| void | seek (qint64 pos) override |
| Public Slots inherited from Jellyfin::Model::PlaybackManager | |
| virtual void | pause ()=0 |
| virtual void | play ()=0 |
| virtual void | playItemId (const QString &id)=0 |
| virtual void | previous ()=0 |
| virtual void | next ()=0 |
| virtual void | goTo (int index)=0 |
| Play the item at the index in the current playlist. | |
| virtual void | stop ()=0 |
| virtual void | seek (qint64 pos)=0 |
Public Member Functions | |
| RemoteJellyfinPlayback (ApiClient &apiClient, QString sessionId, QObject *parent=nullptr) | |
| virtual | ~RemoteJellyfinPlayback () |
| PlayerState | playbackState () const override |
| MediaStatus | mediaStatus () const override |
| bool | hasNext () const override |
| bool | hasPrevious () const override |
| PlaybackManagerError | error () const override |
| const QString & | errorString () const override |
| qint64 | position () const override |
| qint64 | duration () const override |
| bool | seekable () const override |
| bool | hasAudio () const override |
| bool | hasVideo () const override |
| void | playItem (QSharedPointer< Item > item) override |
| void | playItemInList (const QList< QSharedPointer< Item > > &items, int index) override |
| Public Member Functions inherited from Jellyfin::Model::PlaybackManager | |
| PlaybackManager (QObject *parent=nullptr) | |
| virtual | ~PlaybackManager () |
| void | swap (PlaybackManager &other) |
| ApiClient * | apiClient () const |
| void | setApiClient (ApiClient *apiClient) |
| QSharedPointer< Item > | currentItem () const |
| Playlist * | queue () const |
| int | queueIndex () const |
| bool | resumePlayback () const |
| void | setResumePlayback (bool newResumePlayback) |
| int | audioIndex () const |
| void | setAudioIndex (int newAudioIndex) |
| int | subtitleIndex () const |
| void | setSubtitleIndex (int newSubtitleIndex) |
| virtual void | playItem (QSharedPointer< Model::Item > item)=0 |
| Start playing the given item. | |
| virtual void | playItemInList (const QList< QSharedPointer< Model::Item > > &items, int index)=0 |
| Set the playlist to the given playlist and start playing the item at the given index. | |
Additional Inherited Members | |
| Signals inherited from Jellyfin::Model::PlaybackManager | |
| void | playbackStateChanged (Jellyfin::Model::PlayerStateClass::Value newPlaybackState) |
| void | mediaStatusChanged (Jellyfin::Model::MediaStatusClass::Value newMediaStatus) |
| void | queueChanged (Jellyfin::Model::Playlist *newPlaylist) |
| void | hasNextChanged (bool newHasNext) |
| void | hasPreviousChanged (bool newHasPrevious) |
| void | itemChanged () |
| void | queueIndexChanged (int index) |
| void | errorChanged (Jellyfin::Model::PlaybackManagerErrorClass::Value newError) |
| void | errorStringChanged (const QString &newErrorString) |
| void | positionChanged (qint64 newPosition) |
| void | durationChanged (qint64 newDuration) |
| void | seekableChanged (bool newSeekable) |
| void | hasAudioChanged () |
| void | hasVideoChanged () |
| void | resumePlaybackChanged (bool newPlaybackChanged) |
| void | audioIndexChanged (int newAudioIndex) |
| void | subtitleIndexChanged (int newSubtitleIndex) |
| Static Public Attributes inherited from Jellyfin::Model::PlaybackManager | |
| static const qint64 | MS_TICK_FACTOR = 10000 |
| Protected Member Functions inherited from Jellyfin::Model::PlaybackManager | |
| void | setItem (QSharedPointer< Item > item) |
| void | setQueueIndex (int index) |
| PlaybackManager (PlaybackManagerPrivate *d, QObject *parent=nullptr) | |
| Protected Attributes inherited from Jellyfin::Model::PlaybackManager | |
| QScopedPointer< PlaybackManagerPrivate > | d_ptr |
| Properties inherited from Jellyfin::Model::PlaybackManager | |
| bool | resumePlayback |
| int | audioIndex |
| int | subtitleIndex |
| qint64 | position |
| The position in ticks in the currently playing item. | |
| qint64 | duration |
| The duration in ticks of the currently playing item. | |
| bool | seekable |
| Whether the playbackmanager is currently able to seek. | |
| bool | hasAudio |
| Whether the currently playing item has audio. | |
| bool | hasVideo |
| Whether the currently playing item has video. | |
| Jellyfin::Model::PlayerStateClass::Value | playbackState |
| Jellyfin::Model::MediaStatusClass::Value | mediaStatus |
| int | queueIndex |
| Jellyfin::Model::RemoteJellyfinPlayback::RemoteJellyfinPlayback | ( | ApiClient & | apiClient, |
| QString | sessionId, | ||
| QObject * | parent = nullptr ) |
|
virtual |
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overrideslot |
|
overrideslot |
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
override |
|
overrideslot |
|
override |
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overrideslot |
|
overrideslot |
|
overridevirtual |
Implements Jellyfin::Model::PlaybackManager.
|
overrideslot |