[kupfer] audacious: Start playback when jumping to a song
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] audacious: Start playback when jumping to a song
- Date: Thu, 14 Jan 2010 06:10:12 +0000 (UTC)
commit 7affddaf49f5492f9577a5610b13e4c9e262e838
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Jan 14 07:07:43 2010 +0100
audacious: Start playback when jumping to a song
Unless already playing, "jump to song"/Play won't have the desired
effect.
Fix proposed by @hetdegon.
kupfer/plugin/audacious.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/audacious.py b/kupfer/plugin/audacious.py
index 26a45dd..5d103cb 100644
--- a/kupfer/plugin/audacious.py
+++ b/kupfer/plugin/audacious.py
@@ -36,6 +36,7 @@ def dequeue_song(info):
def play_song(info):
utils.spawn_async((AUDTOOL, "playlist-jump", "%d" % info))
+ utils.spawn_async((AUDTOOL, "playback-play"))
def get_playlist_songs():
"""Yield tuples of (position, name) for playlist songs"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]