summaryrefslogtreecommitdiff
path: root/apps/metadata.c
AgeCommit message (Collapse)Author
2006-05-01Applied patch 2917: Fix retrieval of total sample count in get_vorbis_metadata.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9850 a1c6a512-1295-4272-9138-f99709370657
2006-04-11Minor fix to metadata fetching, the track-info.filesize is not populated at ↵Brandon Low
this point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9600 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Initial version of tagcache! There are still some bugs in the engineMiika Pekkarinen
and much more problems with the UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-05Musepack files are always VBR.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8910 a1c6a512-1295-4272-9138-f99709370657
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
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-12-01Set appropriate codec type for .m4a files (ALAC or AAC) inside ↵Dave Chapman
get_metadata(). probe_file_format() is no longer an exported function. Make get_metadata() return false if it can not read the metadata - on the assumption that the codec will also fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8118 a1c6a512-1295-4272-9138-f99709370657
2005-12-01iRiver: Fixed several problems with playback on track skipping & loading:Miika Pekkarinen
* Correctly detecting codec type from metadata. * Skipping incorrect tracks correctly if there are more than one unloadable track. * Fixed internal ram skipping when codec switching is required. * Fixed hang if no files in playlist is playable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8116 a1c6a512-1295-4272-9138-f99709370657
2005-11-13Shorten updates from Mark Arigo: calculate average bitrate, skip id3v2 tags ↵Dave Chapman
and remove debugf definition from codec git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7840 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-05Added ID3v2 skipping for Musepack files. Switched ReplayGain strings to use ↵Thom Johansen
toc buffer instead of id3v2buf, since the last collided with the APE tag reading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7757 a1c6a512-1295-4272-9138-f99709370657
2005-11-04Added proper metadata parsing for musepack files, including ReplayGain.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7752 a1c6a512-1295-4272-9138-f99709370657
2005-11-02Make the m4a parser happier with Nero-encoded .mp4 files. This still needs ↵Dave Chapman
more work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7728 a1c6a512-1295-4272-9138-f99709370657
2005-10-31Initial check-in of AAC codec. Currently only recognises the .mp4 extension ↵Dave Chapman
and is not yet capable of realtime operation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7706 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-10-22Seeking support for AC3/A52 files. We assume they are always CBR.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
2005-10-10Not finding an APE tag for a Musepack file isn't fatal.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7618 a1c6a512-1295-4272-9138-f99709370657
2005-10-10Added support for APE tags in Musepack files.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7609 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman
letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-09-27Fix the read_uint32be function - it was overwriting before saving parts of ↵Jonas Häggqvist
the int. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7565 a1c6a512-1295-4272-9138-f99709370657
2005-09-24Deal with new "edts" tag in iTunes 5 encoded files - this fixes metadata ↵Dave Chapman
reading and seeking in new ALAC files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7555 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Fix bug in read_uint32be causing simulator warningDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7550 a1c6a512-1295-4272-9138-f99709370657
2005-09-22First version of ALAC (Apple Lossless) decoderDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7547 a1c6a512-1295-4272-9138-f99709370657
2005-09-22iriver: proper wav file handling by Frederic Devernay (patch #1245261). ↵Magnus Holmgren
Adapted the metadata part to the new metadata.c, and did a few minor changes in the codec. Some of the file format checks in the codec should IMHO be moved to metadata.c, but I left that for later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7542 a1c6a512-1295-4272-9138-f99709370657
2005-09-22iriver: Metadata code cleanup: 1) Remove 4k static buffer. 2) Generalized ↵Magnus Holmgren
tag parsing, so APE and Vorbis tags can share some code. 3) Code size reduction (800+ bytes). 4) Better UTF-8 parser (I hope...). 5) More consistent return value on errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7539 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-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-07-28And fix that red build too...Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7255 a1c6a512-1295-4272-9138-f99709370657
2005-07-28Fixed a bug that prevented the last tag in a flac file from being read.Ryan Jackson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7254 a1c6a512-1295-4272-9138-f99709370657
2005-07-28Added comments, Replay Gain, and resume/bookmarks for FLAC.Ryan Jackson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7253 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-25Added ReplayGain support to WavPack, including a small fix to dsp.cDave Bryant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7237 a1c6a512-1295-4272-9138-f99709370657
2005-07-24ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.Magnus Holmgren
Note that there is a small delay from leaving a setting until the change can be heard (due to audio data buffering). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-15Added another call to mcf5249_init_mac in ov_pcm_seek, just in case. Fixed ↵Ryan Jackson
tag corruption bug and allowed non-numeric characters in year and tracknum tags. Added support for composer tag git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7168 a1c6a512-1295-4272-9138-f99709370657
2005-07-05(1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for ↵Christi Scarborough
left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 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-07-05Patch #1232549 by Ryan Jackson, adds seeking and comments to Vorbis playbackLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7025 a1c6a512-1295-4272-9138-f99709370657
2005-06-27Allow WavPack to use new sampling rate converterDave Bryant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6888 a1c6a512-1295-4272-9138-f99709370657
2005-06-19Added code to handle APEv2 tags for WavPack files, although this should beDave Bryant
applicable to Musepack files (and even MP3 files sometimes). Perhaps this should be integrated with the ID3 tag stuff at some point? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6769 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-18Proper MPEG layer 1 support.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6745 a1c6a512-1295-4272-9138-f99709370657
2005-06-14Add A52/AC3 metadata parsing (samplerate, bitrate, track length)Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6715 a1c6a512-1295-4272-9138-f99709370657
2005-06-14Move metadata parsing code from playback.c into metadata.cDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6714 a1c6a512-1295-4272-9138-f99709370657