[totem/wip/hadess/3.38.2: 5/6] dbusservice: Fix OpenUri not working anymore
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/3.38.2: 5/6] dbusservice: Fix OpenUri not working anymore
- Date: Tue, 12 Oct 2021 08:07:27 +0000 (UTC)
commit dfd7559a19065a1a0665d48ba205d2015b5bc457
Author: Daniel Gorbea <danielgorbea gmail com>
Date: Wed Aug 11 15:53:49 2021 -0500
dbusservice: Fix OpenUri not working anymore
add_to_playlist_and_play() was removed in commit
67021249bb5311da03b2426e73df648e21a5dc59 so adapt to use the replacement
add_to_playlist() function.
src/plugins/dbusservice/dbusservice.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/dbusservice/dbusservice.py b/src/plugins/dbusservice/dbusservice.py
index 70deb7f7a..afe034ad1 100644
--- a/src/plugins/dbusservice/dbusservice.py
+++ b/src/plugins/dbusservice/dbusservice.py
@@ -323,7 +323,7 @@ class Root (dbus.service.Object): # pylint: disable=R0904
in_signature = 's', # pylint: disable=C0103
out_signature = '')
def OpenUri (self, uri): # pylint: disable=C0103
- self.totem.add_to_playlist_and_play (uri)
+ self.totem.add_to_playlist (uri, None, True)
@dbus.service.signal (dbus_interface = 'org.mpris.MediaPlayer2.Player',
signature = 'x') # pylint: disable=C0103
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]