You are not logged in.

#1 2008-04-25 21:58:48

Flavious
Member
Registered: 2007-11-24
Posts: 49

Music player daemon + ALSA

I'm trying to set up MPD to play music. I'm able co view and set server settings with mpd clients like mpc and gmpc, however it doesn't react to the play command. My mpd.conf:

 

5 music_directory                 "~/music"
  6 playlist_directory              "~/playlists"
  7 db_file                         "~/mpd.db"
  8 log_file                        "~/mpd.log"
  9 error_file                      "~/mpd.error"
27 pid_file                        "/var/run/mpd/mpd.pid"
34 state_file                      "/var/lib/mpd/mpdstate"
 46 user                            "flav"
 50 bind_to_address                 "127.0.0.1"
 51 #bind_to_address                 "any"
 52 port                            "6600"
 68 password                        "pass@read,add,control,admin"
 75 default_permissions             "read,add,control,admin"
 92 audio_output {
 93         type                    "alsa"
 94         name                    "My ALSA Device"
 97 }
142 mixer_type                      "alsa"
143 mixer_device                    "default"
144 mixer_control                   "PCM"

As I said, I'm able to communicate with the server, I can connect. I'm also able to play music with other players (ie, vlc)

Offline

#2 2008-04-26 05:50:10

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Music player daemon + ALSA

Try commenting out the alsa lines - it worked for me with alsa without those...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-04-26 05:56:22

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: Music player daemon + ALSA

comment out the audio_output lines, u dont need them.
But keep the mixer lines so you can use volume control in the players.


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#4 2008-04-26 12:14:34

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: Music player daemon + ALSA

check ~/mpd.error for information
also try to try to run mpd with these switches, to find the source of the problem...
mpd --stdout --verbose

Offline

Board footer

Powered by FluxBB