Wikia

Music Player Daemon Community Wiki

Talk:Configuration

521pages on
this wiki

Back to page

unrecognized paramater in conf at line 200: audio_output {


i use standart configs :-(

You are not using a subversion version of mpd, therefore can't use that line.

hmm? where to get a subversion or how does it work in the standart software ? thanks!

Use the config file in your /usr/doc/mpd (mpd.conf.example), If you don't know how to use subversion, then subversion is not for you.

i use this "mpd.conf.example" but i want do stream per icecast2 so i added this config and get this error

I'm not trying to be mean, but icecast support is only in mpd-svn (not in mpd-0.11.5) thus you will only be able to use it if you upgrade to the unstable version of mpd. If you do not know how to do this, or can't figure it out, as I said before you shouldn't do it.

Thanks. btw. when does the nexte stable version come?

It's unknown at the moment, it's slowly progressing. I would expect some time in the next 6 months, but nothing's guaranteed.

=====================Edit

It seems like I have to insert within my config file:

#db_file		"~/.mpd/mpd.db"
state_file "/var/lib/mpd/state"
otherwise mpd --create-db will fail. I'm running ubuntu 6.10 with the repositry version of mpd, any clues?

The example generates an OGG stream. Can MPD also generate an MP3 stream?

On the jack section, it's not clear how to specify the jack-plug as a device in the configuration file. --vininim

I added a sample snippet of the audio_output section which works for me. --Marcus 89.53.32.131 15:48, 31 May 2007 (UTC)

MP3 cannot be used as a stream output due to patent problems generating mp3s.

Initial Configuration for Laptops+Samba+Shared music Library Edit

I think it would be nice to have a initial configuration for those that use MPD on their laptop to listen to music (not as a server only). I what I have in mind is the following: I have 10% of my music on my laptop at $home/Music, the rest is on (1) external usb drive (2) samba servers. The idea is to AVOID the issue of creating database files all the times you connect/unconnect (1) or (2). Someone on the MPD_IRC channel proposed this solution (which I know works for having (1) or (2) AT A TIME, not both):

Create the folder $HOME/media/music/.mpd In it, have your database file (make sure your mpd.conf points to that folder ;-)) as well as all those symlinks for the music on your local computer and all inside such folder.

Now to use when you connect (2) make sure you mount it at $HOME/media/music and that you create a folder .mpd on the root of your "Samba Share". Inside that folder your point all the music with symlinks as you did above but now you can have both local music and samba share music.

Stop Mpd and restart it. What it will do is create a new database on the folder $HOME/media/music and it will NOT erase the "local database" since the folder.

TODO: make the above understandable, also put some /prep to look good, and figure out a way (maybe a bash script) to kill and up the mpd and before it do so check if something is connected (like the samba share) if the samba share is connect pick the right database, etc. etc. I image this would also work if one would start MPD by "hand" and each time would tell MPD which mpd.conf to use. So one could have mpd.conf_local and mpd.conf_samba mpd.conf_usb_external_drive and mpd.conf_usb_external_drive_AND_samba so on. If you know how to do so, please help.

MP3 Icecast support Edit

When will MP3 streaming to Icecast support be included?

Easy configurator Edit

Ummm... This is impossible to figure out. Is there a GUI/Wizard for configuring this?

output to sound card on FreeBSD ? Edit

trying to setup mpd (for use w/ jinzora) on a FreeBSD6.3 box . . maybe I just don't understand the mpdconf.example file, but how would I set up to play to the on board sound card . . (not really sure what ALSA and OSS are) . .

Automated transfer of Problem Report #16350 Edit

The following message was left by Anonymous via PR #16350 on 2008-12-17 02:59:59 UTC

in ALSA dmix Output

audio_output {

       type                    "alsa"
       name                    "Sound Card"
       options                 "dev=dmixer"
       device                  "plug:dmix"

}

for me worked device "plug:dmixer" #dmixER maybe it must be same as the name of slave.pcm "dmixer"

ALSA Software mixer Edit

On the page it says this:

ALSA MPD software volume control
The following is what is needed to get a working software volume control that can be controlled by alsamixer, as well as the mpd volume control. This allows mpd to be lowered in volume, but not the other sounds on your system (or vice-versa)

Which is followed by a pretty long explanation of how to acquire this. I did this by simply adding mixer_type "software" to /etc/mpd.conf. What's with that? --217.136.199.30 21:50, 28 December 2008 (UTC)

ALSA select digital audio out Edit

Selecting a digital audio output from the .asoundrc works only if mpd runs as the same user which owns the .asoundrc. By Default mpd runs as the user mpd and the .asoundrc is located in a different home directory so mpd can't access it. A solution is to either to run mpd as the same user which owns the .asoundrc or to use the global alsa config (/etc/asound.conf)

I think this is worth to mention in the Wiki because it could save a lot of trouble.

Sorry for my poor English :-)

--62.202.226.234 20:54, 24 June 2009 (UTC)

Doesn't work Edit

Is there any way to make this work out of the box? Requiring users to edit a text file is ridiculous.

112.66.178.193 12:52, September 9, 2012 (UTC) Edit

mpd sounds yi--ya--yi--ya' while playing song in flac Edit

thks


os,windows xp,

mpd ver 0.16.8

mpd.conf

music_directory "e:\\s"

playlist_directory ".\\mpd"

db_file ".\\mpd\\db"

log_file ".\\mpd\\log_file"

pid_file ".\\mpd\\pid"

Input #######################################################################

input {

    plugin "curl"

}

Audio Output ################################################################

audio_output {

type "winmm"

name "ESOTERIC USB AUDIO"

device "ESOTERIC USB AUDIO"

}

112.66.178.193 12:52, September 9, 2012 (UTC)



hi,It works OK,but only can play music in 16bit 44.1khz formatted

isn't mpd designed for 24bit 192khz high resolution audio files?

HTTP Server Security Question Edit

Is there any way to configure the build in HTTP Server? I want to use username and password authentication for the HTTP stream, for example username:password@hostname.tld:8000/mpd.ogg --Boldviking (talk) 19:26, May 1, 2013 (UTC)

Around Wikia's network

Random Wiki