pris 0.1.0

A library for interfacing with players compatible with the MPRIS DBus specification.
Documentation
1
2
3
4
5
6
7
8
9
use pris::{self, Player};

#[tokio::test]
async fn test_init() -> Result<(), Box<dyn std::error::Error>> {
    let conn = pris::get_connection();
    let _player = Player::try_new("cmus", &conn).await?;

    Ok(())
}