summaryrefslogtreecommitdiff
path: root/src/cue
AgeCommit message (Collapse)Author
2014-02-19cue/CueParser: move to playlist/Max Kellermann
2014-01-26CueParser: don't "move" the filenameMax Kellermann
This invalidated the std::string instance, and thus broke the CUE parser (commit 322b061632).
2014-01-13copyright year 2014Max Kellermann
2014-01-09DetachedSong: fork of struct SongMax Kellermann
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2014-01-08tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann
2013-12-03CueParser: use class TagBuilderMax Kellermann
2013-12-03CueParser: rename local variables "current_tag" to "tag"Max Kellermann
2013-12-03CueParser: rename "tag" to "header_tag"Max Kellermann
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann
2013-10-19Util/CharUtil: new library replacing g_ascii_isX()Max Kellermann
2013-10-17CueParser: use std::stringMax Kellermann
2013-10-15gcc.h: rename to Compiler.hMax Kellermann
2013-09-05Tag, ...: move to libtag.aMax Kellermann
2013-07-30tag: convert to C++Max Kellermann
2013-07-28song: convert header to C++Max Kellermann
2013-04-09string_util: convert to C++Max Kellermann
2013-04-09cue_parser: convert to C++Max Kellermann
2013-01-08song: don't use GLibMax Kellermann
2013-01-03cue_parser: fix CUE files with only one trackMax Kellermann
Track whether _finish() has been called, and deliver all partial results then. Fixes Mantis ticket 0003621.
2013-01-03cue_parser: add code commentsMax Kellermann
2013-01-03cue_parser: fix memory leakMax Kellermann
2012-08-25playlist/cue: map "PERFORMER" to "artist" or "album artist"Max Kellermann
Implements Mantis ticket 0003549.
2012-07-26cue_parser: support file types "MP3", "AIFF"Max Kellermann
These two strings are common "FILE" types.
2012-02-10cue_parser: new line based CUE sheet parserMax Kellermann
To replace libcue, the unmaintained and crashy library.
2011-05-09cue_tag: show CUE track numbersQball Cow
2010-04-01cue: fix code styleOrivej Desh
2010-03-28cue: prepend pregap to the beginning of the trackOrivej Desh
.. rather then append to the end of the previous one Cuebreakpoints from the cuetools package has three modes of operation, and the default is to append pregap (INDEX 00) to the end of the previous track. This is the behavior most compliant to the existing cue files. Here is the patch which fixes the issue. I borrowed bits of implementation from cuebreakpoints. I assumed that the whole audio file must be covered by head-to-head going tracks, which is how hardware CD players probably work. In cue_tag I changed rounding from rounding up to rounding down because the thing in mpd which calculates actual track duration (and current position) rounds it down, and I didn't want to see in my playlist values different from whose in a now-playing progress bar. I've compared the resultant mpd behaviour with "mplayer -ss MM:SS.MS" where the time was supplied by cuebreakpoints and noticed that mplayer started each track a bit earlier then mpd, though this was the same before the patch.
2010-03-28Merge release 0.15.9 from branch 'v0.15.x'Max Kellermann
Conflicts: NEWS configure.ac src/cue/cue_tag.c src/decoder/mpcdec_decoder_plugin.c src/player_thread.c
2010-03-17tag: added function tag_merge_replace()Max Kellermann
Like tag_merge(), but can deal with NULL parameters, and frees both tag objects.
2009-12-16cue_tag: added song duration supportMax Kellermann
Get duration from track_get_length().
2009-12-16cue_tag: check cd_get_track()!=NULLMax Kellermann
2009-12-16cue_tag: added function cue_tag()Max Kellermann
Merge code from cue_tag_file() and cue_tag_string().
2009-12-16cue_tag: merged code into cue_tag_merge()Max Kellermann
2009-12-16cue_tag: pass "const" string to cue_tag_string()Max Kellermann
2009-12-16cue_tag: changed runtime checks to assertionsMax Kellermann
It's illegal to pass NULL here. This should not be ignored silently.
2009-12-16cue_tag: fixed indent and code styleMax Kellermann
2009-12-16cue_tag: tag_new() cannot failMax Kellermann
Removed the NULL check.
2009-12-16cue_tag: include cleanupMax Kellermann
2009-11-12include config.h in all sourcesMax Kellermann
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-10-13tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann
2009-03-31Build tags from information in cue sheetsJochen Keil
With these methods a tag struct can be created from the cdtext information in a cue sheet. The methods depend on a cue parsing library. Reading from strings (char*) as well as from a file (FILE*) is supported.