[Flac-dev] PATCH: XMMS year bug

Tyler Eaves tylere at gmail.com
Fri Jul 16 15:37:03 PDT 2004


Hi, this is a patch to fix a bug in the XMMS plugin. The problem is
that with the current version (1.1.0) it is impossible to get the year
field to show up in the playlist, even if it's properly set in the
file. The diff below fixes the problem.

Tyler Eaves

bash-2.05b$ diff -C 1 wrap_id3.c
/usr/portage/distfiles/flac-1.1.0/src/plugin_xmms/wrap_id3.c
*** wrap_id3.c  Fri Jul 16 18:28:35 2004
--- /usr/portage/distfiles/flac-1.1.0/src/plugin_xmms/wrap_id3.c      
 Thu Jan  2 02:18:57 2003
***************
*** 105,107 ****
        input->track_number = local__getnum(tag.track_number);
!       input->year = local__getnum(tag.year_recorded);
        input->genre = local__getstr(tag.genre);
--- 105,107 ----
        input->track_number = local__getnum(tag.track_number);
!       input->year = local__getnum(tag.year_performed);
        input->genre = local__getstr(tag.genre);




More information about the Flac-dev mailing list