Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mpd problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Thu Oct 12, 2006 10:46 am    Post subject: mpd problems Reply with quote

I have some problem with mpd, It dosen't play my music.

~/.mpd/log
Code:
Oct 12 12:40 : interface 0: opened from Oct 12 12:40 : 127.0.0.1
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "playlistinfo "-1""
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "lsinfo """
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "add "Plans""
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "playlistinfo "-1""
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: process command "playid "1""
Oct 12 12:40 : playlist: play 1:"Plans/02 Soul Meets Body.mp3"
Oct 12 12:40 : interface 0: closed
Oct 12 12:40 : copyMpdTagToOB: !acceptMetadata || !tag
Oct 12 12:40 : copyMpdTagToOB: !acceptMetadata || !tag
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : playlist: queue song 2:"Plans/03 Summer Skin.mp3"
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : playlist: stop
Oct 12 12:40 : playerCurrentDecodeSong: caught new metadata!
Oct 12 12:40 : interface 0: process command "status"
Oct 12 12:40 : interface 0: command returned 0
Oct 12 12:40 : interface 0: closed


~/.mpd/error
Code:
ALSA snd_pcm_hw_params error: Inappropriate ioctl for device
Oct 12 12:40 : problems opening audio device while playing "Plans/03 Summer Skin.mp3"


And here is the .mpdconf
Code:
playlist_directory "/home/kupo/.mpd"
music_directory "/home/kupo/musik"
log_file "/home/kupo/.mpd/log"
error_file "/home/kupo/.mpd/error"
port 6600
mixer_type "alsa"
log_level "verbose"


Alsa sound works with mplayer.
And by the way, I'm using ncmpc.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Oct 12, 2006 12:20 pm    Post subject: Reply with quote

how do you run mpd? with an initscript?

try running mpd not as root (a user which is in the audio group)

also what 's the result of groups mpd ?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Thu Oct 12, 2006 12:53 pm    Post subject: Reply with quote

I execute mpd with just "mpd" and the config file is in ~/.mpdconf (as non-root).

groups mpd gives just audio. but i'm not running as the mpd user
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Oct 12, 2006 1:11 pm    Post subject: Reply with quote

can you play several sound at the same time?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Thu Oct 12, 2006 3:02 pm    Post subject: Reply with quote

No, just one.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Oct 12, 2006 3:37 pm    Post subject: Reply with quote

then configure hardware or software mixing so that you can play severals sounds at the same time, and then, you might be able to use mpd.
:?:
_________________
The End of the Internet!
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Thu Oct 12, 2006 4:22 pm    Post subject: Reply with quote

Why would I need that? If I only want to play music.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Oct 12, 2006 9:16 pm    Post subject: Reply with quote

then stop *every* program that may use the audio device, and then retry?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Thu Oct 12, 2006 9:20 pm    Post subject: Reply with quote

Done that, tried with xmms as well which works. But I want mpd :(
Back to top
View user's profile Send private message
suicidal_orange_II
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 299

PostPosted: Fri Oct 13, 2006 12:15 pm    Post subject: Reply with quote

Ok, I have a couple of suggestions from reading the svn config examples. Try this

.mpdconf
Code:

playlist_directory "/home/kupo/.mpd"
music_directory "/home/kupo/musik"
log_file "/home/kupo/.mpd/log"
error_file "/home/kupo/.mpd/error"
log_level "verbose"

audio_output {
        type                    "alsa"
        name                    "My ALSA Device"
        device                  "hw:0,0"     # optional, may need changing to whichever device works in xmms
        format                  "44100:16:2" # optional
}

mixer_type                      "alsa"
mixer_device                    "default"
mixer_control                   "PCM"


I'd backup your old .mpdconf first, this is in no way guaranteed to work but give it a try :)

Hope it works


Suicidal_Orange
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Fri Oct 13, 2006 6:15 pm    Post subject: Reply with quote

Code:
unrecognized paramater in conf at line 7: audio_output {


:/
Back to top
View user's profile Send private message
kupo
n00b
n00b


Joined: 04 Dec 2004
Posts: 54

PostPosted: Fri Oct 13, 2006 6:21 pm    Post subject: Reply with quote

I upgraded mpd to ~x86 and now it works :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum