7Dec/064
MP3 Server
- 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:\docsPrograms\edna-0.6\ntsvc python ednaNTSvc.py -c C:\docsPrograms\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:\docsPrograms\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.
- 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

April 13th, 2011 - 17:24
Just getting:
Traceback (most recent call last):
File “edna”, line 47, in
import ezt
ImportError: No module named ezt
April 13th, 2011 - 20:03
What does line 47 say? Is it “import ezt”?
Make sure you have the same version of AciveState python. And those files mentioned are in the correct directories.
Failing that, do what I did. Search for similar errors. Chances are others had the same error
April 13th, 2011 - 20:19
Copied the file to python folder… now a new error…
root@UNSORTED:/usr/bin# edna:49: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
edna:70: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
edna: edna.conf:No such file
Traceback (most recent call last):
File “edna”, line 1162, in
raise systemExit
NameError: name ‘systemExit’ is not defined
January 8th, 2012 - 18:36
Latest Plan?
Don’t use this setup, use Subsonic (4.5);
http://sourceforge.net/projects/subsonic/files/subsonic/4.5/