View previous topic :: View next topic |
Author |
Message |
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Thu Oct 12, 2006 10:46 am Post subject: mpd problems |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Oct 12, 2006 12:20 pm Post subject: |
|
|
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 |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Thu Oct 12, 2006 12:53 pm Post subject: |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Oct 12, 2006 1:11 pm Post subject: |
|
|
can you play several sound at the same time? _________________ The End of the Internet! |
|
Back to top |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Thu Oct 12, 2006 3:02 pm Post subject: |
|
|
No, just one. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Oct 12, 2006 3:37 pm Post subject: |
|
|
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 |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Thu Oct 12, 2006 4:22 pm Post subject: |
|
|
Why would I need that? If I only want to play music. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Oct 12, 2006 9:16 pm Post subject: |
|
|
then stop *every* program that may use the audio device, and then retry? _________________ The End of the Internet! |
|
Back to top |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Thu Oct 12, 2006 9:20 pm Post subject: |
|
|
Done that, tried with xmms as well which works. But I want mpd |
|
Back to top |
|
|
suicidal_orange_II Apprentice
Joined: 04 Sep 2004 Posts: 299
|
Posted: Fri Oct 13, 2006 12:15 pm Post subject: |
|
|
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 |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Fri Oct 13, 2006 6:15 pm Post subject: |
|
|
Code: | unrecognized paramater in conf at line 7: audio_output { |
:/ |
|
Back to top |
|
|
kupo n00b
Joined: 04 Dec 2004 Posts: 54
|
Posted: Fri Oct 13, 2006 6:21 pm Post subject: |
|
|
I upgraded mpd to ~x86 and now it works |
|
Back to top |
|
|
|