Re: question about winamp
Jon Disnard <[email protected]> Mon, 09 Sep 2002 12:02:22 -0500
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Organization | Global Information Systems |
| Message-ID | <[email protected]> |
Hello, Unlike shoutcast, mod_mp3 has not consept of the user-agent header sent as part of the http request to the appache. Actually, the iformation is there, but mod_mp3 doesn't do anything with it. What shoutcast does is look at the user-agent header, and sees if it has the word 'mozilla' someplace in the string. If mozilla is found, it thinks that the user-agent is a browser, and spews out some embeded html from the shoutcast mini-httpd; else, if no mozila is found, it assumes this is not a html browser, but a mp3 decoder (aka winamp) that is connecting up, and changes it behaviour accordingly (aka streams). Mod_mp3 does not do that! SO the question is, does the winamp mini-browser thingy send a user-agent header with the the text 'mozilla' or not? I would assume that winamp uses the available mshtml.dll, and shdocvw.dll (both of which are the rendering engines of IE) to handle browsing, and if so... they probably look just like the IE browser would when connecting. In any event, mod_mp3 isn't going to know the difference anyways. What we need is some smarts built into mod_mp3 to show a page like the op=sellect page based on the user-agent field. Does this make sence to anyone? I hope so! -Jon Brandon VanBelle wrote: > i have mod_mp3 all set up, just now i will go and use it with winamp, and if the minibrowser is open, it tried to download stuff, the file it downloads is the stream, how do i make it so a page will be there? > > i have it set up as a virtual host. > > if this has been asked before, im sorry, im new to the list. > > > thanks, > -brandon > _______________________________________________ > Mod_mp3 mailing list > [email protected] > http://lists.tangent.org/mailman/listinfo/mod_mp3 -- -Jon Disnard Computer Associates Unix Systems Administrator Information Systems tele: 2144731000 smtp: [email protected]