mongrel_users at homerlex.mailshell.com
2006-Dec-14 15:53 UTC
[Mongrel] Does send_file act differently with Mongrel than with Webrick?
Mongrel 0.3.13.3 Windows XP Rails 1.1.6 I have a rails app that serves up mp3 files via the send_file command. We create a playlist (M3U) with URLs to the mp3s. These play just fine using Windows Media Player. However using WinAmp we get an error "error syncing to stream" when it tries to request the mp3. After playing around I found that if I am running Rails under Webrick WinAmp is able to retrieve the mp3s just fine. Does anyone have any idea what the problem is when using Mongrel? Regards _______________________________________________________ The FREE service that prevents junk email http://www.mailshell.com
Luis Lavena
2006-Dec-14 16:20 UTC
[Mongrel] Does send_file act differently with Mongrel than with Webrick?
On 12/14/06, mongrel_users at homerlex.mailshell.com <mongrel_users at homerlex.mailshell.com> wrote:> Mongrel 0.3.13.3 > Windows XP > Rails 1.1.6 > > I have a rails app that serves up mp3 files via the send_file command. We create a playlist (M3U) with URLs to the mp3s. These play just fine using Windows Media Player. However using WinAmp we get an error "error syncing to stream" when it tries to request the mp3. > > After playing around I found that if I am running Rails under Webrick WinAmp is able to retrieve the mp3s just fine. > > Does anyone have any idea what the problem is when using Mongrel? >Maybe I''ll sound too stupid, but default mime types in WEBrick cover .mp3 files. Maybe you aren''t using a mime.yml file with mongrel?> Regards > > _______________________________________________________ > The FREE service that prevents junk email http://www.mailshell.com > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi