Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2009 09:59:43 -0700 (PDT)
From:      baileygeoff@telus.net
To:        FreeBSD-gnats-submit@FreeBSD.org
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.
Message-ID:  <200904061659.n36GxhF9001246@uzyod.ca>
Resent-Message-ID: <200904061710.n36HA1uv052677@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <baileygeoff@telus.net>
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904061659.n36GxhF9001246>