#mpris #async #dbus

mpris-async

An async wrapper around the mpris crate

1 unstable release

0.1.0 Sep 2, 2023

#13 in #mpris

23 downloads per month

Apache-2.0

23KB
409 lines

MPRIS-rs-async

This is an async wrapper for certain types from mpris-rs. Currently this includes PlayerFinder/PlayerIter (as PlayerStream), PlayerEvents (as PlayerEventsStream), and ProgressTracker (as ProgressStream).

I'm not the best at rust and this is my first time making a library

Enjoy


lib.rs:

mpris-async

Async version of the mpris crate.

Provides async versions of PlayerEvents, PlayerFinder, and ProgressTracker.

Get started

Easiest way to get started with mpris is using get_active_player and then using events::PlayerEventsStream to track changes.

Dependencies

~12–22MB
~339K SLoC