summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch')
-rw-r--r--gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch b/gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch
new file mode 100644
index 000000000000..52e3d15481cc
--- /dev/null
+++ b/gnome-extra/gnome-integration-spotify/files/gnome-integration-spotify-command-line-parsing.patch
@@ -0,0 +1,11 @@
+--- a/spotify-dbus.py 2021-04-12 11:11:00.710360694 +0200
++++ b/spotify-dbus.py 2021-04-12 11:53:06.208197383 +0200
+@@ -632,7 +636,7 @@
+ self.action_trigger('play')
+
+ # Play/pause (0.6)
+- elif '--playpause' or 'playpause' in sys.argv:
++ elif '--playpause' in sys.argv or 'playpause' in sys.argv:
+ self.action_trigger('playpause')
+
+ # Stop