aboutsummaryrefslogtreecommitdiff
path: root/src/playlist_queue.c
Commit message (Collapse)AuthorAge
* playlist_queue: add start/end_index parametersMax Kellermann2012-02-09
|
* input_stream: non-blocking I/OMax Kellermann2011-09-16
| | | | | | | | | 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.
* playlist: move enum playlist_result to playlist_error.hMax Kellermann2011-09-11
| | | | Reduce header dependencies.
* copyright year 2011Max Kellermann2011-01-29
|
* player_control: removed the global variable "pc"Max Kellermann2011-01-10
| | | | | | | Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support.
* playlist_song: add flag "secure"Max Kellermann2010-12-23
| | | | | | Optionally allow all local files. "Insecure" mode is used for printing playlists.
* playlist_queue: use playlist_open_any()Max Kellermann2010-06-25
|
* playlist_queue: simplify error handlerMax Kellermann2010-06-25
| | | | Return early on error, save one level of indent.
* playlist_list: playlist_list_open_path() returns input_streamMax Kellermann2010-06-01
| | | | | | | Memory leak fix. The input_stream object passed to playlist_list_open_stream_suffix() must be closed by the caller - this however never happens in playlist_list_open_path(), because it does not return it to the caller.
* playlist_queue: moved code to playlist_mapper.cMax Kellermann2010-02-08
|
* playlist_queue: moved check_translate_song() to playlist_song.cMax Kellermann2010-02-08
|
* playlist_queue: convert absolute pathsMax Kellermann2010-01-06
| | | | Accept absolute paths if they point into the music directory.
* playlist_queue: use the "uri" variable earlierMax Kellermann2010-01-06
| | | | Preparation for the next patch.
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-01
| | | | | | | | 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-31
|
* playlist_queue: resolve relative URIs, database lookupMax Kellermann2009-12-27
| | | | | | Prepend the playlist's base URI to relative song URIs. Look up songs in the database (if the URI refers to a local song file). Merge existing database metadata with metadata from the playlist plugin.
* playlist_queue: load playlists from music directoryMax Kellermann2009-12-27
| | | | | Try the playlist directory first, and if that file does not exist, try the same relative path within the music directory.
* playlist_queue: pass const string to playlist_open_path_into_queue()Max Kellermann2009-12-27
|
* playlist_queue: try open by URI firstMax Kellermann2009-12-26
| | | | If that fails, try opening the file as a stream.
* input_stream: return errors with GErrorMax Kellermann2009-12-15
|
* include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | 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.
* playlist_queue: use playlist plugins to load from playlist_directoryMax Kellermann2009-11-06
| | | | | | | | This patch allows the client to load a playlist file from the playlist directory with a plugin. This can be used with the "load" command, but the client has to pass the file name including the suffix. We will probably use the music directory in the future, to support playlist files inside the music directory.
* playlist_queue: moved code to playlist_open_remote_into_queue()Max Kellermann2009-11-06
|
* command: "load" supports remote playlists (m3u, xspf, lastfm://)Max Kellermann2009-10-13
This patch integrates the playlist plugin API to the MPD core. We'll be able to do much more in the future with that API, that's just the beginning.