On 2014/12/03 23:09, X Ryl <boite.pour.s...@gmail.com> wrote: > Actually, it's useful to clients but not only. In my use case, MPD is > on a headless server. Without it, it's not possible to receive this > stream in Javascript context due to Cross Origin protection in > browsers. That prevents using HTTPD plugin as a audio source for a web > page, unless you have the Allow Origin header (ditto for > Icecast/Shoutcast mode).
An option for generating that one header sounds acceptable. But what you wrote is hard to understand, hard to configure and error prone. _______________________________________________ mpd-devel mailing list mpd-devel@musicpd.org http://mailman.blarg.de/listinfo/mpd-devel