Home

Awesome

audio_service_mpris

This platform interface allows you to use audio_service on Linux with Desktop Environment supporting Media Player Remote Interfacing Specification.

Example on Kde Plasma

Getting Started

Add the plugin to you flutter project.

flutter pub add audio_service_mpris

What is supported

org.mpris.MediaPlayer2

Methods

NameSupported
Raise
Quit

Properties

NameSupportedValue
CanQuitfalse
Fullscreenfalse
CanSetFullscreenfalse
CanRaisefalse
HasTrackListfalse
IdentityandroidNotificationChannelId taken from audio_service platform config
DesktopEntryEmpty string
SupportedUriSchemes[]
SupportedMimeTypes[]

org.mpris.MediaPlayer2.Player

Methods

NameSupported
Next
Previous
Pause
PlayPause
Stop
Play
Seek
SetPosition
OpenUri

Signals

NameSupported
Seeked

Properties

NameSupportedValue
PlaybackStatusBeing changed on AudioHandler player state change
LoopStatus'None'
Rate1.0
Shuffle
MetadataBeing changed on AudioHandler mediaItem change
VolumeAudioServicePlatform doesn't support it
PositionBeing changed on AudioHandler player state change
MinimumRate1.0
MaximumRate1.0
CanGoNexttrue
CanGoPrevioustrue
CanPlaytrue
CanPausetrue
CanSeektrue
CanControltrue

org.mpris.MediaPlayer2.TrackList

Not supported

org.mpris.MediaPlayer2.Playlists

Not supported