Hi, Le 15 janvier 2012 21:48, Audiodef Online <[email protected]> a écrit : > > I wonder if 0.9.3 simply defaulted to MP3 when nothing else worked and that > behavior was changed in 1.0.0 to have no default...
No, 0.9.3 had application/octet-stream for mp3 data by default. In 1.0.0, we changed the code to make sure that we preserve file extensions when downloading and removed application/octet-stream b/c it is hacky and not satisfactory. I would recommend investigating a setup for you server where files can be accessed with urls of this form: http://server/files/1234.mp3 Romain > -------- Original Message -------- > Subject: Re: [Savonet-users] Fwd: Re: Downloading dowload.php?id=12345 files > in playlists > Date: Sun, 15 Jan 2012 21:16:57 +0000 > From: Audiodef Online <[email protected]> > To: Romain Beauxis <[email protected]> > CC: [email protected] > > > That makes sense. When I use wget -O and file -i for a URL that > downloads an MP3, I get: > > /tmp/bla.php: application/octet-stream; charset=binary > > But here's the thing: 0.9.3 has no trouble with this. I don't need to > set anything. It's only with 1.0.0 that this problem appears. Why can > 0.9.3 handle this without any further tweaking but 1.0.0 doesn't seem to > be able to? > > On 01/15/12 20:51, Romain Beauxis wrote: > > 2012/1/15 Audiodef Online<[email protected]>: > >> The output of wget -O and file -i is > >> > >> /tmp/bla.php: application/ogg; charset=binary > >> > >> This is what we expect, right? Seems puzzling. > > This is what you expect for ogg data, which should not cause any > > trouble with ocaml-magic detection anyway. What you need to focus on > > is mp3 data. > > > > The plan is: > > * Find out what mime type is returned for mp3 data. > > * Add this mime to the list of mime associated to mp3 data in liquidsoap. > > > > Romain > > > > > -- > My music: http://audiodef.com > Synthetronica: http://synthetronica.com > Male survivors of domestic violence: http://abusedmen.org > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
