background_runtime_linux

Linux implementation of the background_runtime Flutter plugin.

Capabilities

  • Downloads: libcurl thread-per-download engine with resume support, progress callbacks, pause/cancel.
  • Audio playback: GStreamer playbin pipeline with EOS/error/state-change handling.
  • Notification actions: Event channel for prev/next/play/pause/stop actions.
  • Persistence: SQLite 3-table schema (downloads, audio_track, config) with auto-resume.
  • Notifications: libnotify download complete/failed alerts.
  • Album art: Parsed from AudioTrack.albumArt, persisted in SQLite.

Known Limitations

  • No MPRIS D-Bus integration yet (notification actions via EventChannel only).
  • Audio playback stops when the app exits (no background daemon).