Debian Bug report logs - #505004
Audacious plays the last playlist instead of the double-clicked file

version graph

Package: audacious; Maintainer for audacious is Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>; Source for audacious is src:audacious (PTS, buildd, popcon).

Reported by: Stefan Ebner <sebner@ubuntu.com>

Date: Sat, 8 Nov 2008 14:33:01 UTC

Severity: normal

Found in version audacious/1.5.1-4

Fixed in version 2.0.1-1

Done: Benjamin Drung <bdrung@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#505004; Package audacious. (Sat, 08 Nov 2008 14:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Ebner <sebner@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sat, 08 Nov 2008 14:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stefan Ebner <sebner@ubuntu.com>
To: submit@bugs.debian.org
Subject: Audacious plays the last playlist instead of the double-clicked file
Date: Sat, 08 Nov 2008 15:30:28 +0100
[Message part 1 (text/plain, inline)]
Package: audacious
Version: 1.5.1-4



When I double click on a music file (for example and MP3 file),
Audacious does not play that file, but it starts playing the last
playlist I have given it.

I attached a patch which fixes this issue.
The patch is based on that one from gentoo bugzilla:

http://viewcvs.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacious/files/1.5.1-commandline-options.patch?rev=1.1&view=markup

But I modified this patch that you can append in debian/patches/series so
it works when you apply it.
This patch is already in ubuntu and works.

Cheers,
    Stefan Ebner
[005-playlist_play_clicked_file.patch (text/x-patch, inline)]
--- audacious-1.5.1.orig/debian/patches/005-playlist_play_clicked_file.patch
+++ audacious-1.5.1/debian/patches/005-playlist_play_clicked_file.patch
@@ -0,0 +1,45 @@
+Index: audacious-1.5.1-4ubuntu1/src/audacious/main.c
+===================================================================
+--- audacious-1.5.1-4ubuntu1.orig/src/audacious/main.c	2008-11-05 11:31:18.000000000 +0100
++++ audacious-1.5.1-4ubuntu1/src/audacious/main.c	2008-11-05 11:34:13.000000000 +0100
+@@ -315,7 +315,7 @@
+ }
+ 
+ static void
+-handle_cmd_line_options()
++handle_cmd_line_options(gboolean skip)
+ {
+     gchar **filenames = options.filenames;
+ #ifdef USE_DBUS
+@@ -430,7 +430,7 @@
+     } /* is_running */
+     else
+ #endif
+-    { /* !is_running */
++    if (!skip) { /* !is_running */
+         if (filenames != NULL)
+         {
+             gint pos = 0;
+@@ -715,10 +715,10 @@
+ 
+     signal_handlers_init();
+ 
+-    plugin_system_init();
+-    playlist_system_init();
++    handle_cmd_line_options(TRUE);
+ 
+-    handle_cmd_line_options();
++    plugin_system_init();
++    playlist_system_init();    
+ 
+     if (options.headless == FALSE)
+     {
+@@ -735,6 +735,8 @@
+         ui_manager_create_menus();
+     }
+ 
++    handle_cmd_line_options(FALSE);
++
+ #ifdef USE_DBUS
+     init_dbus();
+ #endif

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#505004; Package audacious. (Sat, 08 Nov 2008 14:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Ebner <sebner@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Sat, 08 Nov 2008 14:42:02 GMT) (full text, mbox, link).


Message #10 received at 505004@bugs.debian.org (full text, mbox, reply):

From: Stefan Ebner <sebner@ubuntu.com>
To: 505004@bugs.debian.org
Subject: (no subject)
Date: Sat, 08 Nov 2008 15:39:03 +0100
I just want to mention that you can/should append it to
debian/patches/series
so it's last. I named it 005-xy but don't append it after 004-xy but at
the bottom of the other patches.

Cheers




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#505004; Package audacious. (Thu, 06 Aug 2009 21:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>. (Thu, 06 Aug 2009 21:30:02 GMT) (full text, mbox, link).


Message #15 received at 505004@bugs.debian.org (full text, mbox, reply):

From: John Lindgren <john.lindgren@tds.net>
To: control@bugs.debian.org, Stefan Ebner <sebner@ubuntu.com>
Cc: 505004@bugs.debian.org
Subject: Re: audacious: plays the last playlist instead of the double-clicked file
Date: Thu, 06 Aug 2009 17:24:21 -0400
fixed 505004 2.0.1-1
thanks

This patch was based on an upstream change from over a year ago and is
therefore not needed in current Sid version.

        http://hg.atheme.org/audacious/rev/bc29f566be02

John Lindgren





Bug Marked as fixed in versions 2.0.1-1. Request was from John Lindgren <john.lindgren@tds.net> to control@bugs.debian.org. (Thu, 06 Aug 2009 21:30:03 GMT) (full text, mbox, link).


Reply sent to Benjamin Drung <bdrung@ubuntu.com>:
You have taken responsibility. (Sat, 04 Sep 2010 19:27:14 GMT) (full text, mbox, link).


Notification sent to Stefan Ebner <sebner@ubuntu.com>:
Bug acknowledged by developer. (Sat, 04 Sep 2010 19:27:14 GMT) (full text, mbox, link).


Message #22 received at 505004-done@bugs.debian.org (full text, mbox, reply):

From: Benjamin Drung <bdrung@ubuntu.com>
To: 505004-done@bugs.debian.org
Subject: Re: audacious: plays the last playlist instead of the double-clicked file
Date: Sat, 04 Sep 2010 21:24:00 +0200
[Message part 1 (text/plain, inline)]
Version: 2.0.1-1

John Lindgren wrote:
> This patch was based on an upstream change from over a year ago and is
> therefore not needed in current Sid version.

I am closing this bug.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 03 Oct 2010 07:31:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:03:41 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.