Hi porters, this patch adds support for soundcloud urls to mpd, which are then played like normal files. Works for me on amd64 with e.g.
$ mpc load soundcloud://track/219957965 $ mpc load soundcloud://track/a-sagittariuns-telepathic-6 $ mpc load soundcloud://playlist/a-sagittariuns-telepathic No further config is required, the api key is already built in in the plugin code. Sent this to the maintainer ~2 weeks ago, but got no response so far. Cheers Nils Index: Makefile =================================================================== RCS file: /cvs/ports/audio/mpd/Makefile,v retrieving revision 1.76 diff -u -r1.76 Makefile --- Makefile 22 Jun 2015 08:09:28 -0000 1.76 +++ Makefile 4 Sep 2015 19:24:32 -0000 @@ -3,6 +3,7 @@ BROKEN-hppa = no atomic ops COMMENT = Music Player Daemon DISTNAME = mpd-0.19.10 +REVISION = 0 CATEGORIES = audio HOMEPAGE = http://www.musicpd.org/ MAINTAINER = David Coppa <dco...@openbsd.org> @@ -17,7 +18,7 @@ m mikmod mp3lame mpcdec mpdclient ogg \ opus pthread samplerate shout sndfile \ sndio speex sqlite3 theora vorbis \ - vorbisenc vorbisfile z + vorbisenc vorbisfile yajl z MASTER_SITES = http://www.musicpd.org/download/mpd/stable/ @@ -41,6 +42,7 @@ audio/opus \ devel/glib2 \ devel/libaudiofile \ + devel/libyajl \ graphics/ffmpeg \ net/curl \ net/libshout \ @@ -69,7 +71,6 @@ --disable-sidplay \ --disable-shine-encoder \ --disable-smbclient \ - --disable-soundcloud \ --disable-soxr \ --disable-systemd-daemon \ --disable-twolame-encoder \ @@ -91,6 +92,7 @@ --enable-pipe-output \ --enable-shout \ --enable-sndfile \ + --enable-soundcloud \ --enable-sqlite \ --enable-vorbis \ --enable-vorbis-encoder \