playdoobs 0.1.0

Service and matching CLI application for controlling the currently active MPRIS2 player
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use doobs_mpris::binding::MediaPlayer2Provider;

pub struct PlaydoobsdMediaPlayer2Provider;

impl MediaPlayer2Provider for PlaydoobsdMediaPlayer2Provider {
    async fn identity(&self) -> zbus::fdo::Result<String> {
        Ok("Playdoobs Daemon".to_string())
    }

    async fn desktop_entry(&self) -> zbus::fdo::Result<String> {
        Ok("playdoobsd".to_string())
    }
}