Revision: 2125
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2125&view=rev
Author:   tmzullinger
Date:     2008-09-30 21:52:17 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
Set track->lyrics_flag for mp4 files

Modified Paths:
--------------
    gtkpod/trunk/ChangeLog
    gtkpod/trunk/NEWS
    gtkpod/trunk/src/mp4file.c

Modified: gtkpod/trunk/ChangeLog
===================================================================
--- gtkpod/trunk/ChangeLog      2008-09-30 14:40:29 UTC (rev 2124)
+++ gtkpod/trunk/ChangeLog      2008-09-30 21:52:17 UTC (rev 2125)
@@ -1,3 +1,8 @@
+2008-09-30  Todd Zullinger  <tmzullinger at users.sourceforge.net>
+
+       * src/mp4file.c (mp4_get_file_info): Set track->lyrics_flag
+         for mp4 files
+
 2008-09-29 Jorg Schuler <jcsjcs at users.sourceforge.net>
 
        * src/ipod_init.c

Modified: gtkpod/trunk/NEWS
===================================================================
--- gtkpod/trunk/NEWS   2008-09-30 14:40:29 UTC (rev 2124)
+++ gtkpod/trunk/NEWS   2008-09-30 21:52:17 UTC (rev 2125)
@@ -12,6 +12,8 @@
        IMPROVEMENT: Better support for Windows compilation in Cygwin,
           thanks to Éric Lassauge.
 
+       IMPROVEMENT: Set track->lyrics_flag for mp4 files
+
 gtkpod V0.99.12
 
        NEW FEATURE: Import and management of photographs on ipods

Modified: gtkpod/trunk/src/mp4file.c
===================================================================
--- gtkpod/trunk/src/mp4file.c  2008-09-30 14:40:29 UTC (rev 2124)
+++ gtkpod/trunk/src/mp4file.c  2008-09-30 21:52:17 UTC (rev 2125)
@@ -439,6 +439,10 @@
                    {
                        track->BPM = numvalue;
                    }
+                   if (MP4HaveAtom (mp4File, "moov.udta.meta.ilst.\251lyr"))
+                   {
+                       track->lyrics_flag = 0x01;
+                   }
                }
                mp4_scan_soundcheck (mp4File, track);
                audio_or_video_found = TRUE;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to