aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_list.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-2/+4
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-27playlist_list: wait for the input stream to become readyMax Kellermann1-0/+10
Without this, seeking may cause MPD to crash.
2009-12-26playlist_list: use uri_get_suffix()Max Kellermann1-4/+2
2009-12-16playlist: added CUE playlist pluginMax Kellermann1-0/+4
This plugin is the groundwork for MPD's future generic CUE sheet support. That's not complete yet, e.g. there is no way for a playlist plugin to address an arbitrary position within a music file.
2009-12-16playlist_list: support URI suffix matchMax Kellermann1-2/+54
When no plugin matches the URI scheme, try the file name suffix.
2009-12-16playlist_list: check if open method is presentMax Kellermann1-2/+6
Use open_uri() / open_stream() only after checking that they are implemented.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-4/+13
2009-11-12include config.h in all sourcesMax Kellermann1-1/+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-11-10configure.ac: require GLib 2.12Max Kellermann1-0/+12
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
2009-11-06utils: renamed stringFoundInStringArray()Max Kellermann1-7/+8
No CamelCase. Use bool instead of int. Make both arguments mandatory.
2009-11-06playlist_list: added function playlist_list_open_path()Max Kellermann1-0/+36
Added an interface for loading playlists from a local file.
2009-11-06playlist: added extm3u pluginMax Kellermann1-0/+2
This new plugin parses extm3u files. Files without the "#EXTM3U" header are still parsed by the plain old "m3u" plugin.
2009-11-06playlist_list: rewind the stream before opening the playlistMax Kellermann1-0/+9
If one plugin has failed to open the playlist, it may have consumed a part of the stream already. This may lead to a failure in all following plugins. Fix: rewind the stream before each open() call.
2009-10-21playlist: new ASX playlist pluginMax Kellermann1-0/+2
Based on the XSPF playlist plugin.
2009-10-15Add PLS ParserQball Cow1-0/+2
2009-10-13playlist: added plugin for last.fm radioMax Kellermann1-0/+5
This plugin will replace the last.fm input plugin, once the playlist API is integrated into MPD.
2009-10-13playlist: added XSPF pluginMax Kellermann1-0/+2
2009-10-13playlist_list: pass configuration to playlist pluginsMax Kellermann1-2/+40
This patch completes the configuration support.
2009-10-13playlist_list: initialize the "playlist" variableMax Kellermann1-1/+1
Prevent access on uninitialized variable if the plugin list is empty.
2009-10-12playlist_plugin: new plugin API for playlist parsersMax Kellermann1-0/+146
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.