aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_playlist.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-16input_stream: non-blocking I/OMax Kellermann1-15/+10
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.
2011-08-24input/soup: new input plugin based on libsoupMax Kellermann1-0/+10
To demonstrate the new I/O thread. libsoup is well-integrated into the GLib main loop, which made this plugin pretty easy to write. As a side effect, we have to initialize the I/O thread in all debug programs that use the input API.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-06-25test/dump_playlist: print open-ended rangeMax Kellermann1-1/+5
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-12/+9
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).
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-27song: added support for selecting a time rangeMax Kellermann1-0/+8
Added attributes start_ms, end_ms. This allows us to address a portion of a song file (important for CUE support). There is no support yet for storing these attributes in the state file.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-4/+11
2009-12-14input_plugin: method init() returns errors with GErrorMax Kellermann1-1/+6
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
2009-12-14input_stream: moved input_stream_global_init() to input_init.cMax Kellermann1-0/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
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-13song: renamed attribute "url" to "uri"Max Kellermann1-1/+1
2009-10-13test/dump_playlist: try playlist_list_open_uri() firstMax Kellermann1-21/+30
2009-10-13test/dump_playlist: parse a configuration fileMax Kellermann1-3/+11
2009-10-12playlist_plugin: new plugin API for playlist parsersMax Kellermann1-23/+26
Based on this API, we will add parsers for EXTM3U, PLS, ASX, last.fm radio and others. There is no integration into the MPD core yet. Right now, we have a command line test program. This is work in progress.
2009-04-13test: added run_input test programMax Kellermann1-0/+114