Skip to content
pubscout

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.

$ flutter pub add audio_service_mpris
Source repository

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_mpris

Alternatives

Packages that do the same job and could replace audio_service_mpris.

Works with

Packages commonly used together with audio_service_mpris: ones it builds on, ones built on it, and its own family.