summaryrefslogtreecommitdiff
path: root/firmware/id3.c
AgeCommit message (Collapse)Author
2006-02-01Patch #1421483 - AIFF codec by Jvo StuderDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
2006-01-08Discard some LAME header fields if the file length has changed since the ↵Magnus Holmgren
header was written. Fixes some NPR podcasts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8307 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Restore full support for id3v2 frames with multiple strings (like TXXX). ↵Magnus Holmgren
Makes MP3 ReplayGain work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8196 a1c6a512-1295-4272-9138-f99709370657
2005-12-06waiting is over: initial unicode commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-11-27It's pronouced OggMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8085 a1c6a512-1295-4272-9138-f99709370657
2005-11-25Initial gcc4 warning cleanup (and some minor policing)Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
2005-11-11Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox ↵Dave Chapman
implementation by Mark Arigo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657
2005-11-11The ID3v2 parser can now correctly skip to the next frame after parsing a ↵Linus Nielsen Feltzing
frame larger than the input buffer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7811 a1c6a512-1295-4272-9138-f99709370657
2005-10-31Add AAC audio typeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7703 a1c6a512-1295-4272-9138-f99709370657
2005-10-30Skip ID3v2 tags at the start of a FLAC file.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Add ALAC audio typeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7548 a1c6a512-1295-4272-9138-f99709370657
2005-09-10Reworked handling of MPEG audio frame & file info: * Fixed frame size ↵Jens Arnold
calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-09Exact song length calculation for CBR mpeg audio files (without Info header).Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7502 a1c6a512-1295-4272-9138-f99709370657
2005-09-08The previous commit had a distressing lack of words. This time I deliver the ↵Jonas Häggqvist
promised Christian Gangsta Rap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7500 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Added support for additional ID3v1 genres, including such gems as "Christian ↵Jonas Häggqvist
gangsta rap" and "Negerpunk". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7499 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Restructured codec type handling a bit. Reduced code size, esp. on archos.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Corrected the codec format tableLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7442 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Fixed the WPS codec type conditional, and removed unsupported formats from ↵Linus Nielsen Feltzing
the format enum git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7441 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Patch #1161046 by Bryan Vandyke - id3v2 frames with size 0 may cause rockbox ↵Linus Nielsen Feltzing
to miss tags git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7426 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Fixed "if there are less than 2 bytes left in the buffer, thenMiika Pekkarinen
framelen is set to 0 or -1", thanks to Frank Dischner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7361 a1c6a512-1295-4272-9138-f99709370657
2005-08-19Properly skip the ID3v2 extended header for both 2.3 and 2.4Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7356 a1c6a512-1295-4272-9138-f99709370657
2005-08-11Only check for frames with three-letter names when parsing ID3V2.2 tags (and ↵Magnus Holmgren
only check four-letter names when parsing ID3V2.3+ tags). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7306 a1c6a512-1295-4272-9138-f99709370657
2005-07-27Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized ↵Magnus Holmgren
the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-05Now codec names are in sync.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7032 a1c6a512-1295-4272-9138-f99709370657
2005-07-05Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".Miika Pekkarinen
Thanks to Magnus Holmgren. Now metadata reading is better with improved performance for mp3 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-06-26Patch 1163135 by Bryan Vandyke: Remove trailing spaces for ID3v2 tagsJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6885 a1c6a512-1295-4272-9138-f99709370657
2005-06-19Don't initialize id3 structure with zeros on software codec platformsMiika Pekkarinen
(buffering system will do this). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6764 a1c6a512-1295-4272-9138-f99709370657
2005-06-18Added %fc WPS tag to display codec type - moved codectype from track_info ↵Dave Chapman
struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-15ID3 parser bug fix by Ray LambertLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6716 a1c6a512-1295-4272-9138-f99709370657
2005-02-09long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5863 a1c6a512-1295-4272-9138-f99709370657
2004-08-16Const policed pointer arguments to functions, part 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 4Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-07-27Added possibility to select the priority of the ID3 tagsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-05Now looks for TCOM and TCON before TCOLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4836 a1c6a512-1295-4272-9138-f99709370657
2004-06-16remove extra ';'Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4754 a1c6a512-1295-4272-9138-f99709370657
2004-06-16Stray semicolon removedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4752 a1c6a512-1295-4272-9138-f99709370657
2004-05-22Moved genre list and access function to id3.cBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4692 a1c6a512-1295-4272-9138-f99709370657
2004-03-30The ID3 parser accidentally allowed a data length indicator flag on 2.3 ↵Linus Nielsen Feltzing
tags, and the grouping identity bit is not the same on 2.3 and 2.4 (sigh). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4455 a1c6a512-1295-4272-9138-f99709370657
2004-03-25The ID3V2 TCON frame is now parsed in a little more forgiving mannerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4437 a1c6a512-1295-4272-9138-f99709370657
2004-03-13Skipping unknown ID3V2 frames didn't work as expected with global unsynch. ↵Linus Nielsen Feltzing
This fixes bug report #887332. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4379 a1c6a512-1295-4272-9138-f99709370657
2004-01-09The Unicode parser now handles unterminated strings, plus it tries to guess ↵Linus Nielsen Feltzing
the byte order when the BOM is missing (a violation of the spec, btw) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4215 a1c6a512-1295-4272-9138-f99709370657
2004-01-04Got rid of the reset parameter to xxx_unsynched()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4189 a1c6a512-1295-4272-9138-f99709370657
2004-01-04ID3v2.3 treats the global unsynch flag in a silly way, so we have to unsynch ↵Linus Nielsen Feltzing
the whole tag before we can parse the individual frames. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4188 a1c6a512-1295-4272-9138-f99709370657
2003-10-26Correct genre parsing by making code match comment (and specification) :)Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3987 a1c6a512-1295-4272-9138-f99709370657
2003-10-22Genre parsing in id3v2.3 was still wrong. Also, the last frame in the tag ↵Linus Nielsen Feltzing
could sometimes be ignored. This fixes the strange 1-digit track number bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3984 a1c6a512-1295-4272-9138-f99709370657
2003-10-22Added unsynchronizationLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3983 a1c6a512-1295-4272-9138-f99709370657
2003-10-21An attempt to fix the ID3V2 genre tag parsingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3981 a1c6a512-1295-4272-9138-f99709370657
2003-10-20Added tag resolvers for TYE, TAL and TRKLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3980 a1c6a512-1295-4272-9138-f99709370657
2003-07-04Fix for incorrect genre default value, by Benjamin MetzlerBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3810 a1c6a512-1295-4272-9138-f99709370657