aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/DespotifyInputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann1-1/+1
2013-10-15input/*: don't allocate attribute "mime"Max Kellermann1-1/+1
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
2013-10-02Log: new logging library APIMax Kellermann1-4/+5
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+2
Replaces GLib's GError.
2013-09-03input/{mms,despotify}: remove "seek" implementationMax Kellermann1-10/+2
Omitting it has the same effect as returning false unconditionally.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-7/+7
2013-07-30tag: convert to C++Max Kellermann1-6/+5
2013-01-28InputStream: add constructor/destructorMax Kellermann1-4/+2
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/despotify: add constructor/destructorMax Kellermann1-26/+33
2013-01-28input/despotify: rename classMax Kellermann1-10/+9
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-1/+1
2013-01-26input_stream: forward-declare the structMax Kellermann1-0/+1
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann1-2/+2
2013-01-21input,playlist/despotify: convert to C++Max Kellermann1-10/+18
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+5
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-14input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann1-0/+1
2011-03-29input: Add despotify input pluginSimon Kagstrom1-0/+226
For Spotify tracks. Uses a spt URI, so with mpc you can play tracks with e.g., mpc add spt://spotify:track:5qENVY0YEdZ7fiuOax70x1 mpc play Uses the pcm_decoder_plugin for the output