aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_update.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder_plugin: scan tags with callback tableMax Kellermann2012-02-111-6/+15
| | | | | Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
* input_stream: non-blocking I/OMax Kellermann2011-09-161-3/+15
| | | | | | | | | Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
* fix common misspellingsJonathan Neuschäfer2011-03-311-1/+1
| | | | | | | These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-011-9/+8
| | | | | | | | Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* decoder_plugin: added method stream_tag()Max Kellermann2009-12-311-0/+26
| | | | | This is like tag_dup(), but works with an input_stream object instead of a file path.
* song_update: use decoder_plugin_tag_dup()Max Kellermann2009-12-311-1/+1
| | | | Minor code simplification.
* added missing config.h includes for extended LFS supportMax Kellermann2009-11-111-0/+1
| | | | | All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
* decoder_list: pass previous plugin pointer to lookup functionsMax Kellermann2009-11-071-2/+2
| | | | Remove the static integer hack, that's not thread safe and sucks.
* mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ...Max Kellermann2009-10-201-1/+1
| | | | | Try to be as portable as possible, use GLib path name functions and macros.
* song: renamed attribute "url" to "uri"Max Kellermann2009-10-131-2/+2
|
* song: moved code to song_update.cMax Kellermann2009-10-121-0/+172
Moved all the code which depends on the decoder plugins to a separate source. That allows leaner test programs.