You are not logged in.

#1 2009-02-04 03:23:12

viperstrike
Member
Registered: 2009-02-04
Posts: 2

Network Music Server - Setup Question

Hey all,

I've got Arch running off a desktop computer with my music collection, and a 5.1 sound system plugged in...I'm able to SSH into the tower and play the music off the speakers that are plugged into the tower just fine...however I'd like to also be able to output the music to a different computer.

So, say I'm on my laptop, running Fedora - or at work on Windows - I'd like to be able to SSH into my home tower and route the audio to whatever computer I'm currently logged in to.

I'm not quite sure where to begin. I've done a fair bit of poking around on the net, but it left me hanging. Some people claim that this can be accomplished through PulseAudio, other say that I need a specific music server - the recommendation seems to be mpd for that. However, I can not find a decent guide to follow for either approach.

Basically, I was wondering if anyone here had some suggestions on getting this set-up.
Any help would be appreciated.

Offline

#2 2009-02-05 01:08:15

JT
Member
Registered: 2009-01-16
Posts: 21

Re: Network Music Server - Setup Question

I have my music server setup with MPD and Icecast2 streaming. I can connect to the radio stream anytime, anywhere. I create play-lists and browse by artist/album with ncmpc over a SSH connection.

No complaints and easy to configure.

Offline

#3 2009-02-05 01:13:10

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network Music Server - Setup Question

JT wrote:

I have my music server setup with MPD and Icecast2 streaming. I can connect to the radio stream anytime, anywhere. I create play-lists and browse by artist/album with ncmpc over a SSH connection.

No complaints and easy to configure.

exactly the same setup here. works great.
http://wiki.archlinux.org/index.php/Str … st_and_MPD

Offline

#4 2009-02-05 14:25:21

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Network Music Server - Setup Question

I'm planning on doing the same for both audio and video.
MPD was my weapon of choice to stream music to other computers.
Fuppes will be my weapon of choice to stream music to DLNA-hardware (TV, playtation3 etc.)

Zl.

Offline

#5 2009-02-05 16:53:53

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Network Music Server - Setup Question

There's a very simple python program called edna that runs as a very low footprint server and serves up directories of your music to the web (to any arbitrary port you select). I've run it for years on my server, and it's very stable, with a simple web-based interface that sends you an m3u playlist that will play in almost any music player. It's not over SSH, but it does have simple password protection.

Scott

Offline

#6 2009-02-05 18:47:05

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Network Music Server - Setup Question

+1 for mpd and icecast.  use putty to tunnel port 8000 and stream icecast to localhost only.  this is by far you're most secure option.

Offline

#7 2009-02-06 01:24:41

viperstrike
Member
Registered: 2009-02-04
Posts: 2

Re: Network Music Server - Setup Question

So, when I try and build the database for mpd, I'm told:

mpd: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

Any idea what's up with that?

EDIT:
Nevermind, I was just missing the curl installation.

EDIT again:
Well, I've got the database constructed, and mpc playing songs...however, they're still playing on the tower, and through the headphone jack. How do I change the audio ouptut of either mpd or mpc?

Last edited by viperstrike (2009-02-06 02:08:38)

Offline

#8 2009-02-06 02:36:10

JT
Member
Registered: 2009-01-16
Posts: 21

Re: Network Music Server - Setup Question

Here's my mpd.conf file.
Let me know if it helps.

music_directory       "/home/media/music"
playlist_directory    "/home/media/playlists"
db_file               "/home/media/.mpd/db"
log_file              "/home/media/.mpd/log"
error_file            "/home/media/.mpd/error"
pid_file              "/home/media/.mpd/mpd.pid"
state_file            "/home/media/.mpd/mpdstate"
user                  "media"
# Disable this to connect to the stream remotely
#bind_to_address       "127.0.0.1"
port                  "6600"
#connection_timeout   "60"
#max_playlist_length  "16384"
#filesystem_charset   "ISO-8859-1"
#id3v1_encoding       "ISO-8859-1"

audio_output {
        type        "shout"
        name        "Some cute name"
        host        "localhost"
        port        "8000"
        mount       "/mpd.ogg"

        # This is the source password in icecast.xml
        password    "somepass"

        # Set either quality or bitrate
        quality     "4.0"
        #bitrate     "64"

        format      "44100:16:1"

        # Optional Paramters
        user        "source"
        description "Random MPD Stream"
        genre       "Everything"
}

# Need this so that mpd still works if icecast is not running
# (I didn't need this...)
#audio_output {
#       type "alsa"
#       name "fake out"
#       driver "null"
#}

Offline

Board footer

Powered by FluxBB