Fr3eMaN
29.11.05, 20:37
hi, ich habe mpd installiert und habe ein paar probleme hier erstmal die config :
# MPD CONFIG FILE
# For a full description of all config parameters,
# Check the mpd man page, "man mpd".
# and /usr/share/doc/packages/mpd/mpdconf.example
########## SET THIS !!!!!! ########
music_directory "/home/Fr3eMaN/mp3"
########## REQUIRED ###############
port "6600"
playlist_directory "/home/Fr3eMaN/mp3"
log_file "/home/Fr3eMaN/mp3/mpd.log"
error_file "/home/Fr3eMaN/mp3/mpd.error"
pid_file "/home/Fr3eMaN/mp3/mpd.pid"
###################################
###################################
# EVERYTHING ELSE IS OPTIONAL
###################################
################## AUDIO OUTPUT ##########################
#
# use this if you want to use OSS audio output
#audio_output {
# type "oss"
# name "my OSS sound card"
# device "/dev/dsp" # optional
# format "44100:16:2" #optional
#}
#
# use this if you want to use ALSA audio output
audio_output {
type "alsa"
name "my ALSA device"
device "hw:0,0" # optional
# format "44100:16:2" #optional
}
#
# as a last resort, try using libao
#audio_output {
# type "ao"
# name "default ao output"
#}
#
#
# Set this if you have problems
# playing audio files.
# This will resample your music so
# that it comes out at the set rate.
#
#audio_output_format "44100:16:2"
#
################################################## ########
################# SHOUT STREAMING ########################
#
# Set this to allow mpd to stream its output to icecast2
# (i.e. mpd is a icecast2 source)
#
#audio_output {
# type "shout"
# name "my cool stream"
# host "hostname"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
#
# Optional Paramters
# user "source"
# description "here's my long descriptiion"
# genre "jazz"
#} # end of audio_output
#
################################################## ########
######### FILESYSTEM SETTINGS ###########
# If filenames or directory names don't
# display correctly, set the character
# set (encoding) for the filesystem
# here. The fileystem encoding is
# typically "ISO-8859-1" or "UTF-8".
# After changing fileystem_charset,
# recreate the db: mpd --create-db
filesystem_charset "UTF-8"
#########################################
########### OPTIONAL FILES ##############
# Location of DB file
db_file "/home/Fr3eMaN/mp3/mpddb"
#
# State file for storing state of mpd
# when it is shutdown. MPD will restore
# the state (i.e. load playlist, start
# playing, etc) upon restart.
state_file "/var/lib/mpd/mpdstate"
##########################################
######### VOLUME MIXER ############
# for OSS Mixer
#mixer_type "oss"
#mixer_device "/dev/mixer"
#mixer_control "Pcm"
# for Alsa Mixer
mixer_type "alsa"
mixer_device "default"
mixer_control "master"
# for Software Mixer
#mixer_type "software"
##################################
################# REPLAYGAIN #############################
#
# Use Replay Gain (album or title)
# http://www.replaygain.org
#
#replaygain "album"
#
# Sets the pre-amp used for files that have replaygain
# info. Valid values are between -15 to 15 (in dB).
#
#replaygain_preamp "0"
#
################################################## ########
######### AUDIO OUTPUT ###########
# misc audio output options
#audio_write_size "1024"
##################################
#### OUTPUT BUFFER SETTINGS ######
#buffer_size "2048"
#buffer_before_play "25%"
##################################
########### SECURITY SETTINGS ############
# if you start mpd as root, its recommended
# you specify a a user for mpd to run.
user "Fr3eMaN"
# to only allow connections from localhost
# Specify one or more passwords required to
# access mpd:
#password "password1@read,add,control,admin"
#password "password2@read"
# Specify permissions used by default when no password is
# given by for a connection/client.
#default_permissions "read,add,control,admin"
##########################################
########### MISC OPTIONS #################
#max_playlist_length "4096"
#connection_timeout "60"
#max_connections "5"
#max_command_list_size "2048"
#max_output_buffer_size "2048"
#save_absolute_paths_in_playlists "no"
# log_level can be "default", "secure", "verbose"
#log_level "default"
#########################################
mpd --create-db klappt wunderbar.Jetzt weis ich aber nicht weiter. Wenn ich jetzt nur mpd eingebe bekomme ich folgende Meldung :
problem opening error file "/home/Fr3eMaN/mp3/mpd.error" (config line 12) for writing
kann mir wer helfen? gibt es irgendwo nen tutorial oder ne Anleitung zur Benutzung von mpd?
Fr3eMaN
# MPD CONFIG FILE
# For a full description of all config parameters,
# Check the mpd man page, "man mpd".
# and /usr/share/doc/packages/mpd/mpdconf.example
########## SET THIS !!!!!! ########
music_directory "/home/Fr3eMaN/mp3"
########## REQUIRED ###############
port "6600"
playlist_directory "/home/Fr3eMaN/mp3"
log_file "/home/Fr3eMaN/mp3/mpd.log"
error_file "/home/Fr3eMaN/mp3/mpd.error"
pid_file "/home/Fr3eMaN/mp3/mpd.pid"
###################################
###################################
# EVERYTHING ELSE IS OPTIONAL
###################################
################## AUDIO OUTPUT ##########################
#
# use this if you want to use OSS audio output
#audio_output {
# type "oss"
# name "my OSS sound card"
# device "/dev/dsp" # optional
# format "44100:16:2" #optional
#}
#
# use this if you want to use ALSA audio output
audio_output {
type "alsa"
name "my ALSA device"
device "hw:0,0" # optional
# format "44100:16:2" #optional
}
#
# as a last resort, try using libao
#audio_output {
# type "ao"
# name "default ao output"
#}
#
#
# Set this if you have problems
# playing audio files.
# This will resample your music so
# that it comes out at the set rate.
#
#audio_output_format "44100:16:2"
#
################################################## ########
################# SHOUT STREAMING ########################
#
# Set this to allow mpd to stream its output to icecast2
# (i.e. mpd is a icecast2 source)
#
#audio_output {
# type "shout"
# name "my cool stream"
# host "hostname"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
#
# Optional Paramters
# user "source"
# description "here's my long descriptiion"
# genre "jazz"
#} # end of audio_output
#
################################################## ########
######### FILESYSTEM SETTINGS ###########
# If filenames or directory names don't
# display correctly, set the character
# set (encoding) for the filesystem
# here. The fileystem encoding is
# typically "ISO-8859-1" or "UTF-8".
# After changing fileystem_charset,
# recreate the db: mpd --create-db
filesystem_charset "UTF-8"
#########################################
########### OPTIONAL FILES ##############
# Location of DB file
db_file "/home/Fr3eMaN/mp3/mpddb"
#
# State file for storing state of mpd
# when it is shutdown. MPD will restore
# the state (i.e. load playlist, start
# playing, etc) upon restart.
state_file "/var/lib/mpd/mpdstate"
##########################################
######### VOLUME MIXER ############
# for OSS Mixer
#mixer_type "oss"
#mixer_device "/dev/mixer"
#mixer_control "Pcm"
# for Alsa Mixer
mixer_type "alsa"
mixer_device "default"
mixer_control "master"
# for Software Mixer
#mixer_type "software"
##################################
################# REPLAYGAIN #############################
#
# Use Replay Gain (album or title)
# http://www.replaygain.org
#
#replaygain "album"
#
# Sets the pre-amp used for files that have replaygain
# info. Valid values are between -15 to 15 (in dB).
#
#replaygain_preamp "0"
#
################################################## ########
######### AUDIO OUTPUT ###########
# misc audio output options
#audio_write_size "1024"
##################################
#### OUTPUT BUFFER SETTINGS ######
#buffer_size "2048"
#buffer_before_play "25%"
##################################
########### SECURITY SETTINGS ############
# if you start mpd as root, its recommended
# you specify a a user for mpd to run.
user "Fr3eMaN"
# to only allow connections from localhost
# Specify one or more passwords required to
# access mpd:
#password "password1@read,add,control,admin"
#password "password2@read"
# Specify permissions used by default when no password is
# given by for a connection/client.
#default_permissions "read,add,control,admin"
##########################################
########### MISC OPTIONS #################
#max_playlist_length "4096"
#connection_timeout "60"
#max_connections "5"
#max_command_list_size "2048"
#max_output_buffer_size "2048"
#save_absolute_paths_in_playlists "no"
# log_level can be "default", "secure", "verbose"
#log_level "default"
#########################################
mpd --create-db klappt wunderbar.Jetzt weis ich aber nicht weiter. Wenn ich jetzt nur mpd eingebe bekomme ich folgende Meldung :
problem opening error file "/home/Fr3eMaN/mp3/mpd.error" (config line 12) for writing
kann mir wer helfen? gibt es irgendwo nen tutorial oder ne Anleitung zur Benutzung von mpd?
Fr3eMaN