Implement MPRIS D-Bus spec

This commit is contained in:
KoffeinFlummi
2019-03-11 21:24:25 +01:00
parent cf31b2204a
commit 9db8d0fcb3
5 changed files with 398 additions and 12 deletions

View File

@@ -22,9 +22,12 @@ rspotify = "0.2.5"
serde = "1.0"
serde_derive = "1.0"
toml = "0.4"
tokio = "0.1.7"
tokio-core = "0.1"
tokio-timer = "0.2"
unicode-width = "0.1.5"
dbus = { version = "0.6.4", optional = true }
dbus-tokio = { version = "0.3.0", optional = true }
[dependencies.librespot]
git = "https://github.com/librespot-org/librespot.git"
@@ -39,4 +42,5 @@ features = ["pancurses-backend"]
[features]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
default = ["pulseaudio_backend"]
mpris = ["dbus", "dbus-tokio"]
default = ["pulseaudio_backend", "mpris"]