bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnupod] Lyrics support


From: Richard van den Berg
Subject: [Bug-gnupod] Lyrics support
Date: Sat, 23 May 2009 14:53:11 +0200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

This was just too easy. It's a one line fix that makes lyrics in USLT mp3 tags work on my iPod 5G.

Cheers,

Richard
Index: src/ext/FileMagic.pm
===================================================================
RCS file: /sources/gnupod/gnupod/src/ext/FileMagic.pm,v
retrieving revision 1.86
diff -u -r1.86 FileMagic.pm
--- src/ext/FileMagic.pm        22 May 2009 20:52:22 -0000      1.86
+++ src/ext/FileMagic.pm        23 May 2009 12:39:01 -0000
@@ -537,6 +537,7 @@
        $rh{composer}   = ($hs->{TCOM} || $hs->{TCM} || "");
        $rh{playcount}  = int($hs->{PCNT} || $hs->{CNT}) || 0;
        $rh{mediatype}  = MEDIATYPE_AUDIO;
+       $rh{lyrics_flag}= 1 if($hs->{USLT} || $hs->{ULT});
 
        # RVA2/XRVA trumps all.
        if (defined($hs_raw->{RVA2}) or defined($hs_raw->{XRVA})) {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]