[totem] dbusservice: Fix OpenUri not working anymore
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] dbusservice: Fix OpenUri not working anymore
- Date: Sat, 2 Oct 2021 14:28:49 +0000 (UTC)
commit 853d4065c4b7335ee7976f70df95a83e15de4274
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]