Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet radio: Unsupported URI scheme #599

skidoo23 opened this issue Jul 6, 2019 · 1 comment


None yet
1 participant
Copy link

commented Jul 6, 2019

Bug report

MPD does not add webstreams to queue.

Describe the bug

$ mpc -h localhost add - same with GMPC.

Expected Behavior

Add stream to playlist.

Actual Behavior

error adding Unsupported URI scheme


Music Player Daemon 0.22~git (v0.21.11-433-g326c6ae61)
Copyright 2003-2007 Warren Dukes
Copyright 2008-2018 Max Kellermann
This is free software; see the source for copying conditions. There is NO

Database plugins:
simple proxy

Storage plugins:
local udisks

Neighbor plugins:

Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[hybrid_dsd] m4a
[faad] aac
[mpcdec] mpc
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
[sidplay] sid mus str prg P00
[wildmidi] mid
[fluidsynth] mid
[adplug] amd d00 hsc laa rad raw sa2
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz


Tag plugins:

Output plugins:
null fifo pipe alsa httpd

Encoder plugins:
null opus lame flac

Archive plugins:
[bz2] bz2
[zzip] zip
[iso] iso

Input plugins:
file archive alsa curl ffmpeg mms

Playlist plugins:
extm3u m3u pls xspf asx rss flac cue embcue

file:// alsa:// ftp:// ftps:// gopher:// http:// https:// mms:// mmsh:// mmst:// mmsu:// rtmp:// rtmps:// rtmpt:// rtmpts:// rtp:// scp:// sftp:// smb:// srtp://

Other features:
avahi dbus udisks epoll icu inotify systemd tcp un


client: [1] opened from
client: [1] process command list
client: process command "add """
exception: Unsupported URI scheme
client: command returned 3
client: [1] process command list returned 3
client: [1] closed


This comment has been minimized.

Copy link
Contributor Author

commented Jul 6, 2019

Missing break or do I miss the point?

diff --git a/src/LocateUri.cxx b/src/LocateUri.cxx
index dcb52bfde..04eb999b4 100644
--- a/src/LocateUri.cxx
+++ b/src/LocateUri.cxx
@@ -63,6 +63,8 @@ LocateAbsoluteUri(UriPluginKind kind, const char *uri
        switch (kind) {
        case UriPluginKind::INPUT:
+               break;
        case UriPluginKind::STORAGE: // TODO: separate check for storage plugins
                if (!uri_supported_scheme(uri))
                        throw std::runtime_error("Unsupported URI scheme");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.