summaryrefslogtreecommitdiff
path: root/firmware/id3.c
AgeCommit message (Collapse)Author
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
2003-06-06bug 749951, ooops. We made the number function too generic and forgot toDaniel Stenberg
make the year tags work... Thanks to Jeremy Zoss for finding and reporting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3737 a1c6a512-1295-4272-9138-f99709370657
2003-06-05Fixed silly typoBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3729 a1c6a512-1295-4272-9138-f99709370657
2003-06-04Generalized id3v2 parsing code. Added support for the composer frame and ↵Björn Stenberg
free-form genre and tracknum frames. (Patch #706111 by Thomas Paul Diffenbach) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3727 a1c6a512-1295-4272-9138-f99709370657
2003-03-18Tidied up the ID3V2 parser a littleLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3475 a1c6a512-1295-4272-9138-f99709370657
2003-03-18Faster ID3 parsing with the new filesize() functionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3474 a1c6a512-1295-4272-9138-f99709370657
2003-03-13Bug fixes: Artist was skipped sometimes. Frequency, mpeg version & layer was ↵Björn Stenberg
never copied. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3441 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Don't accidentally add Xing headers to CBR filesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Ignore duplicate id3v2 tags or frames. Patch by Bill Napier.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3413 a1c6a512-1295-4272-9138-f99709370657
2003-03-10I hate it when rippers don't follow the ID3V2 specsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3412 a1c6a512-1295-4272-9138-f99709370657
2003-03-10New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation codeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-02-11Initialize genre to 0xff since 0 is a valid value.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3233 a1c6a512-1295-4272-9138-f99709370657
2003-01-24Remove use of rockbox-mode.el in local variables list.Mats Lidell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2002-12-12Merged Uwe Freese's bidirectional scrolling patch. Added configurable scroll ↵Björn Stenberg
step size and scroll start delay. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2974 a1c6a512-1295-4272-9138-f99709370657
2002-12-09Added id3 version wps tag: %iv. Fixed id3v1 parsing bug.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2967 a1c6a512-1295-4272-9138-f99709370657
2002-12-05Added ID3 tag 'genre': %igBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2950 a1c6a512-1295-4272-9138-f99709370657
2002-12-05Added ID3 tag 'year': %iyBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2949 a1c6a512-1295-4272-9138-f99709370657
2002-12-03Don't waste time loading v1 tag if a v2 tag was found.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2916 a1c6a512-1295-4272-9138-f99709370657
2002-11-12Fixed broken unicode_munge()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2840 a1c6a512-1295-4272-9138-f99709370657
2002-10-29Better handling of large frames in V2 tagsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2771 a1c6a512-1295-4272-9138-f99709370657
2002-10-28Now reads the tags frame by frame, to avoid missing frames when there are ↵Linus Nielsen Feltzing
large blobs in the tag. This fixes bug #623510. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2768 a1c6a512-1295-4272-9138-f99709370657
2002-10-27Better skipping of leading garbage. Fixes bug #625868.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2752 a1c6a512-1295-4272-9138-f99709370657
2002-10-01modify the data these point to, these operators are right-to-left...Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2470 a1c6a512-1295-4272-9138-f99709370657
2002-10-01Made the Unicode kludge even kludgier, but non-crashingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2469 a1c6a512-1295-4272-9138-f99709370657
2002-09-30Bill Napier wrote this:Daniel Stenberg
This patch adds minimal suppport for 16-bit Unicode strings for ID3 tags. It is basically a modification to the ID3v2 parser that checks for Unicode strings. If a string is found that is a Unicode string, it is converted (in place) to an ASCII string if it is an ASCII character. Since we can support non-ASCII characters on the display, support for non-ASCII characters in ID3 tags should proably also be supported in the future. This patch is just an interem change until full Unicode support is implemented (if ever). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2451 a1c6a512-1295-4272-9138-f99709370657
2002-09-30Bill Napier's fix for header lengths for ID3v2.3 and earlier.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2450 a1c6a512-1295-4272-9138-f99709370657
2002-09-27Rudimentary VBRI parsingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2435 a1c6a512-1295-4272-9138-f99709370657
2002-09-25For some strange reason, getsonglength() couldn't handle 800Kbyte ID3V2 tags :-)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2413 a1c6a512-1295-4272-9138-f99709370657
2002-09-19Better handling of tagless tracks with VBR headersLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2333 a1c6a512-1295-4272-9138-f99709370657
2002-09-18Another strike in the battle against glitches between tracksLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2326 a1c6a512-1295-4272-9138-f99709370657
2002-09-17no C99 stuff here ;-)Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2309 a1c6a512-1295-4272-9138-f99709370657
2002-09-16Now skips garbage padding after the ID3V2 tag, along with Xing and LAME headersLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2300 a1c6a512-1295-4272-9138-f99709370657
2002-09-16removed redundant size checksDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2298 a1c6a512-1295-4272-9138-f99709370657
2002-09-16When getting tag contents, we might read a tag which has a part of it withinDaniel Stenberg
our buffer and part outside. This adjusts so that we only attempt to read the part of the tag that is inside the buffer. Magnus Holmgren helped out here! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2297 a1c6a512-1295-4272-9138-f99709370657
2002-09-16if the id3v2 tags avaiable are bigger than our buffer size, at least tryDaniel Stenberg
to get the ones that is within the boundaries. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2296 a1c6a512-1295-4272-9138-f99709370657