Bugzilla – Bug 15380
Slim/Web/HTTP: return the proper stream Content-Type
Last modified: 2009-12-29 14:08:59 UTC
Created attachment 6409 [details] 0001-Slim-Web-HTTP-return-the-proper-stream-Content-Type.patch The stream URI is always "/stream.mp3", which makes the generateHTTPResponse() method assume that the Content-Type must be "audio/mpeg" (according to typeFromSuffix()). The method does not check which kind of file is really being served, breaking strict music players (such as the Music Player Daemon). This patch checks the song URL, and re-checks it with typeFromSuffix(), overriding the previous uninformed guess. I attached a patch to fix this.
== Auto-comment from SVN commit #29704 to the slim repo by andy == == https://svn.slimdevices.com/slim?view=revision&revision=29704 == Fixed bug 15380, patch from agillis to use proper content-type on streaming response