Implement MPRIS D-Bus spec
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user