Apache::MP3 and streaming mp3 files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Derek Neighbors
Date:  
Subject: Apache::MP3 and streaming mp3 files
--=-jgH3O/LVZnVjTRi9EAKX
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

in edna.py find section like this:

# Extensions that WinAMP can handle: (and their MIME type if applicable)
extensions =3D {=20
  '.ogg' : 'audio/ogg',  <------ ADD THIS LINE
  '.mp3' : 'audio/mpeg',
  '.mid' : 'audio/mid',
  '.mp2' : 'video/mpeg',        ### is this audio or video? my Windows
box
                                ### says video/mpeg
#  '.cda',                      ### what to do with .cda?
  '.it'  : 'audio/mid',
  '.xm'  : 'audio/mid',
  '.s3m' : 'audio/mid',
  '.stm' : 'audio/mid',
  '.mod' : 'audio/mid',
  '.dsm' : 'audio/mid',
  '.far' : 'audio/mid',
  '.ult' : 'audio/mid',
  '.mtm' : 'audio/mid',
  '.669' : 'audio/mid',
  '.asx' : 'video/x-ms-asf',
  '.mpg' : 'video/mpeg',
  }


It works for me. :) I started the .ogg debate and am well the owner of
a very large python addiction so I jumped all over edna and this was
first thing I did. :)


On Sun, 2002-10-27 at 11:33, Don Calfa wrote:
> This recent dabacle over ogg vs. mp3 has me convinced that ogg is the=20
> way to go. Is there a similar streamer for ogg?
>=20
> Matt Alexander wrote:
>=20
> >On Sat, 26 Oct 2002, KevinO wrote:
> >
> > =20
> >
> >>http://edna.sourceforge.net/
> >>
> >>edna makes it really easy to setup an mp3 streaming service.
> >> =20
> >>
> >
> >Wow. I just set this up in about two minutes and I'm streaming MP3s
> >now... Thanks for the link.
> >~M
> >
> >-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> >PLUG-discuss mailing list -
> >To subscribe, unsubscribe, or to change you mail settings:
> >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > =20
> >
>=20
> --=20
> Your favorite stores, helpful shopping tools and great gift ideas.=20
> Experience the convenience of buying online with Shop@Netscape!=20
> http://shopnow.netscape.com/
>=20
>=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=

=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>=20

--=20
Derek Neighbors
GNU Enterprise
http://www.gnuenterprise.org


Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=3Ddneighbo

--=-jgH3O/LVZnVjTRi9EAKX
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQA9uygyHb99+vQX/88RAunCAKCh1sP+31RyUrUTdMWrsTjpjXTxNgCfdb9/
GNWf1ByP8ZafDuZ7/N+M8cE=
=Fi/S
-----END PGP SIGNATURE-----

--=-jgH3O/LVZnVjTRi9EAKX--