Modules >> Fun

Pages: 1 | 2 | >> (show all)
AwPhuch
journeyman


Reged: 11/30/05
Posts: 52
Loc: Texas
HOWTO install edna MP3 Streaming server
      #80567 - 11/30/05 05:32 PM

For those of you out there that want to run a personal MP3 Jukebox streaming server

1. Create a directory in /home
Code:
mkdir /home/mp3


2. Go into the directory and
Code:
wget http://edna.sourceforge.net/edna-0.5.tar.gz


3. Extract the downloaded file
Code:
tar -zxvf edna-0.5.tar.gz


4. Go into the fresh directory and edit the edna.conf
Code:
#
# edna.conf -- configuration file for edna.py
#

[server]
port = your.port.here

### DOCCO
# ### change these if the defaults don't work...
# template-dir = templates
# template = default.ezt

# If you want id3 tags, use default_complex.ezt
# template = default_complex.ezt
# Enable costly file information if needed (default disabled)
# fileinfo=1

### DOCCO
# binding-hostname = dummy-host.example.com
# binding-hostname = 123.123.123.123

# log can specify "-" for stdout, or a file name. omitting this line
# produces no log.
log = /var/log/edna.log


[acl]
### DOCCO
#allow = host1, host2, host3/24, 123.123.123.123, 2.2.2.2/11
#auth = aUser1:aPass1, aUser2:aPass2

#Require password for directories < level ..
# Work around for buggy players that can't send authentication information
# 0 Only check '/'
# 1 Check all levels (default)
# auth_level=0

[sources]
#
# List each source directory (top of the tree). The lines should be of the
# form:
# dirNNN = DIRECTORY = DISPLAY_NAME
#
# WARNING: the DISPLAY-NAME part may *not* have a slash ("/") in it!
# WARNING: each DIRECTORY must exist when edna is started
#
# The NNN part will determine the sort order in the top-level listing.
#

# Windows example:
#dir1 = f:\mp3\transfer = MP3s
#dir2 = f:\bobsmp3 = Bob
#dir3 = g:\MP3's = Bob CD

# Unix example:
#dir1 = /mnt/cdrom = MP3 CDROM
dir1 = /home/mp3/all-albums = Jukebox


[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


5. Create your jukebox dir
Code:
mkdir /home/mp3/all-albums


6. Change back to main /home dir and issue the command
Code:
chown -R nobody:nobody /home/mp3


7. Edit the /etc/rc.local file
Code:
vi /etc/rc.local


8. Add
Code:
# Starting Edna Jukebox Server
echo "Starting Edna Jukebox Server"
cd /home/mp3/edna ; sudo -u nobody python edna.py &


9. Start your server
Code:
cd /home/mp3/edna ; sudo - u nobody python edna.py &



Remember when you transfer your favorite MP3 files to your /home/mp3 directory ensure you go back and chown them to nobody:nobody (step 6)...this way you arent running your edna server as root

Let me know what ya think!?

Brian
AwPhuch

--------------------




Edited by AwPhuch (12/13/05 11:46 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
swhite58
member


Reged: 02/04/03
Posts: 115
Loc: Perth, Western Australia
Re: HOWTO install edna MP3 Streaming server [Re: AwPhuch]
      #80591 - 12/01/05 01:21 AM

An alternative to Edna is to put your mp3s into a Samba share. You can then play them directly through winamp etc, and make playlists.

Shane

--------------------
CC 4.2 SP1 standalone, Athlon 900, 400Gb, 768Mb RAM
Home file, mail, print, web, music server


Post Extras: Print Post   Remind Me!   Notify Moderator  
nova
stranger


Reged: 02/12/05
Posts: 7
Loc: Adelaide, Australia
Re: HOWTO install edna MP3 Streaming server [Re: swhite58]
      #80592 - 12/01/05 03:09 AM

Depends on the network. Does Samba work across different subnets? I know NetBios doesn't.

Way to go AwPhuch.

Nova


Post Extras: Print Post   Remind Me!   Notify Moderator  
AwPhuch
journeyman


Reged: 11/30/05
Posts: 52
Loc: Texas
Re: HOWTO install edna MP3 Streaming server [Re: nova]
      #80614 - 12/01/05 10:55 AM

It will work across I think...but if you wanted to share "out" to the WEB I dont think samba would be safe...also edna gives you the ability to shuffle from the start and has a real nice log capability

You can tweak the templates and actually make the main edna site look like a professional page and host all your MP3 from there...or play them thru your network

Brian
AwPhuch

--------------------




Post Extras: Print Post   Remind Me!   Notify Moderator  
snap16
stranger


Reged: 11/26/05
Posts: 1
Re: HOWTO install edna MP3 Streaming server [Re: AwPhuch]
      #81344 - 12/22/05 07:30 AM

When I add more mp3's to the server they are not listed in jukebox.

Do I need to restart the server to make it recoginze the added mp3's?

If so how would I restart the server?

I did chown as per step 6 when I added the new mp3's.


Post Extras: Print Post   Remind Me!   Notify Moderator  
AwPhuch
journeyman


Reged: 11/30/05
Posts: 52
Loc: Texas
Re: HOWTO install edna MP3 Streaming server [Re: snap16]
      #81421 - 12/27/05 03:15 AM

Find the python in top and kill it..then re-issue the start command
Code:
cd /home/mp3/edna ; sudo -u nobody python edna.py &



It should however see the songs..you might have to refresh your screen
Code:
ctrl f5



Brian
AwPhuch

--------------------




Post Extras: Print Post   Remind Me!   Notify Moderator  
tegralens
newbie


Reged: 11/08/04
Posts: 29
Re: HOWTO install edna MP3 Streaming server [Re: AwPhuch]
      #84941 - 05/10/06 01:45 PM

How can I make it so noone can download the mp3 file because if you go the the media server there you see the m3u and next to it has the picture of the disc to save. But I don't want anyone to be able to save it.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Buddha
Carpal Tunnel
****

Reged: 08/10/01
Posts: 6924
Loc: Joklahoma
Re: HOWTO install edna MP3 Streaming server [Re: tegralens]
      #84948 - 05/10/06 09:03 PM

Hack the Python code so there is no link there.

Post Extras: Print Post   Remind Me!   Notify Moderator  
tegralens
newbie


Reged: 11/08/04
Posts: 29
Re: HOWTO install edna MP3 Streaming server [Re: Buddha]
      #84965 - 05/11/06 12:25 PM

How do I do that I'm pretty new to Clarkconnect and the Linux World and i'm still learning I tried opening some of the config files but did not see anything. Which on is it?

Post Extras: Print Post   Remind Me!   Notify Moderator  
tegralens
newbie


Reged: 11/08/04
Posts: 29
Re: HOWTO install edna MP3 Streaming server [Re: Buddha]
      #85087 - 05/19/06 07:18 AM

Quote:

Hack the Python code so there is no link there.



What files is it?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1 | 2 | >> (show all)



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  pointclark 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6455

Rate this topic

Jump to

Contact Us ClearFoundation

Powered by UBB.threads™ 6.5.5