SWYH
SWYH copied to clipboard
Streaming to upmpdcli not working
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
)
Workaround: set checkcontentformat=0
in /etc/upmpdcli.conf
It appears this issue is because SWYH is not sending the metadata that upmpdcli is expecting.