StreamWhatYouHear / SWYH

Stream the sound from your PC to an UPnP/DLNA device
http://www.streamwhatyouhear.com/
GNU General Public License v2.0
552 stars 92 forks source link

Streaming to upmpdcli not working #18

Open agsrpi opened 7 years ago

agsrpi commented 7 years ago

Probably related to #16 SWYH cannot stream to upmpdcli (at least on a raspberry pi 3).

The error seems to come from libupnpp: upmpdcli[299]: :2:src/avtransport.cxx:393::set(Next)AVTransportURI: unsupported format: uri http://192.168.12.148:62345/stream/swyh.mp3 metadata :2:libupnpp/device/device.cxx:354::UpnpDevice: Action failed: SetAVTransportURI code -101

upmpdcli should only route the url to mpd and, as far as I can see, mpd is able to decode the received stream from that port (tested with mpc add http://192.168.12.148:62345/stream/swyh.mp3; mpc play)

mcaden commented 5 years ago

Workaround: set checkcontentformat=0 in /etc/upmpdcli.conf

It appears this issue is because SWYH is not sending the metadata that upmpdcli is expecting.