MP3 Server
Here is how to setup an MP3 server in about 5 minutes.
- Get ActiveState Python.
- Install ActivePython-2.4.3.12-win32-x86.msi in my case. (python-2.5.msi did not work so there is some time saved)
- Get edna MP3 server
- edna at sourceforge.net
- Read the README of course and edit the edna.conf
- Mine reads
#
# edna.conf -- configuration file for edna.py
#
[server]
port = 6969
# If you want to allow downloading of ZIP archives of directory contents, # specify the maximum size of an archive in MB. zip = 1
dir1 = C:/docs/1Music = 01Music_C dir2 = G:/1Music = 01Music_G dir3 = K:/1Music = 01Music_K
[extra] # Extra options #
# You don't need to change this, but maybe you
need more output or want to enable some special features
# Set this to 1 to get more output debug_level = 0
# Mark all files as new if they are newer than days_new
days_new = 30
- You will want to run it as a service as described by Greg Stein
- Navigate to C:\docs\04Programs\edna-0.6\ntsvc
Start > Run > cmd cd C:\docs\04Programs\edna-0.6\ntsvc python ednaNTSvc.py -c C:\docs\04Programs\edna-0.6\edna.conf --startup auto install- I then get an error when running it from services.msc
- confused
- Lets look at Start > Run > eventvwr.msc
Python could not import the service's module File "C:\docs\04Programs\edna-0.6\ntsvc\ednaNTSvc.py", line 27, in ? import edna exceptions.ImportError: No module named edna- Hmm, Lets look at line 27 then:
27 import edna- Looks like it can’t do this
- I will search the edna mailing list for “service” later.
- Oh well, just keep it simple and run edna.py
edna: serving on port 6969...- Ok, so it was more than 5 minutes but the service would have been cool.
- But wait, in the mailing list I found the answer
- The question was answered in 2004
JTT>... I finallyjust stuck the JTT> mp3info.pyc, edna.pyc, and ezt.pyc files in the root of the JTT> python directory- If you did not get that, copy those files to
C:\Python24and run edna from services.msc.
Finally, the whole point is to have a server so use:
- DynDNS to setup foo.dyndns.org
- If you have a Netgear DG834 v2 then login to your router enter the settings needed
- Point your browser to http://foo.dyndns.org:6969

