- 09 Jul, 2012 1 commit
-
-
Max Kellermann authored
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
-
- 12 Jun, 2012 1 commit
-
-
Max Kellermann authored
-
- 01 Mar, 2012 1 commit
-
-
Robert Vollmert authored
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/ .
-
- 12 Feb, 2012 2 commits
-
-
Max Kellermann authored
The FLAC playlist plugin has been superseded by the "embcue" playlist plugin, which can read the embedded CUE sheets of all formats.
-
Max Kellermann authored
Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
-
- 09 Feb, 2012 1 commit
-
-
Max Kellermann authored
To replace libcue, the unmaintained and crashy library.
-
- 16 Sep, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 29 Mar, 2011 1 commit
-
-
Simon Kagstrom authored
For spotify playlists or tracks. Uses a spt uri, so with mpc you can add playlists with mpc load spt://spotify:user:simon.kagstrom:playlist:3SUwkOe5VbVHysZcidEZtH
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 23 Dec, 2010 1 commit
-
-
Max Kellermann authored
-
- 11 Oct, 2010 1 commit
-
-
Max Kellermann authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
-
- 25 Jun, 2010 3 commits
-
-
Max Kellermann authored
If the MIME type of a stream contains a semicolon, remove it and the text after it to probe for a playlist plugin.
-
Max Kellermann authored
Merged both loops into playlist_list_open_stream(). This is needed because playlist_list_open_stream() needs to know the MIME type, which is only known after the stream has become "ready".
-
Aaron Griffith authored
Fixes an assertion failure in the input_stream_seek() call.
-
- 01 Jun, 2010 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
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.
-
Max Kellermann authored
-
- 06 Jan, 2010 1 commit
-
-
Max Kellermann authored
This playlist plugin handles FLAC files with embedded CUE sheets.
-
- 01 Jan, 2010 2 commits
-
-
Max Kellermann authored
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).
-
Avuton Olrich authored
-
- 27 Dec, 2009 1 commit
-
-
Max Kellermann authored
Without this, seeking may cause MPD to crash.
-
- 26 Dec, 2009 1 commit
-
-
Max Kellermann authored
-
- 16 Dec, 2009 3 commits
-
-
Max Kellermann authored
This plugin is the groundwork for MPD's future generic CUE sheet support. That's not complete yet, e.g. there is no way for a playlist plugin to address an arbitrary position within a music file.
-
Max Kellermann authored
When no plugin matches the URI scheme, try the file name suffix.
-
Max Kellermann authored
Use open_uri() / open_stream() only after checking that they are implemented.
-
- 15 Dec, 2009 1 commit
-
-
Max Kellermann authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 10 Nov, 2009 1 commit
-
-
Max Kellermann authored
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
-
- 06 Nov, 2009 2 commits
-
-
Max Kellermann authored
No CamelCase. Use bool instead of int. Make both arguments mandatory.
-
Max Kellermann authored
Added an interface for loading playlists from a local file.
-
- 05 Nov, 2009 2 commits
-
-
Max Kellermann authored
This new plugin parses extm3u files. Files without the "#EXTM3U" header are still parsed by the plain old "m3u" plugin.
-
Max Kellermann authored
If one plugin has failed to open the playlist, it may have consumed a part of the stream already. This may lead to a failure in all following plugins. Fix: rewind the stream before each open() call.
-
- 21 Oct, 2009 1 commit
-
-
Max Kellermann authored
Based on the XSPF playlist plugin.
-
- 14 Oct, 2009 1 commit
-
-
Qball Cow authored
-
- 13 Oct, 2009 4 commits
-
-
Max Kellermann authored
This plugin will replace the last.fm input plugin, once the playlist API is integrated into MPD.
-
Max Kellermann authored
-
Max Kellermann authored
This patch completes the configuration support.
-
Max Kellermann authored
Prevent access on uninitialized variable if the plugin list is empty.
-
- 12 Oct, 2009 1 commit
-
-
Max Kellermann authored
Based on this API, we will add parsers for EXTM3U, PLS, ASX, last.fm radio and others. There is no integration into the MPD core yet. Right now, we have a command line test program. This is work in progress.
-