Hi bubblegum,
I am the author of Whitebear media server (more info here) and I find that foo_upnp is unable to play music streams served by Whitebear.
The following is the log from Foobar when you try to play a file from Whitebear:
Opening track for playback: "http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"
Could not read info (Unsupported format or corrupted file) from: "http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"
Unable to open item for playback (Unsupported format or corrupted file):
"http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"
The following is a capture of the HTTP transaction between Foobar and Whitebear:
**** 12:44:54:550 -- Whitebear Media Server: Request ****
GET /music?track_id=16;tgt_fmt=l16 HTTP/1.1
Host: 192.168.1.37:31415
Connection: close
User-Agent: foobar2000/1.1
Accept: */*
Icy-MetaData:1
**** 12:44:54:825 -- Whitebear Media Server: Response ****
HTTP/1.1 200 OK
Connection: close
Content-Type: audio/l16
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.dlna.org: Streaming
Accept-Ranges: none
Server: Andrew Fiddian-Green/1.0, UPnP/1.0, Whitebear Media Server/2.0
>> Connection broken by Foobar after 1'212'416 bytes have been sent
Foobar breaks the connection after about 1 megabytes have been sent. Whereas by contrast, when I play the exact same file in Windows Media Player all 42'366'576 bytes are downloaded, and the file plays fine.
As you can see, I am streaming the file in 16 bit LPCM format (big endian) with 44.1kHz sample rate and 2 channels; this plays fine on other renderers (such as WMP 12), so it is not at all clear why Foobar doesn't like it.
Question: can you please advise why your plugin is not accepting such streams?
{PPS by the way, when you use Foobar as a control point to play a file from Whitebear to (say) WMP then the file is played correctly..}
Regards,
AndrewFG