head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pksrc_base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2009.09.09.16.54.13; author drochner; state dead; branches; next 1.1; 1.1 date 2009.07.27.13.40.28; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.07.27.13.40.28; author drochner; state Exp; branches; next ; desc @@ 1.2 log @update to 0.3 changes: -my patches (portability, cue sheet parser improvements) were integrated upstream -UI improvements -minor fixes @ text @$NetBSD: patch-aa,v 1.1 2009/07/27 13:40:28 drochner Exp $ --- main.c.orig 2009-07-17 16:37:33.000000000 +0200 +++ main.c @@@@ -7,6 +7,7 @@@@ #include #include #include +#include #include "config.h" #define _(x) gettext(x) @@@@ -144,6 +145,11 @@@@ FLAC__byte* get_track_tag(unsigned tr, c query_string = g_strdup_printf("%s(%d)", what, get_track_number(tr)); if((try = get_comment(query_string))) goto finished; + + g_free(query_string); + query_string = g_strdup_printf("%s[%d]", what, get_track_number(tr)); + + if((try = get_comment(query_string))) goto finished; if(!g_strcmp0(what,"TITLE")) g_message(_("The %s tag is unset. Using %s instead."), @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @add albumplayer-0.2, a player for FLAC album files @ text @@