summaryrefslogtreecommitdiff
path: root/apps/metadata.c
AgeCommit message (Collapse)Author
2008-12-15Moved database builder into a separate directory, and gave it its' own ↵Björn Stenberg
Makefile. Now it compiles cleanly and builds a database if ran in root of music tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Add .oga as a valid file extension for Ogg vorbis files. Even though Xiph ↵Dave Chapman
recommend against using .oga for vorbis (for compatibility reasons), they say that it may be used, and some applications (e.g. Gnome Media) are doing so. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18932 a1c6a512-1295-4272-9138-f99709370657
2008-10-21Fix .talk clips on hwcodec targets. mp3info() must not call get_metadata(), ↵Jens Arnold
because this one tries to guess which get_xx_metadata() to call from the extension, and mp3info() is used in talk_file() (extension .talk) on hwcodec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18855 a1c6a512-1295-4272-9138-f99709370657
2008-10-15Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. ↵Björn Stenberg
Moved mp3data.c/h from firmware to apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
2008-07-26Ogg and Speex have the same metadata handling function so use the same case ↵Dominik Riebeling
for both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18125 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-28Update source files to include the header file for the functions they ↵Bertrik Sikken
implement, to make sure the header and the implementation is consistent (and fix it for a case where it wasn't). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17275 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-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
2007-12-09Unify the Ogg Vorbis and Ogg Speex metadata parsers.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15897 a1c6a512-1295-4272-9138-f99709370657
2007-12-04Put A52/AC3 metadata parser in its own file. Cosmetic changes in metadata.c. ↵Thom Johansen
Remove some unneeded headers from MPC metadata parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15874 a1c6a512-1295-4272-9138-f99709370657
2007-11-30Fix yellows I made the other day, gcc is an dumb, IMOBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15859 a1c6a512-1295-4272-9138-f99709370657
2007-11-28No functional changes, just coding tweaks for speed, codesize and styleBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15843 a1c6a512-1295-4272-9138-f99709370657
2007-11-28Fix redBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15841 a1c6a512-1295-4272-9138-f99709370657
2007-11-28Fix FS8069, because Nico_P made it easyBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15840 a1c6a512-1295-4272-9138-f99709370657
2007-11-23revise commit r15463 - we still get the immediate display of runtime data in ↵Robert Kukla
the wps, but avoid unnecessary calls while initialising/updating the database. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15781 a1c6a512-1295-4272-9138-f99709370657
2007-11-04Fix for FS#8082:Robert Kukla
runtime data fields are filled like any other fields in the mp3entry struct during the call to get_metadata(); HWCODEC still uses the old callback mechanism git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15463 a1c6a512-1295-4272-9138-f99709370657
2007-10-05get_metadata(): Clear the destination mp3entry to avoid having bogus ↵Nicolas Pennequin
pointers appear in it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14992 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-08-14Make get_metadata act on a struct mp3entry rather than a struct track_info.Nicolas Pennequin
This should make it easy to use a buffer handle to put the ID3 data in. The changes in get_metadata are mostly search and replace. The only thing it actually used to do on the struct track_info was set taginfo_ready to true. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Move WavPack metadata parsing to its own file and add handling of ↵Dave Bryant
non-standard sampling rates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14289 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-16split up the metadata parserMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13637 a1c6a512-1295-4272-9138-f99709370657
2007-06-16AAC: Add support for iTunes-style gapless playback.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13636 a1c6a512-1295-4272-9138-f99709370657
2007-06-08Correct the parsing of v3.97 Monkey's Audio files.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13595 a1c6a512-1295-4272-9138-f99709370657
2007-06-06Make v3.97 APE files work in RockboxDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13571 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-06-01Fixed bug in the WAV metadata parser: A long has 4 bytes...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13534 a1c6a512-1295-4272-9138-f99709370657
2007-05-28Add the possibility to store cuesheets in /.rockbox/cue. The code will look ↵Nicolas Pennequin
for a cuesheet there in case there wasn't one in the same folder as the audio file. This is to reduce the clutter created by one cuesheet per audio file in some places. Also some duplicate code was replaced by a function call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13508 a1c6a512-1295-4272-9138-f99709370657
2007-05-06Fix metadata reading for 64 bit sims. Closes FS#6690Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13335 a1c6a512-1295-4272-9138-f99709370657
2007-04-26AAC: More adjustments to how the frequency is read. Still not perfect, but ↵Magnus Holmgren
this is probably as good as it can get. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13274 a1c6a512-1295-4272-9138-f99709370657
2007-04-24AAC: Improve SBR detection, to fix incorrect frequency on some files (and ↵Magnus Holmgren
hopefully not break others :). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13255 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-13Fix an off-by-one bug when dealing with genres in MP4 files.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12754 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Remove unnecessary dependence, it doesn't make sense to check settings here.Adam Boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12630 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Try and parse Ogg 'date' tags. Will only work if your date tags start with ↵Dan Everton
the year (e.g. yyyy-MM-dd). Which should be most people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12622 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Allow compiling database tool again.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12593 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Clean up some left over junk.Adam Boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12564 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Add get_metadata() and year & comment tag support for SPC.Adam Boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12563 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-28correct commentRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12518 a1c6a512-1295-4272-9138-f99709370657
2007-02-28FS#5720 — improved meta data extraction from SID filesRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12515 a1c6a512-1295-4272-9138-f99709370657
2007-02-27Code Police: Remove tabs throught apps/ . Hopefully no actual code Jonathan Gordon
change git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Fixed the incorrect APE header format define cause parsing to fail.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12317 a1c6a512-1295-4272-9138-f99709370657