You are not logged in.

#51 2005-03-14 18:39:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: MPD - I'm impressed!

dp wrote:

you need to create the music db:

/etc/rc.d/mpd create-db

and if you add or remove files from the music dir, you have to do

/etc/rc.d/mpd update-db

ah thats probably it... thanks!

Offline

#52 2005-03-14 18:40:56

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: MPD - I'm impressed!

just a little question, did you ran just mpd or did you used all the time /etc/rc.d/mpd to start the daemon?
because all error messages are suppressed when using the rc.d script, but for me mpd told me at the first run, to create some directories.
so I would reccomend just to call mpd and look for any messages.

Offline

#53 2005-03-14 19:19:09

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: MPD - I'm impressed!

cmp wrote:

just a little question, did you ran just mpd or did you used all the time /etc/rc.d/mpd to start the daemon?
because all error messages are suppressed when using the rc.d script, but for me mpd told me at the first run, to create some directories.
so I would reccomend just to call mpd and look for any messages.

yeah, I installed, copied the conf file... made some user/directory changes, then ran /etc/rc.d/mpd start

it didn't fail, and ps aux displayed it as running, but I couldn't connect with any clients... it was odd.

Another question:
I feel odd putting my username into the conf file, considering it's run at boot time and (although this isn't the case) any user on the system can connect to a process running as me.
Does anyone here use a dedicated mpd user?  I did that as well, and set the music dir to /home/mpd/music.  I made sure mpd was in the users and audio group, too... could this be an issue? Can userX connect to mpd that was run as userY?

Offline

#54 2005-03-14 20:49:05

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: MPD - I'm impressed!

phrakture wrote:

Can userX connect to mpd that was run as userY?

yes. i run mpd at boottime as daemon (root) and connect to it as normal user to start the music

note: if you start the daemon, the music does not start. you have to populate the playlist and start the music

e.g. use ncmpc, press [3], select directories you want to add to playlist with [space], press [2], press [enter] on a song to start it. to enable repeat and random, press [z] respectively [r]. once the music started, you can press [q] and quit ncmpc. the daemon will keep playing the playlist in the mode you specified in ncmpc or any other client

did you run /etc/rc.d/mpd create-db? did it finish successfully? check /var/log/mpd.db-creation for output


The impossible missions are the only ones which succeed.

Offline

#55 2005-03-14 20:53:40

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: MPD - I'm impressed!

well, I haven't tried yet, so I'm speculating....
last I tried ncmpc, it just flat out failed with "unable to connect" - it's probably because I didn't create the DB, but I just wanted to cover all bases

Offline

#56 2005-03-14 21:23:03

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: MPD - I'm impressed!

Whoa. This is nifty.... I'm hooked. I like BMP, but this is just sweet.

Wait a second... where's mpdcast.com? tongue I wonder if it scales decently.....


·¬»· i am shadowhand, powered by webfaction

Offline

#57 2005-04-22 10:46:17

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: MPD - I'm impressed!

Could you guys check how many processes are launched by starting mpd daemon?

I my case there are 3

'/usr/bin/mpd /etc/mpd.conf'

..running with root privileges.

Offline

#58 2005-04-22 12:39:49

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: MPD - I'm impressed!

3 Processes is normal.

To make it not run as a root, edit your /etc/mpd.conf, go to the user line under security and set it to run as your user or another one.

Offline

#59 2005-04-23 09:38:22

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: MPD - I'm impressed!

Thanks. That's what I was looking for. Running as root is not good at all.

Offline

#60 2005-04-28 00:06:16

schumph
Member
Registered: 2005-02-23
Posts: 17

Re: MPD - I'm impressed!

I have installed mpd, modded the mpd.conf file, however, when I try to create the db as a user I get the following message:

/etc/rc.d/mpd: line 38: /var/log/mpd.db-creation: Permission denied

Any thoughts.


"If you break your leg, stop thinking about dancing and start decorating the cast." --Warren Zevon

Offline

#61 2005-04-28 15:10:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: MPD - I'm impressed!

the user doesn't have write permissions to /var/log - do it as root or change the location

Offline

#62 2005-04-29 07:32:46

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: MPD - I'm impressed!

Guys I can't find this package... what exactly is the AUR address for sticking in my pacman.conf?

I have

[community]
Server = ftp://ftp.archlinux.org/community/os/i686/

that's right, no? Has moreamp (or do any other packages) go straight into the AUR when submitted? Or does it take a while?

Offline

#63 2005-04-29 08:56:16

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: MPD - I'm impressed!

Eh? MPD is in extra afaik.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#64 2005-04-29 12:53:39

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: MPD - I'm impressed!

/idiot

I put that last message in the wrong topic!

Sorry!

Offline

Board footer

Powered by FluxBB