aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/DespotifyInputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-24Input*: move to input/Max Kellermann1-262/+0
2014-01-13input/despotify: change name to "despotify"Max Kellermann1-1/+1
The name "spt" didn't make much sense for this plugin.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08DespotifyUtils: return Tag, not pointerMax Kellermann1-5/+6
2014-01-08DespotifyUtils: pass const ds_track referenceMax Kellermann1-1/+1
2013-12-14input/despotify: don't log "eof" flag after setting itMax Kellermann1-1/+1
2013-12-14input/despotify: convert to classMax Kellermann1-45/+73
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-3/+2
Replaces GLib's g_str_has_prefix().
2013-10-28*: use nullptr instead of NULLMax Kellermann1-8/+8
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-6/+6
2013-10-23InputInternal: remove obsolete libraryMax Kellermann1-1/+0
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