Solved [Solved] musicpd won't play

I've installed audio/musicpd but it won't play audio files. Options:
Code:
Options        :
	AAC            : off
	AO             : off
	ARCHIVE        : off
	AVAHI          : off
	FFMPEG         : off
	FLAC           : off
	HTTPD          : off
	ID3TAG         : on
	IPV6           : off
	JACK           : off
	LAME           : on
	MDNSRESPONDER  : off
	MIKMOD         : off
	MMS            : off
	MODPLUG        : off
	MUSEPACK       : off
	PULSEAUDIO     : off
	SAMPLERATE     : off
	SHOUTCAST      : off
	SNDFILE        : off
	SQLITE3        : on
	TREMOR         : off
	VORBIS         : off
	WAV            : off

/usr/local/etc/musicpd.conf:
Code:
music_directory		"/home/zsolt/Zene/"
playlist_directory		"/home/zsolt/.mpd/playlists/"
db_file			"/home/zsolt/.mpd/mpd.db"
log_file			"/home/zsolt/.mpd/mpd.log"
pid_file			"/home/zsolt/.mpd/mpd.pid"
state_file			"/home/zsolt/.mpd/mpdstate"
sticker_file			"/var/mpd/.mpd/sticker.sql"
user				"zsolt"
bind_to_address		"127.0.0.1"
port				"6600"
log_level			"verbose"
input {
        plugin "curl"
}
audio_output {
	type		"oss"
	name		"My OSS Device"
	device		"/dev/dsp0.0"	# optional
	format		"44100:16:2"	# optional
	mixer_type      "hardware"	# optional
	mixer_device	"/dev/mixer0"	# optional
}

mpc stats:
Code:
Artists:      6
Albums:      35
Songs:      376

Play Time:    0 days, 0:00:00
Uptime:       0 days, 0:00:13
DB Updated:   Fri Dec 27 17:10:09 2013
DB Play Time: 1 days, 8:44:36
As you can see the database isn't empty.

Start of musicpd:
Code:
config_file: loading file /usr/local/etc/musicpd.conf
path: SetFSCharset: fs charset is: UTF-8
db: reading DB
curl: version 7.33.0
curl: with OpenSSL/1.0.1e
soundcloud: disabling the soundcloud playlist plugin because API key is not set
daemon: opening pid file
daemon: writing pid file
state_file: Loading state file /home/zsolt/.mpd/mpdstate
************* run mpc play ********************* 
client: [0] opened from 127.0.0.1:46666
client: [0] process command "play"
client: [0] command returned 0
client: [0] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [0] process command list returned 0
client: [0] closed

cat anyfile > /dev/dsp0.0 works, plays a "melody" :)

Why doesn't musicpd play anything? What's the solution?
 
Re: musicpd won't play

My fault. MusicPD's queue is empty, should add files:
Code:
mpc add /
And everything is fine.
 
Back
Top