audio_service_mpris
0.2.1, released 8 months ago by drazhzhov.com
Linux platform interface supporting Media Player Remote Interfacing Specification for audio_service.
What it does
It implements the audio_service platform interface for Linux using D-Bus, allowing Flutter audio apps to integrate with desktop environments that support MPRIS (Media Player Remote Interfacing Specification). This enables media keys and desktop control widgets to interact with your app.
AI-written summary of version 0.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter desktop application for Linux that plays audio.
- You are already using the audio_service package and need Linux MPRIS support.
Skip it when
- You are targeting platforms other than Linux.
- You are not using audio_service.
Strengths
- Integrates seamlessly with Linux desktop environments via MPRIS and D-Bus.
- Supports playback status, metadata, track navigation, and volume-agnostic playback control.
Weaknesses
- Limited support for certain advanced MPRIS features like Seek signals and TrackList/Playlists interfaces.
- Some methods like Seek and Volume are unsupported due to underlying platform interface limitations.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add the plugin to your Flutter project using flutter pub add audio_service_mpris.
flutter pub add audio_service_mprisAlternatives
Packages that do the same job and could replace audio_service_mpris.
- kplayer
A cross-platform audio player wrapper supporting assets, network, files, and bytes.
47Compare - video_player_android
Android implementation of the video_player plugin
88Compare - video_player_avfoundation
iOS and macOS implementation of the video_player plugin
86Compare - flutter_kinescope_sdk
Flutter plugin providing a Kinescope video player with native Android/iOS and web embed implementations.
79Compare
Works with
Packages commonly used together with audio_service_mpris: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfaceaudio_service_mpris depends on itReusable base class for platform interfaces of Flutter federated plugins.
- dbusaudio_service_mpris depends on itNative Dart D-Bus client for Linux and Windows.
- audio_service_platform_interfaceaudio_service_mpris depends on itPlatform interface for the audio_service plugin