Package: gjay
Version: 0.3.1-1
Tags: patch

Hi,

When gjay analyses the songs with mpg123 it actually makes mpg123 play them to 
the normal output device. 

This is caused because mpg123 expects options before any file name. Attached 
patch fixes it.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
diff -urpN gjay-0.3.1-1.orig/analysis.c gjay-0.3.1-1/analysis.c
--- gjay-0.3.1-1.orig/analysis.c	2010-03-26 16:02:00.000000000 -0600
+++ gjay-0.3.1-1/analysis.c	2010-05-19 16:28:19.000000000 -0500
@@ -475,7 +475,7 @@ inflate_to_wav (const gchar * path, cons
           g_warning(_("Unable to decode '%s' as no mp3 decoder found"), path);
         return NULL;
       }
-      cmdline = g_strdup_printf("%s -b 10000 %s -w - 2> /dev/null",
+      cmdline = g_strdup_printf("%s -w - -b 10000 %s 2> /dev/null",
           mp3_decoder,
           quoted_path);
       break;

Reply via email to