summaryrefslogtreecommitdiff
path: root/firmware/id3.c
AgeCommit message (Collapse)Author
2008-10-10Moved id3.c, mpeg.c and replaygain.c from firmware/ to apps/. This is the ↵Björn Stenberg
first step in separating the generic metadata code and the id3-specific code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18760 a1c6a512-1295-4272-9138-f99709370657
2008-10-07FS#9139 - support for ver 1.1 scrobbler log files. Upload any old files ↵Robert Keevil
first - uploading software may need updating, see the LastFMLog wiki page git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18732 a1c6a512-1295-4272-9138-f99709370657
2008-08-17Fix a problem reading some ID3v2.4 tags. The data length refers to the size ↵Magnus Holmgren
of the frame without compression, unsynchronization and the like, so it should not be used when skipping unsupported frames in the file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18304 a1c6a512-1295-4272-9138-f99709370657
2008-07-26commit asap codec. plays .sap files. At the moment it only plays the default ↵Dominik Wenger
song. So subSongs are ignored. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-05-21FS #8680. MOD codec by Rainer Sinsch.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-04-28Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Move a function to gwps-common.c because it belongs thereNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17084 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold
plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-03-28Revert my earlier const madness, we'll keep the parameter lists simple.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657
2008-03-26More consts that require no functional change.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16814 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold
24 bit BMP instead of unnecessary 32 bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-08Revert accidental tree commit. Sorry for that.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08No need to have \n here. panicf() won't output it anyway.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-02-10Improve handling of RVA2 (replaygain) frames.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16262 a1c6a512-1295-4272-9138-f99709370657
2008-01-06Fix reading of ID3V2 tags with frame data length fields, hopefully without ↵Magnus Holmgren
breaking anything else. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16006 a1c6a512-1295-4272-9138-f99709370657
2007-10-29Turn the DEBUGF messages into logf in the ID3 parser, so that by default ↵Nicolas Pennequin
they don't get shown. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15364 a1c6a512-1295-4272-9138-f99709370657
2007-10-28Oops. The function should be static.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15347 a1c6a512-1295-4272-9138-f99709370657
2007-10-28Some genre strings must not be adjusted by adjust_mp3_entry. Thanks to ↵Nicolas Pennequin
PaulJam for the report. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15346 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Remove the ID3 tag version priority setting on the grounds of it being ↵Thom Johansen
pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
2007-09-05More efficient version of the fix.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14619 a1c6a512-1295-4272-9138-f99709370657
2007-09-05Hopefully stop the crashes on database init on ARM (and SH1) targets when ↵Jens Arnold
comment tags using UTF-16 are present. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14618 a1c6a512-1295-4272-9138-f99709370657
2007-09-04fix sub-string comparisonRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14602 a1c6a512-1295-4272-9138-f99709370657
2007-09-03Fix FS#7698, UTF-16 comments not read correctly. Also ignore more iTunes ↵Magnus Holmgren
comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14594 a1c6a512-1295-4272-9138-f99709370657
2007-08-25Remove some debug code. Remove some unnecessary checks.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14454 a1c6a512-1295-4272-9138-f99709370657
2007-08-25Small ReplayGain cleanup. Move RVA2 specific code to id3.c and don't do the ↵Magnus Holmgren
parsing via strings. Generalize parts of the code for later use by MPC. Make some local functions static. Add and update some comments for clarity. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14453 a1c6a512-1295-4272-9138-f99709370657
2007-08-14Add an error check in get_mp3_metadata()Nicolas Pennequin
Check whether getonglength() succeeded or not, to prevent get_mp3_metadata() from returning a success value when in fact it failed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14327 a1c6a512-1295-4272-9138-f99709370657
2007-08-12ignore comments containing iTunes 7 gapless data; should solve issues ↵Robert Kukla
reported in http://forums.rockbox.org/index.php?topic=12048.0 and http://forums.rockbox.org/index.php?topic=12053.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14294 a1c6a512-1295-4272-9138-f99709370657
2007-08-08Add support for grouping tags. From FS#7362.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14242 a1c6a512-1295-4272-9138-f99709370657
2007-08-03Add support for parsing the disc number tag from metadata and use of it in ↵Dan Everton
the database. Patch originally from FS#4961 with some minor tweaks by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14154 a1c6a512-1295-4272-9138-f99709370657
2007-07-11added missing extra null terminator to indicate end of WMA extension Adam Gashlin
list git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13854 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's ↵Dave Chapman
fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
2007-06-05Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman
an extremely CPU-intensive codec, and that the decoding speed is directly related to the compression level (-c1000, -c2000, -c3000, -c4000 or -c5000) used when encoding the file. Current performance is: -c1000 to -c3000 are realtime on a Gigabeat, -c1000 is realtime on Coldfire targets (H100, H300 and Cowon), and nothing is realtime on PortalPlayer targets (iPods, H10, Sansa). Hopefully this can be improved. More information at FS #7256. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13562 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Correct parsing of the ID3V2 extended headerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12970 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Patch by Denis Stanishevskiy, prevent endless loop in the ID3 parserLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12968 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Fix simulator builds, and some debugf() format strings.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-02remove numerical genre and use genre_string consistently:Robert Kukla
- fix spurious display of "blues" genre for missing genre tag - simplify code/use less code - numerical->string conversion only once instead of at every use git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12552 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Correct spelling of CONFIG_CODEC, fixes FS#6668Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12356 a1c6a512-1295-4272-9138-f99709370657
2007-02-17FS#6651 - Improved id3 comment extraction.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12344 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Shave a few bytes off the binary size, especially on hwcodec targetsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Adding SPC codec (FS #6542)Adam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12298 a1c6a512-1295-4272-9138-f99709370657
2007-02-10FS#6638 - Album artist and comment patch for WPS and tagcache. ExportMiika Pekkarinen
your database before updating because initialization is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Minor whitespace and formatting fixes.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12253 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-01-25adding NSF (NES music) codecAdam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-07"Trash Metal" should be "Thrash Metal". Reported as FS#6503, checked against ↵Dominik Riebeling
Winamp. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11942 a1c6a512-1295-4272-9138-f99709370657
2006-12-08Add "m4b" to the list of supported filename extensions.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11689 a1c6a512-1295-4272-9138-f99709370657
2006-11-24Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on ↵Michael Sevakis
sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657