audio_service_mpris 0.2.1 copy "audio_service_mpris: ^0.2.1" to clipboard
audio_service_mpris: ^0.2.1 copied to clipboard

PlatformLinux

audio_service platform interface supporting Media Player Remote Interfacing Specification.

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

Name Supported
Raise ❌
Quit ❌

Properties

Name Supported Value
CanQuit ✅ false
Fullscreen ✅ false
CanSetFullscreen ✅ false
CanRaise ✅ false
HasTrackList ✅ false
Identity ✅ androidNotificationChannelId taken from audio_service platform config
DesktopEntry ✅ Empty string
SupportedUriSchemes ✅ []
SupportedMimeTypes ✅ []

org.mpris.MediaPlayer2.Player #

Methods

Name Supported
Next ✅
Previous ✅
Pause ✅
PlayPause ✅
Stop ✅
Play ✅
Seek ❌ AudioServicePlatform doesn't have MPRIS Seek equivalent
SetPosition ✅
OpenUri ❌

Signals

Name Supported
Seeked ❌

Properties

Name Supported Value
PlaybackStatus ✅ Being changed on AudioHandler player state change
LoopStatus ✅ 'None'
Rate ✅ 1.0
Shuffle ❌
Metadata ✅ Being changed on AudioHandler mediaItem change
Volume ❌ AudioServicePlatform doesn't support it
Position ✅ Being changed on AudioHandler player state change
MinimumRate ✅ 1.0
MaximumRate ✅ 1.0
CanGoNext ✅ true
CanGoPrevious ✅ true
CanPlay ✅ true
CanPause ✅ true
CanSeek ✅ true
CanControl ✅ true

org.mpris.MediaPlayer2.TrackList #

Not supported

org.mpris.MediaPlayer2.Playlists #

Not supported

12
likes
160
points
8.25k
downloads

Documentation

API reference

Publisher

verified publisherdrazhzhov.com

Weekly Downloads

audio_service platform interface supporting Media Player Remote Interfacing Specification.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

audio_service_platform_interface, dbus, flutter, plugin_platform_interface

More

Packages that depend on audio_service_mpris

Packages that implement audio_service_mpris