audio_service_mpris 0.2.0 audio_service_mpris: ^0.2.0 copied to clipboard
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.
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 | ❌ |
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