Bump and switch spotifyd over to session DBUS
This commit is contained in:
parent
dcdba6494a
commit
ac5579ae9e
|
@ -1,25 +0,0 @@
|
|||
From 97ae976abdfa5a722bc32885e1ef498a04af2f3d Mon Sep 17 00:00:00 2001
|
||||
From: Peter Steenbergen <info@j1nx.nl>
|
||||
Date: Sun, 31 Oct 2021 13:36:46 +0100
|
||||
Subject: [PATCH 1/1] Switch to system dbus
|
||||
|
||||
---
|
||||
src/dbus_mpris.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/dbus_mpris.rs b/src/dbus_mpris.rs
|
||||
index 838f3b3..1e97540 100644
|
||||
--- a/src/dbus_mpris.rs
|
||||
+++ b/src/dbus_mpris.rs
|
||||
@@ -114,7 +114,7 @@ fn create_spotify_api(token: &RspotifyToken) -> Spotify {
|
||||
async fn create_dbus_server(api_token: RspotifyToken, spirc: Arc<Spirc>, device_name: String) {
|
||||
// TODO: allow other DBus types through CLI and config entry.
|
||||
let (resource, conn) =
|
||||
- connection::new_session_sync().expect("Failed to initialize DBus connection");
|
||||
+ connection::new_system_sync().expect("Failed to initialize DBus connection");
|
||||
tokio::spawn(async {
|
||||
let err = resource.await;
|
||||
panic!("Lost connection to D-Bus: {}", err);
|
||||
--
|
||||
2.33.1
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
SPOTIFYD_VERSION = ae6dac7a54f899316674ba57ce4a0f9890cd2b1c
|
||||
SPOTIFYD_VERSION = ddfcbb2eecd3b5be94533f7374180df412659b4e
|
||||
SPOTIFYD_SITE = $(call github,Spotifyd,spotifyd,$(SPOTIFYD_VERSION))
|
||||
SPOTIFYD_LICENSE = GPL-3.0
|
||||
SPOTIFYD_LICENSE_FILES = LICENSE
|
||||
|
|
Loading…
Reference in New Issue