summaryrefslogtreecommitdiffstats
path: root/apps/metadata.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-18Build librbcodec with DSP and metadata.Sean Bartell1-641/+0
All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
2011-12-22Rename 'mp3entry.embed_cuesheet' to 'mp3entry.embedded_cuesheet' and pull ↵Alexander Levin1-2/+2
out a field (FS#12473) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31406 a1c6a512-1295-4272-9138-f99709370657
2011-12-16FS #12419 : Support for embedded cuesheets.Nick Peskett1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31321 a1c6a512-1295-4272-9138-f99709370657
2011-12-14FS#12378 : Remove various unused code, and comment out some unused code and ↵Boris Gjenero1-0/+2
data for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Extension entries need an extra nul byte.Thomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30297 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Redo 30225 differently to not break the audio formats order for skins.Thomas Martitz1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30296 a1c6a512-1295-4272-9138-f99709370657
2011-08-07Submit initial patch from FS#12176. Adds support for several new game music ↵Andree Buschmann1-0/+24
formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
2011-06-19Fix non-working .talk clips on hwcodec (follow-up to r28672 and r29432): ↵Jens Arnold1-5/+11
.talk clips must be evaluated as MP3. Also fix supported formats: hwcodec doesn't support MP1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30019 a1c6a512-1295-4272-9138-f99709370657
2011-04-27Commit FS#12069 - Playback rework - first stages. Gives as thorough as ↵Michael Sevakis1-2/+128
possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
2011-02-27Fix corrupted metadata on manual track change on hwcodec.Thomas Martitz1-1/+1
r28672 removed a memset and strlcpy in mp3info() code path which exposed this bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29432 a1c6a512-1295-4272-9138-f99709370657
2011-02-24Use macro for better readability of adjust_mp3entry().Andree Buschmann1-27/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29390 a1c6a512-1295-4272-9138-f99709370657
2011-02-24FS#11964. Rework replaygain handling to save metadata buffer and binsize. ↵Andree Buschmann1-6/+0
Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
2011-02-11autoresume: Match full directory path names only in autoresumable()Michael Hohmuth1-22/+38
Removed genre-tag matching (considered too fragile for real-world use). Removed substring matching for file names. To avoid unintended matches, the search pattern now must match the file's full dir name (or a parent directory thereof), anchored in the root directory. Search strings now must be delimited with ":" rather than ",". The default list of directories is "/podcast:/podcasts" (case-insensitive). Made implementation somewhat more efficient (don't use strtok -> no need to copy the string to private storage (stack) before tokenizing it). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29280 a1c6a512-1295-4272-9138-f99709370657
2011-02-08Fix red: Do not compile autoresume() function for the database tool.Michael Hohmuth1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29252 a1c6a512-1295-4272-9138-f99709370657
2011-02-08Add option to resume next track on automatic track changeMichael Hohmuth1-0/+47
Move autoresume setting into its own menu. Add option to customize which tracks should be resumed on automatic track change. Tracks can be selected based on their their file location or genre tag (comma-separated list of filename / genre substrings). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29251 a1c6a512-1295-4272-9138-f99709370657
2011-02-03Follow up on r29199. Move new codec types to the end of the list.Andree Buschmann1-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29203 a1c6a512-1295-4272-9138-f99709370657
2011-02-03Submit FS#11918: Add 2 more codec types to be able to differentiate between ↵Andree Buschmann1-3/+9
AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
2010-12-11Commit FS#11776 by Jonas Haggqvist. Enables option to log building the ↵Michael Giacomelli1-0/+14
database in order to trouble shoot crashes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28789 a1c6a512-1295-4272-9138-f99709370657
2010-11-26Re-add the lseek to the beginning of the file which was accidentally removed.Thomas Martitz1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28674 a1c6a512-1295-4272-9138-f99709370657
2010-11-26Change how all the metadata parsers are read from a giant swich/case to ↵Thomas Martitz1-288/+80
function pointers via array index. Also unify the api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28672 a1c6a512-1295-4272-9138-f99709370657
2010-08-07WMA Voice now plays and seeks in the sim. The code is still in floating ↵Mohamed Tarek1-1/+4
point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27744 a1c6a512-1295-4272-9138-f99709370657
2010-05-13add True Audio (TTA) codecYoshihisa Uchida1-0/+11
decoding speed iPod video ~153% But in some players, the decoding speed is not enough. (e.g., H180 52.4% (thanks amiconn), H300 55.09% (thanks n1s)) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25994 a1c6a512-1295-4272-9138-f99709370657
2010-05-09nomsgMohamed Tarek1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25922 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz1-2/+1
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add wave64(.w64) codec (FS#11022)Yoshihisa Uchida1-0/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24959 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add vox (Dialogic telephony formats) codec add. (FS#11021)Yoshihisa Uchida1-0/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24956 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add Sun Audio codec. (FS#10433)Yoshihisa Uchida1-0/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24955 a1c6a512-1295-4272-9138-f99709370657
2010-02-24add SMAF codec (.mmf extension)(FS#10432)Yoshihisa Uchida1-0/+11
This codec supports only wave data (ADPCM and PCM). It does not support MIDI, picture, and movie. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24878 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Initial support for ATRAC3 streams in wav containers. Mohamed Tarek1-2/+2
Current state : - Playback and seeking are possible. - We now support ATRAC3 in any of its possible containers (wav/at3, oma/aa3, and rm/ra). TODO : - Fix joint-stereo decoding for ATRAC3 - the decoder currently produces lots of glitches. - Rename atrac3_oma.c since it works for both oma and wav containers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24689 a1c6a512-1295-4272-9138-f99709370657
2010-02-12Add support for Sony OMA file format. Currently only supports ATRAC3 ↵Mohamed Tarek1-0/+10
(without DRM), and seeks. Tested on sansa e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24615 a1c6a512-1295-4272-9138-f99709370657
2010-02-06Enable 12 other 8bit Atari file formats which the asap codec already ↵Dominik Wenger1-1/+55
supports. No metadata available for them. New formats: .cmc / .cm3 / .cmr / .cms / .dmc / .dlt / .mpd / .mpt / .rmt / .tmc / .tm8 /.tm2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24529 a1c6a512-1295-4272-9138-f99709370657
2010-02-04sync asap codec to ASAP 2.1Dominik Wenger1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24511 a1c6a512-1295-4272-9138-f99709370657
2009-10-31FS#10739: playback.c code splitJeffrey Goode1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23444 a1c6a512-1295-4272-9138-f99709370657
2009-08-30Accept FS#10570 by Jason Yu. Adds metadata parsing for NSF files.Michael Giacomelli1-10/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22557 a1c6a512-1295-4272-9138-f99709370657
2009-08-14Support for playback of atrac3 audio in rm, in sim.Mohamed Tarek1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22311 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Rename codecs/dnet.c to codecs/a52_rm.cMohamed Tarek1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22158 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Add support for AC3 audio in RM container.Mohamed Tarek1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22155 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Metadata parser: make adjust_mp3entry() not depend on id3_is_genre_string(), ↵Maurus Cuelenaere1-1/+2
so there's no need to compare the string to the whole genre array (thanks to Mikael Magnusson) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22105 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Change the naming scheme for codecs found in different containers.Mohamed Tarek1-7/+7
Like changing AFMT_AAC to AFMT_MP4_AAC and AFMT_RAAC to AFMT_RM_AAC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22066 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Fix a bug spotted by Maurus Cuelenaere; rockbox crashed on viewing the ↵Mohamed Tarek1-2/+2
porperties of files with unsupported extensions due to the null ext list in raac. Also add support for audio-only rmvb files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22065 a1c6a512-1295-4272-9138-f99709370657
2009-07-25Adding support for playback of aac audio in rm container, with seeking.Mohamed Tarek1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22031 a1c6a512-1295-4272-9138-f99709370657
2009-07-20rework cuesheet support:Jonathan Gordon1-7/+0
swcodec: search for a .cue during buffering (with the possibility of adding embedded cuesheets later) hwcodec: search for a .cue when the id3 info for the current track is requested for the first time (disk should be spining so non issue) major beenfit from this is simplofy cuesheet handling code a bit... if mp3entry.cuesheet != NULL then there is a valid cuesheet.. no need to worry about if its enabled and preloaded. There is the possibility of putting the next/prev subtrack handling inside the playback code (as well as the id3 updating stuff (see FS#9789 for more info), but thats probably not a good idea. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21978 a1c6a512-1295-4272-9138-f99709370657
2009-07-14FS#10080Nils Wallménius1-1/+1
* Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Adding support for rm playback. Only cook codec is supported for now and no ↵Mohamed Tarek1-0/+11
seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
2008-12-15Moved database builder into a separate directory, and gave it its' own ↵Björn Stenberg1-0/+2
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 Chapman1-1/+1
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 Arnold1-1/+1
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 Stenberg1-2/+169
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 Riebeling1-9/+2
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 Wenger1-1/+11
song. So subSongs are ignored. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657