Sayonara Player
Signals | Public Member Functions | Public Slots | Protected Member Functions | Protected Attributes | Properties | List of all members
DBusMPRIS::MediaPlayer2 Class Reference

Signals

void Seeked (qint64 position)
 
void sig_raise ()
 

Public Member Functions

 MediaPlayer2 (SayonaraMainWindow *player, QObject *parent=nullptr)
 
bool CanQuit ()
 
bool CanRaise ()
 
bool HasTrackList ()
 
QString Identity ()
 
QString DesktopEntry ()
 
QStringList SupportedUriSchemes ()
 
QStringList SupportedMimeTypes ()
 
bool CanSetFullscreen ()
 
bool Fullscreen ()
 
void SetFullscreen (bool b)
 
void Raise ()
 
void Quit ()
 
QString PlaybackStatus ()
 
QString LoopStatus ()
 
void SetLoopStatus (QString status)
 
double Rate ()
 
void SetRate (double rate)
 
bool Shuffle ()
 
void SetShuffle (bool shuffle)
 
QVariantMap Metadata ()
 
double Volume ()
 
void SetVolume (double volume)
 
qint64 Position ()
 
void SetPosition (const QDBusObjectPath &track_id, qint64 position)
 
double MinimumRate ()
 
double MaximumRate ()
 
bool CanGoNext ()
 
bool CanGoPrevious ()
 
bool CanPlay ()
 
bool CanPause ()
 
bool CanSeek ()
 
bool CanControl ()
 
void Next ()
 
void Previous ()
 
void Pause ()
 
void PlayPause ()
 
void Stop ()
 
void Play ()
 
void Seek (qint64 offset)
 
void OpenUri (const QString &uri)
 

Public Slots

void position_changed (quint64 pos_ms)
 
void volume_changed (int volume)
 
void track_idx_changed (int idx)
 
void playlist_len_changed (int len)
 
void track_changed (const MetaData &md)
 
void playstate_changed (PlayManager::PlayState)
 

Protected Member Functions

void create_message (QString name, QVariant val)
 

Protected Attributes

PlayManager_play_manager =nullptr
 
QString _object_path
 
QString _service_name
 
QString _dbus_service
 
QString _dbus_interface
 
Settings_settings =nullptr
 

Properties

bool CanQuit
 
bool CanRaise
 
bool HasTrackList
 
QString Identity
 
QString DesktopEntry
 
QStringList SupportedUriSchemes
 
QStringList SupportedMimeTypes
 
bool CanSetFullscreen
 
bool Fullscreen
 
QString PlaybackStatus
 
QString LoopStatus
 
double Rate
 
bool Shuffle
 
QVariantMap Metadata
 
double Volume
 
qint64 Position
 
double MinimumRate
 
double MaximumRate
 
bool CanGoNext
 
bool CanGoPrevious
 
bool CanPlay
 
bool CanPause
 
bool CanSeek
 
bool CanControl
 
Inheritance diagram for DBusMPRIS::MediaPlayer2:
DBusAdaptor SayonaraClass