aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistPrint.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-9/+3
2013-01-27playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-26playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-07Playlist: convert functions to methodsMax Kellermann1-2/+1
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-06queue: convert all functions to methodsMax Kellermann1-4/+4
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-11/+11
2013-01-03client: convert to C++Max Kellermann1-1/+1
2013-01-03database.h: eliminate db_*_song()Max Kellermann1-14/+19
Use the C++ API.
2013-01-02*_print: convert to C++Max Kellermann1-1/+1
2013-01-02playlist_{any,song,queue}: convert to C++Max Kellermann1-3/+3
2012-09-28main: use C++ compilerMax Kellermann1-1/+1
2012-09-28PlaylistFile: use std::list instead of GPtrArrayMax Kellermann1-9/+9
2012-09-28stored_playlist, playlist_save: use C++ compilerMax Kellermann1-1/+1
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-3/+3
2012-08-29playlist_print: rename to PlaylistPrint.cxxMax Kellermann1-3/+6
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-2/+2
Allow the plugin to allocate the GetSong() return value.
2012-08-16playlist_print: fix memory leakMax Kellermann1-0/+3
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-7/+0
Merge locate_song_search() and locate_song_match().
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+12
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-09-11stored_playlist: return GError, code is playlist_resultMax Kellermann1-2/+3
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client.
2011-09-11playlist: move enum playlist_result to playlist_error.hMax Kellermann1-0/+1
Reduce header dependencies.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-12-23playlist_song: add flag "secure"Max Kellermann1-1/+1
Optionally allow all local files. "Insecure" mode is used for printing playlists.
2010-06-25playlist_print: use playlist_open_any()Max Kellermann1-2/+2
Allow printing remote playlists with the commands "listplaylist" and "listplaylistinfo".
2010-06-01playlist_list: playlist_list_open_path() returns input_streamMax Kellermann1-1/+7
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.
2010-02-08command: "listplaylist" dumps playlist filesMax Kellermann1-0/+37
Same for "listplaylistinfo".
2009-12-31Update copyright notices.Avuton Olrich1-1/+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-07-28playlist: CamelCaseIsBadCourtney Cavin1-1/+1
Renamed all playlist functions to non-CamelCase.
2009-03-13all: Update copyright header.Avuton Olrich1-3/+4
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-02-04playlist_print: added wrappers for printing the queueMax Kellermann1-0/+85
Hide the details of the playlist behind wrapper functions.
2009-02-04playlist_print: use bool instead of intMax Kellermann1-6/+6
Return true on success, instead of 0. Converted the "detail" parameter to bool.
2009-02-04playlist_print: no CamelCaseMax Kellermann1-2/+3
Renamed one function.
2009-01-23playlist: moved PlaylistInfo() to playlist_print.cMax Kellermann1-23/+29
PlaylistInfo() (notice the capital 'P') sends a stored playlist to the client. Move it to a separate library, where all the code which glues the playlist and the MPD protocol together will live.
2009-01-19sticker: added song sticker libraryMax Kellermann1-9/+24
This is a wrapper for the backend sticker library. It provides several glue functions which take a song object instead of type/uri.
2009-01-07pcm_prng: renamed prng() to pcm_prng()Max Kellermann1-1/+2
2009-01-03pcm_utils: use the custom PRNG for volume ditheringMax Kellermann1-11/+9
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
2008-12-30listen: moved redirect_stdin() to daemon.cMax Kellermann1-0/+6
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
2008-12-30main: moved daemonize() to daemon.cMax Kellermann1-12/+5
2008-12-27cmdline: use gboolean instead of intMax Kellermann1-4/+6
Prepare for the migration to the GLib option parser, which uses gboolean for flags.
2008-12-27moved command line parser to cmdline.cMax Kellermann1-7/+13
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-08don't include os_compat.hMax Kellermann1-1/+1
When there are standardized headers, use these instead of the bloated os_compat.h.
2008-09-09output: moved code from audioOutput.c to output_control.cMax Kellermann1-19/+0
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later).
2008-09-09output: removed keepAudioOutputAlive() declarationMax Kellermann1-1/+0
This function is declared, but is neither used nor implemented.
2008-09-08output: static audio_output_plugin list as arrayMax Kellermann1-17/+0
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.
2008-09-07output: renamed typedef AudioOutput to struct audio_outputMax Kellermann1-21/+22
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies.
2008-09-07output: added output_api.hMax Kellermann1-64/+3
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins.