You are not logged in.

#1 2008-08-07 23:34:14

WernerL
Member
Registered: 2007-07-03
Posts: 161

sonata only starts with network deamon, why ?

Hello,

I installed mpd and sonata on my laptop.
and i tried to get it working for like 30 minutes, after that I started (don't know why) the network deamon and it worked :S
But i'm on a wireless network and I don't need the network deamon to get online, so does somebody know how I could get mpd/sonata working without running the network deamon ?

Thanks.

//edit
I use wicp to manage my wireless networks by the way...

Last edited by WernerL (2008-08-07 23:46:29)

Offline

#2 2008-08-08 02:14:23

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: sonata only starts with network deamon, why ?

My Sonata was fucking up when I changed my hostname from localhost to ****. On the Sonata profile page it asks for hostname, might be related.

Offline

#3 2008-08-08 09:28:59

WernerL
Member
Registered: 2007-07-03
Posts: 161

Re: sonata only starts with network deamon, why ?

hostname is just localhost for me.

Offline

#4 2008-08-08 09:37:44

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: sonata only starts with network deamon, why ?

you don't need the network daemon for running mpd. mpd is just a locale task running in the background to play audio files.

first you have to create/change mpd's config file:

#
#/etc/mpd.conf 
#

music_directory            "/mnt/externe/Musik"
playlist_directory          "~/.mpd/playlists"  
db_file                         "~/.mpd/mpd.db"     
log_file                        "~/.mpd/mpd.log"    
error_file                     "~/.mpd/mpd.error"  
pid_file                        "~/.mpd/mpd.pid"    

user                            "arch0r"

bind_to_address           "127.0.0.1"
port                            "6600"

afterwards you need to create the mpd.pid file: touch /path/to/file/mpd.pid and define it in the mpd.conf

start the mpd daemon: /etc/rc.d/mpd start
in sonata you only have to enter the Host (localhost), the Port (6600), your music folder and connect to localhost:6600

Offline

#5 2008-08-08 11:26:47

WernerL
Member
Registered: 2007-07-03
Posts: 161

Re: sonata only starts with network deamon, why ?

I didn't create the pid file. tongue
Now it works, thanks.

Offline

#6 2008-08-08 11:36:44

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: sonata only starts with network deamon, why ?

Anything that doesn't work, usually try running it in a terminal, with a verbose switch if needed.

Offline

#7 2008-08-08 11:45:00

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: sonata only starts with network deamon, why ?

Interesting feature installing zsi (pacman -S zsi) allows the automatic fetching of the lyrics which are stored in ~/.lyrics


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

Board footer

Powered by FluxBB