Refactor DBus server, implement PropertiesChanged

This commit is contained in:
KoffeinFlummi
2019-03-12 16:22:45 +01:00
parent 8291a91f8a
commit ea08608eec
3 changed files with 115 additions and 82 deletions

View File

@@ -27,7 +27,6 @@ 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"
@@ -42,5 +41,5 @@ features = ["pancurses-backend"]
[features]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
mpris = ["dbus", "dbus-tokio"]
mpris = ["dbus"]
default = ["pulseaudio_backend", "mpris"]