From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 6 17:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B321065673 for ; Mon, 6 Apr 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B91D68FC23 for ; Mon, 6 Apr 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n36HA1Q7052678 for ; Mon, 6 Apr 2009 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n36HA1uv052677; Mon, 6 Apr 2009 17:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 6 Apr 2009 17:10:01 GMT Resent-Message-Id: <200904061710.n36HA1uv052677@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, baileygeoff@telus.net Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E68910657C2 for ; Mon, 6 Apr 2009 17:00:11 +0000 (UTC) (envelope-from geoff@cangeordie.com) Received: from outbound03.telus.net (outbound03.telus.net [199.185.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 358538FC38 for ; Mon, 6 Apr 2009 17:00:11 +0000 (UTC) (envelope-from geoff@cangeordie.com) Received: from priv-edtnaa06.telusplanet.net ([205.250.254.92]) by priv-edtnes29.telusplanet.net (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090406165911.YJWT1074.priv-edtnes29.telusplanet.net@priv-edtnaa06.telusplanet.net>; Mon, 6 Apr 2009 10:59:11 -0600 Received: from uzyod.ca (unknown [205.250.254.92]) by priv-edtnaa06.telusplanet.net (BorderWare Security Platform) with ESMTP id A1B92A123838FC7C; Mon, 6 Apr 2009 11:00:08 -0600 (MDT) Received: (from root@localhost) by uzyod.ca (8.14.3/8.14.3/Submit) id n36GxhF9001246 for baileygeoff@telus.net; Mon, 6 Apr 2009 09:59:43 -0700 (PDT) (envelope-from geoff) Message-Id: <200904061659.n36GxhF9001246@uzyod.ca> Date: Mon, 6 Apr 2009 09:59:43 -0700 (PDT) From: baileygeoff@telus.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: oliver@FreeBSD.org Subject: ports/133430: [patch] multimedia/audacious-1.5.1: file dialog opens when a filename is passed on the command line. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: baileygeoff@telus.net List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2009 17:10:03 -0000 >Number: 133430 >Category: ports >Synopsis: [patch] multimedia/audacious-1.5.1: file dialog opens when a filename is passed on the command line. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 06 17:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Geoff Bailey >Release: FreeBSD 7.1-RELEASE i386 >Organization: <> >Environment: multimedia/audacious-1.5.1 with multimedia/audacious-plugins-1.5.1 System: FreeBSD uzyod 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When a .m3u filename is given on the command line (or when one clicks on a .m3u url link in a browser and the browser passes the url as an argument) audacious does not use the filename but instead opens a file dialog to allow the user to browse for a file. Inside the file 'src/audacious/main.c', an attempt is made to store the given filename on the playlist queue before the queue has been initialized. >How-To-Repeat: 1. pass a .m3u file as an argument on the command line: e.g. audacious genurl.m3u 2. click on a .m3u link in a browser e.g. browse to 'http://www.kpfa.org/home' and click on 'KPFA 94.1 FM' >Fix: In the file 'src/audacious/main.c', if the call to 'handle_cmd_line_options()' (which tries to store the filename on the playlist queue) is made after the call to 'playlist_system_init()', instead of before it, then the given filename is properly added to the queue and the player starts to stream the media, as expected. I know that this is an audacious problem but I thought that you might want to make a temporary patch until the audacious developers fix it. I have attached 'patch-src_audacious_main.c' which makes the simple change described above. >Release-Note: >Audit-Trail: >Unformatted: