aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann1-3/+3
The old struct config_param remains only for top-level string options.
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-05playlist/soundcloud: drop support for libyajl1Max Kellermann1-35/+4
Require the version 2 which has a more sane API.
2014-10-25SongSticker, playlist/soundcloud: add missing stdlib.h includeMax Kellermann1-0/+1
For free().
2014-10-25playlist/SoundCloud: don't use GLib for string allocationMax Kellermann1-31/+31
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-1/+1
2014-05-11InputStream: add virtual destructorMax Kellermann1-2/+2
Replaces the method Close().
2014-01-24Input*: move to input/Max Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann1-1/+1
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann1-2/+2
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-1/+0
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-5/+3
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2014-01-08tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann1-1/+1
2014-01-07playlist/soundcloud: parse URI without copying itMax Kellermann1-19/+11
2014-01-07playlist/soundcloud: change scheme check to assertionMax Kellermann1-18/+2
The MPD core takes care for checking the scheme.
2014-01-07playlist/soundcloud: eliminate nullptr checks before g_free()Max Kellermann1-8/+4
2014-01-04Added application key for soundcloud pluginJames McGlashan (DarkFox)1-1/+2
2014-01-04Added user and search paramaters for SoundCloud pluginJames McGlashan (DarkFox)1-0/+8
2014-01-02http -> https for SoundCloud pluginJames McGlashan (DarkFox)1-6/+6
2013-12-29InputStream: add static method OpenReady()Max Kellermann1-3/+2
Merge some duplicate code.
2013-12-14playlist/soundcloud: fix coding styleMax Kellermann1-15/+21
2013-12-14playlist/soundcloud: make variables more localMax Kellermann1-21/+17
2013-12-03playlist/soundcloud: use class TagBuilderMax Kellermann1-5/+5
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-2/+3
Replaces GLib's g_str_has_prefix().
2013-10-28*: use nullptr instead of NULLMax Kellermann1-25/+25
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-2/+2
2013-10-15playlist/soundcloud: use std::stringMax Kellermann1-14/+14
2013-10-14Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann1-1/+1
Micro-optimization.
2013-10-02Log: new logging library APIMax Kellermann1-7/+14
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-05PlaylistPlugin: add interface SongEnumeratorMax Kellermann1-5/+4
Replaces struct playlist_provider.
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-9/+8
2013-09-04util/Error: new error passing libraryMax Kellermann1-13/+12
Replaces GLib's GError.
2013-09-03input_stream.h: rename to InputLegacy.hxxMax Kellermann1-1/+1
2013-08-04PlaylistPlugin: pass config_param referenceMax Kellermann1-3/+2
2013-07-30tag: convert to C++Max Kellermann1-4/+4
2013-07-28song: convert header to C++Max Kellermann1-3/+3
2013-01-29playlist/memory: use std::forward_list instead of GSListMax Kellermann1-4/+5
2013-01-29playlist/{asx,rss,soundcloud,xspf}: merge code to MemoryPlaylistProviderMax Kellermann1-39/+4
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-5/+6
2013-01-27playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-26playlist/*: convert to C++Max Kellermann1-9/+12
2012-03-22playlist/soundcloud: libyajl2 uses size_t for string lengthsMax Kellermann1-2/+14
Fixes build failure on 64 bit.
2012-03-19playlist/soundcloud: support libyajl2Robert Vollmert1-5/+21
[mk: backwars compatibility and autoconf check]
2012-03-01playlist/soundcloud: use config_dup_block_string()Max Kellermann1-5/+3
2012-03-01A soundcloud playlist plugin.Robert Vollmert1-0/+422
Requires YAJL to build, and this doesn't include the necessary automake changes. Can be built using ./configure CFLAGS="-I/usr/include/yajl" LIBS="-lyajl" --enable-soundcloud Add the following to your config: playlist_plugin { name "soundcloud" enabled "true" apikey "c4c979fd6f241b5b30431d722af212e8" } Then you can stream from soundcloud using calls like: mpc load soundcloud://track/<track-id> mpc load soundcloud://playlist/<playlist-id> mpc load soundcloud://url/http://soundcloud.com/some/track/or/playlist For the last case, you can leave off the http:// or http://soundcloud.com/ .