HOWTO MPD (Music Player Daemon) + Sonata

Har du en guide til en funktion eller et program? Har du tips og trick, som du gerne vil dele med andre? Post dem her.
eitreach
Indlæg: 2478
Tilmeldt: 24. jul 2007, 19:32
IRC nickname: eitreach
Geografisk sted: København

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf eitreach » 10. nov 2008, 17:07

Jeg har fundet ud af at problemet ligger i pulseaudio. Mpd kører stadigvæk, men jeg har ingen lyd til mpd udenfor gui. Jeg har prøvet at fikse det på mange måder, men har simpelthen givet op, efterhånden.
"A Narn heavy cruiser?!"

Fornuftig opførsel: faq.php#f00
Guide til ooh shiny: viewtopic.php?f=11&t=2189
Guide til 3d-effekter: viewtopic.php?f=11&t=4393

Scrat
Indlæg: 127
Tilmeldt: 5. nov 2008, 12:28
Geografisk sted: Hvidovre

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf Scrat » 10. nov 2008, 17:37

PulseAudio er noget skod !!!

En mulighed var selvfølgelig at afinstallere alt hvad der havde med PulseAudio at gøre og så køre med en ren ALSA ?

Men det bliver nok lidt kompliceret :(
"This is Linux country. If you listen carefully, you can hear Windows reboot..."

Registered Linux user #133791 <|> http://counter.li.org
Registered Ubuntu user #24875 <|> http://ubuntucounter.geekosophical.net

eitreach
Indlæg: 2478
Tilmeldt: 24. jul 2007, 19:32
IRC nickname: eitreach
Geografisk sted: København

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf eitreach » 10. nov 2008, 18:34

Jeg har fundet ud af at det sker, fordi pulseaudio ikke er startet på det tidspunkt. Det virker fint efter jeg selv starter pulseaudio.

Så er sagen bare - hvordan starter jeg pulseaudio før X?
"A Narn heavy cruiser?!"

Fornuftig opførsel: faq.php#f00
Guide til ooh shiny: viewtopic.php?f=11&t=2189
Guide til 3d-effekter: viewtopic.php?f=11&t=4393

eitreach
Indlæg: 2478
Tilmeldt: 24. jul 2007, 19:32
IRC nickname: eitreach
Geografisk sted: København

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf eitreach » 10. nov 2008, 21:05

Ffs. Nu kan jeg ikke bruge mpd, medmindre jeg først sudo killall mpd, og så starter mpd igen. Er det noget du har været ude for?
"A Narn heavy cruiser?!"

Fornuftig opførsel: faq.php#f00
Guide til ooh shiny: viewtopic.php?f=11&t=2189
Guide til 3d-effekter: viewtopic.php?f=11&t=4393

Scrat
Indlæg: 127
Tilmeldt: 5. nov 2008, 12:28
Geografisk sted: Hvidovre

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf Scrat » 10. nov 2008, 21:27

Ja, det skete i starten da jeg havde fået det til at virke.

Ved ikke om den lægger noget autostart ind ved installationen.

Men efter at dræbt den et par gange kører det som det skal.
"This is Linux country. If you listen carefully, you can hear Windows reboot..."

Registered Linux user #133791 <|> http://counter.li.org
Registered Ubuntu user #24875 <|> http://ubuntucounter.geekosophical.net

soundpartner
Indlæg: 3461
Tilmeldt: 27. sep 2008, 23:51
IRC nickname: sound
Geografisk sted: København

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf soundpartner » 23. nov 2008, 11:28

dette ser uper lovende ud. jeg har dog et par spørgsmål inden jeg går i gang.

lad os sige
jeg har en computer stående med mpd. denne har en touchskærm.
er der en god player (kiosk) som "kun" kan ligge ting i playlisten uden brug af tastatur og mus, hvor musikbasen er overskuelig og let navigerbar igen uden brug af tstatur og mus
som sådan er jeg ikke sønderligt interesseret i at folk kan skippe numre eller fjerne numre fra playlisten

ok lad os så sige jeg har fået sat maskinen op til at kunne det den skal kunne.
kan jeg så "logge ind" på maskinen fa en anden maskine og påvirke playlisten (denne gng med alle funktioner)

min ide går faktisk en smule imod om der f.ek findes et webinterface så man via en browser på lad os sige http;//localhost/musik.html kan styre musikken kan sætte ting i playleste, og ikke andet.

fra andre maskiner ku man så gå på http;//jukebox/musik.htm med samme side og få jukeboxen til at spille hvad man ønsker

fra MIN maskine ku jeg så gå på http://jukebox/hemmelig.htm og administrere playlisten i detaljer, flytte numre, skippe numre osv


min motivation er følgende. jeg ser 3 anvendelser.

1: jukeboxen står i reolen sammen med tv, anlæg osv. der er en touchskærm forbundet hvis man nu ellers gidder at bevæge sig over til den, men ellers kan det hele let fjernstyres fra en eee mens man sidder mageligt i sofaen.
her må der gerne være fuld kontrol over alt over det hele

2: jukeboxen står i reolen sqmmen med anlæg osv og der er touchskærm forbundet.
familien er på besøg og ungerne vil høre musik. de må gerne ligge ting i playlisten, men må ikke skippe numre hele tiden. De bliver derfor nød til at høre numrene færdige hfør den skipper viddere til næste nummer (og vi andre slipper for at høre ½ numre hele tiden hvilket er pænt belastende)
Jeg har dog mulighed for at logge ind fra en anden maskine og slette 46 numre (de 5 samme der går igen og igen) fra hits for kids fra playlisten og sætte noget doors/andet voksenmusik på når vi voksne er blevet træt af ungernes musik

3: vennerne er initeret til fest i forsamlingshuset og jukeboxen er gemt af vejen i et skab. den er forbundet til anlæget (som forøvrigt står i et hjørne langt væk fra dansegulvet)
ved dansegulvet placeres en eee med touchskærm (kun touchskærmen er tilgængelig for pøblen, eller det ku blive en af de nye eee-tops uden tastatur og mus forbundet)
de kan som børnene tidligere kun ligge musik i playlisten og ikke andet.
jeg har dog muligheden via en anden computer at logge ind og fjerne numre når nu vi har hørt den knald røde gummibåd 18 gange i træk.


giver det mening for nogen? og er det muligt
Selvudnævnt guru når det drejer sig om mobilt bredbånd

Webmaster og stifter af:
Billede
Hvor du finder scripts til en hver situation

Billede

Scrat
Indlæg: 127
Tilmeldt: 5. nov 2008, 12:28
Geografisk sted: Hvidovre

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf Scrat » 24. nov 2008, 08:27

Emne nr. 1, 2 og 3 er vist uden for rammerne af denne HowTo.

Men jeg vil anbefale dig at tage et kig på http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki.

Der er også links til MPD's forum.

Med hensyn til webinterface findes der et par stykker her http://mpd.wikia.com/wiki/Clients#Web_Clients

Håber du kan bruge det.

Hvis du får noget fornuftigt op og køre så skriv i tråden her :D
"This is Linux country. If you listen carefully, you can hear Windows reboot..."

Registered Linux user #133791 <|> http://counter.li.org
Registered Ubuntu user #24875 <|> http://ubuntucounter.geekosophical.net

tola5
Indlæg: 84
Tilmeldt: 4. aug 2007, 21:45

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf tola5 » 12. apr 2010, 17:23

hej undskyld jeg bringer sådan en gamel en op men den duker op på google så måske andre også kan have brug for hjælp

jeg er ved af prøve af sæte MPD op så jeg kan streme det til min Iphone med mpod men kan ikke få iphonen til af kune loge på den har læst en del men kan ikke få det til af virke håber nolge kan se hvad jeg gør forkert

har læst de heder http://www.nepherte.be/howto-use-mpd-and-ncmpc-lik...
og fult dem http://www.nepherte.be/howto-mpd-and-your-iphone/

skal bruge MPOD til af styre dem og streme lyden til min Iphone http://www.katoemba.net/makesnosenseatall/mpod/
os er ubuntu 9.10 håber nogle kan se hvad jeg gør forkert

# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.

# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
music_directory "/home/tobias/Musik"
#
# This setting sets the MPD internal playlist directory. The purpose of this
# directory is storage for playlists created by MPD. The server will use
# playlist files not created by the server but only if they are in the MPD
# format. This setting defaults to playlist saving being disabled.
#
playlist_directory "~/.mpd/playlists"
#
# This setting sets the location of the MPD database. This file is used to
# load the database at server start up and store the database while the
# server is not up. This setting defaults to disabled which will allow
# MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol.
#
db_file "~/.mpd/mpd.db"
#
# These settings are the locations for the daemon log files for the daemon.
# These logs are great for troubleshooting, depending on your log_level
# settings.
#
# The special value "syslog" makes MPD use the local syslog daemon. This
# setting defaults to logging to syslog, otherwise logging is disabled.
#
log_file "~/.mpd/mpd.log"
#
# This setting sets the location of the file which stores the process ID
# for use of mpd --kill and some init scripts. This setting is disabled by
# default and the pid file will not be stored.
#
pid_file "~/.mpd/mpd.pid"
#
# This setting sets the location of the file which contains information about
# most variables to get MPD back into the same general shape it was in before
# it was brought down. This setting is disabled by default and the server
# state will be reset on server start up.
#
state_file "~/.mpd/mpdstate"
#
###############################################################################

# General music daemon options ################################################
#
# This setting specifies the user that MPD will run as. MPD should never run as
# root and you may use this setting to make MPD change its user ID after
# initialization. This setting is disabled by default and MPD is run as the
# current user.
#
user "tobias"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other then the default, any.
# This setting can deny access to control of the daemon.
#
# For network
bind_to_address "any"
#
# And for Unix Socket
#bind_to_address "/var/run/mpd/socket"
#
# This setting is the TCP port that is desired for the daemon to get assigned
# to.
#
#port "6600"
#
# This setting controls the type of information which is logged. Available
# setting arguments are "default", "secure" or "verbose". The "verbose" setting
# argument is recommended for troubleshooting, though can quickly stretch
# available resources on limited hardware storage.
#
#log_level "default"
#
# If you have a problem with your MP3s ending abruptly it is recommended that
# you set this argument to "no" to attempt to fix the problem. If this solves
# the problem, it is highly recommended to fix the MP3 files with vbrfix
# (available from ), at which
# point gapless MP3 playback can be enabled.
#
#gapless_mp3_playback "yes"
#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#
#save_absolute_paths_in_playlists "no"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. Optionally, 'comment' can be added to this
# list.
#
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
#
###############################################################################

# Symbolic link behavior ######################################################
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links outside of the configured music_directory.
#
#follow_outside_symlinks "yes"
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links inside of the configured music_directory.
#
#follow_inside_symlinks "yes"
#
###############################################################################

# Zeroconf / Avahi Service Discovery ##########################################
#
# If this setting is set to "yes", service information will be published with
# Zeroconf / Avahi.
#
#zeroconf_enabled "yes"
#
# The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network.
#
#zeroconf_name "Music Player"
#
###############################################################################

# Permissions #################################################################
#
# If this setting is set, MPD will require password authorization. The password
# can setting can be specified multiple times for different password profiles.
#
#password "test@read,add,control,admin"
#
# This setting specifies the permissions a user has who has not yet logged in.
#
#default_permissions "read,add,control,admin"
#
###############################################################################

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

input {
plugin "curl"
# proxy "proxy.isp.com:8080"
# proxy_user "user"
# proxy_password "password"
}

#
###############################################################################

# Audio Output ################################################################
#
# MPD supports various audio output types, as well as playing through multiple
# audio outputs at the same time, through multiple audio_output settings
# blocks. Setting this block is optional, though the server will only attempt
# autodetection for one sound card.
#
# See for examples of
# other audio outputs.
#
# An example of an ALSA output:
#
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
format "44100:16:2" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}
#
# An example of an OSS output:
#
#audio_output {
# type "oss"
# name "My OSS Device"
# device "/dev/dsp" # optional
# format "44100:16:2" # optional
# mixer_device "/dev/mixer" # optional
# mixer_control "PCM" # optional
#}
#
# An example of a shout output (for streaming to Icecast):
#
#audio_output {
# type "shout"
# encoding "ogg" # optional
# name "11"
# host "localhost"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
# protocol "icecast2" # optional
# user "source" # optional
# description "My Stream Description" # optional
# genre "jazz" # optional
# public "no" # optional
# timeout "2" # optional
#}
#
# An example of a httpd output (built-in HTTP streaming server):
#
#audio_output {
# type "httpd"
# name "My HTTP Stream"
# encoder "vorbis" # optional, vorbis or lame
# port "8000"
# quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
# format "44100:16:1"
#}
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
#
#audio_output {
# type "pulse"
# name "My Pulse Output"
# server "remote_server" # optional
# sink "remote_server_sink" # optional
#}
#
## Example "pipe" output:
#
#audio_output {
# type "pipe"
# name "my pipe"
# command "aplay -f cd 2>/dev/null"
## Or if you're want to use AudioCompress
# command "AudioCompress -m | aplay -f cd 2>/dev/null"
## Or to send raw PCM stream through PCM:
# command "nc example.org 8765"
# format "44100:16:2"
#}
#
## An example of a null output (for no audio output):
#
#audio_output {
# type "null"
# name "My Null Output"
#}
#
# This setting will change all decoded audio to be converted to the specified
# format before being passed to the audio outputs. By default, this setting is
# disabled.
#
#audio_output_format "44100:16:2"
#
# If MPD has been compiled with libsamplerate support, this setting specifies
# the sample rate converter to use. Possible values can be found in the
# mpd.conf man page or the libsamplerate documentation. By default, this is
# setting is disabled.
#
#samplerate_converter "Fastest Sinc Interpolator"
#
###############################################################################

# Volume control mixer ########################################################
#
# These are the global volume control settings. By default, this setting will
# be detected to the available audio output device, with preference going to
# hardware mixing. Hardware and software mixers for individual audio_output
# sections cannot yet be mixed.
#
# An example for controlling an ALSA, OSS or Pulseaudio mixer; If this
# setting is used other sound applications will be affected by the volume
# being controlled by MPD.
#
#mixer_type "hardware"
#
# An example for controlling all mixers through software. This will control
# all controls, even if the mixer is not supported by the device and will not
# affect any other sound producing applications.
#
#mixer_type "software"
#
# This example will not allow MPD to touch the mixer at all and will disable
# all volume controls.
#
#mixer_type "disabled"
#
###############################################################################

# Normalization automatic volume adjustments ##################################
#
# This setting specifies the type of ReplayGain to use. This setting can have
# the argument "album" or "track". See for more
# details. This setting is disabled by default.
#
#replaygain "album"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
#
#replaygain_preamp "0"
#
# This setting enables on-the-fly normalization volume adjustment. This will
# result in the volume of all playing audio to be adjusted so the output has
# equal "loudness". This setting is disabled by default.
#
#volume_normalization "no"
#
###############################################################################

# MPD Internal Buffering ######################################################
#
# This setting adjusts the size of internal decoded audio buffering. Changing
# this may have undesired effects. Don't change this if you don't know what you
# are doing.
#
#audio_buffer_size "2048"
#
# This setting controls the percentage of the buffer which is filled before
# beginning to play. Increasing this reduces the chance of audio file skipping,
# at the cost of increased time prior to audio playback.
#
#buffer_before_play "10%"
#
###############################################################################

# Resource Limitations ########################################################
#
# These settings are various limitations to prevent MPD from using too many
# resources. Generally, these settings should be minimized to prevent security
# risks, depending on the operating resources.
#
#connection_timeout "60"
#max_connections "10"
#max_playlist_length "16384"
#max_command_list_size "2048"
#max_output_buffer_size "8192"
#
###############################################################################

# Character Encoding ##########################################################
#
# If file or directory names do not display correctly for your locale then you
# may need to modify this setting. After modification of this setting mpd
# --create-db must be run to change the database.
#
filesystem_charset "UTF-8"
#
# This setting controls the encoding that ID3v1 tags should be converted from.
#
id3v1_encoding "UTF-8"
#
######################################################

Brandt
Indlæg: 166
Tilmeldt: 17. maj 2009, 13:04
Geografisk sted: Sønderborg

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf Brandt » 12. apr 2010, 21:34

Kan du ikke få lov at connecte til mpd via mpod eller kan du ikke streame lyden, eller er det begge dele der driller.

Jeg bruger selv mpod på min ipod til at styre afspille af min musik. Min headless server er forbundet til mit anlæg i stuen.

Når man kigger på afsnittet:

Kode: Vælg alt

# An example of an ALSA output:
#
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
format "44100:16:2" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}

Ser det ud som om at du har sat mpd til at output skal være dit lydkort.

Og hvis du fjerne # foran

Kode: Vælg alt

#port "6600"

Så burde du kunne få adgang via din Iphone.

Jeg har ikke spekuleret i om man kan streame lyden direkte til mpod, da jeg ikke har haft behov for dette.
Men det skulle være muligt via shoutcast eller http.
Se dette link http://mpd.wikia.com/wiki/Configuration#Built-in_HTTP_streaming

Til din inspiration kan du kaste et kig på mon mpd.con fil:

Kode: Vælg alt

# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.

######################## REQUIRED PATHS ########################
# You can put symlinks in here, if you like. Make sure that
# the user that mpd runs as (see the 'user' config parameter)
# can read the files in this directory.
music_directory         "/home/xbmc/media/Musik"
playlist_directory      "/home/xbmc/.mpd/playlists"
db_file                 "/home/xbmc/.mpd/mpd.db"
log_file                "/home/xbmc/.mpd/mpd.log"
error_file              "/home/xbmc/.mpd/errors.log"
################################################################


######################## OPTIONAL PATHS ########################
#
# If you wish to use mpd --kill to stop MPD, then you must
# specify a file here in which to store MPD's process ID.
#
pid_file                "/home/xbmc/.mpd/mpd.pid"
#
# If specified, MPD will save its current state (playlist,
# current song, playing/paused, etc.) at exit.  This will be
# used to restore the session the next time it is run.
#
state_file              "/home/xbmc/.mpd/mpdstate"
#
################################################################


######################## DAEMON OPTIONS ########################
#
# If started as root, MPD will drop root privileges and run as
# this user instead.  Otherwise, MPD will run as the user it was
# started by.  If left unspecified, MPD will not drop root
# privileges at all (not recommended).
#
user                            "xbmc"
#
# The address and port to listen on.
#
bind_to_address                 "any"
port                            "6600"
#
# If the address is a path, then a UNIX domain socket will be
# created instead of listening on a TCP port.
#
#bind_to_address                 "/var/run/mpd/sock"
#
# Controls the amount of information that is logged.  Can be
# "default", "secure", or "verbose".
#
#log_level                       "default"
#
################################################################


########################### ZEROCONF ###########################
#
# If yes, service information will be published with Zeroconf.
#
#zeroconf_enabled                "yes"
#
# The service name to publish.  This name should be unique on
# your local network.
#
#zeroconf_name                   "Music Player"
#
################################################################


########################## PERMISSIONS #########################
#
# MPD can require that users specify a password before using it.
# You may specify one ore more here, along with what users who
# log in with that password are allowed to do.
#
#password                        "password@read,add,control,admin"
#
# Specifies what permissions a user who has not logged in with a
# password has.  By default, all users have full access to MPD
# if no password is specified above, or no access if one or
# more passwords are specified.
#
#default_permissions             "read,add,control,admin"
#
################################################################


########################## AUDIO OUTPUT ########################
#
# MPD supports many audio output types, as well as playing
# through multiple audio outputs at the same time.  You can
# specify one or more here.  If you don't specify any, MPD will
# automatically scan for a usable audio output.
#
# See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
# for examples of other audio outputs.
#
# An example of an ALSA output:
#
audio_output {
        type                    "alsa"
        name                    "My ALSA Device"
        device                  "hw:0,1"     # optional
#       format                  "44100:16:2" # optional
}
#
# An example of an OSS output:
#
#audio_output {
#        type                    "oss"
#        name                    "My OSS Device"
#        device                  "/dev/dsp"   # optional
#        format                  "44100:16:2" # optional
#}
#
# An example of a shout output (for streaming to Icecast):
#
#audio_output {
#        type                    "shout"
#        encoding                "ogg"                   # optional
#        name                    "My Shout Stream"
#        host                    "localhost"
#        port                    "8000"
#        mount                   "/mpd.ogg"
#        password                "hackme"
#        quality                 "5.0"
#        bitrate                 "128"
#        format                  "44100:16:1"
#        user                    "source"                # optional
#        description             "My Stream Description" # optional
#        genre                   "jazz"                  # optional
#        public                  "no"                    # optional
#        timeout                 "2"                     # optional
#}
#
# An example of a null output (for no audio output):
#
#audio_output {
#        type                    "null"
#        name                    "My Null Output"
#}
#
# Force all decoded audio to be converted to this format before
# being passed to the audio outputs.
#
#audio_output_format             "44100:16:2"
#
# If MPD has been compiled with libsamplerate support, this
# specifies the sample rate converter to use.  Possible
# values can be found in the mpd.conf man page or the
# libsamplerate documentation.
#
#samplerate_converter            "Fastest Sinc Interpolator"
#
################################################################


############################# MIXER ############################
#
# MPD needs to know what mixer settings to change when you
# adjust the volume.  If you don't specify one here, MPD will
# pick one based on which ones it was compiled with support for.
#
# An example for controlling an ALSA mixer:
#
#mixer_type                      "alsa"
#mixer_device                    "default"
#mixer_control                   "Master"
#
# An example for controlling an OSS mixer:
#
#mixer_type                      "oss"
#mixer_device                    "/dev/mixer"
#mixer_control                   "PCM"
#
# If you want MPD to adjust the volume of audio sent to the
# audio outputs, you can tell it to use the software mixer:
#
mixer_type                      "software"
#
################################################################


######################### NORMALIZATION ########################
#
# Specifies the type of ReplayGain to use.  Can be "album" or
# "track".  ReplayGain will not be used if not specified.  See
# <http://www.replaygain.org> for more details.
#
#replaygain                      "album"
#
# Sets the pre-amp used for files that have ReplayGain tags.
#
#replaygain_preamp               "0"
#
# Enable on the fly volume normalization.  This will cause the
# volume of all songs played to be adjusted so that they sound
# as though they are of equal loudness.
#
#volume_normalization            "no"
#
################################################################


########################### BUFFERING ##########################
#
# The size of the buffer containing decoded audio.  You probably
# shouldn't change this.
#
#audio_buffer_size               "2048"
#
# How much of the buffer to fill before beginning to play.
# Increase this if you hear skipping when changing songs.
#
#buffer_before_play              "10%"
#
# Similar options for the HTTP stream buffer.  If you hear
# skipping while playing HTTP streams, you may wish to increase
# these.
#
#http_buffer_size                "128"
#http_prebuffer_size             "25%"
#
################################################################


########################### HTTP PROXY #########################
#
# Specifies the HTTP proxy to use for playing HTTP streams.
#
#http_proxy_host                 "proxy.isp.com"
#http_proxy_port                 "8080"
#http_proxy_user                 "user"
#http_proxy_password             "password"
#
################################################################


############################# LIMITS ###########################
#
# These are various limits to prevent MPD from using too many
# resources.  You should only change them if they start
# restricting your usage of MPD.
#
#connection_timeout              "60"
#max_connections                 "5"
#max_playlist_length             "16384"
#max_command_list_size           "2048"
#max_output_buffer_size          "8192"
#
################################################################


###################### CHARACTER ENCODINGS #####################
#
# If file or directory names do not display correctly, then you
# may need to change this.  In most cases it should be either
# "ISO-8859-1" or "UTF-8".  You must recreate your database
# after changing this (use mpd --create-db).
#
filesystem_charset              "UTF-8"
#
# The encoding that ID3v1 tags should be converted from.
#
id3v1_encoding                  "UTF-8"
#
################################################################


######################### OTHER OPTIONS ########################
#
# Try disabling this if you have MP3s which appear to end
# abruptly.  If this solves the problem, it is highly
# recommended that you fix your MP3s with vbrfix (available from
# <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
# point you can re-enable support for gapless MP3 playback.
#
#gapless_mp3_playback             "yes"
#
# Enable this if you wish to use your MPD created playlists in
# other music players.
#
#save_absolute_paths_in_playlists "no"
#
# A list of tag types that MPD will scan for and make available
# to clients.
#
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
#
################################################################


Håber det bragte dig på rette spor.
/Brandt

Brandt
Indlæg: 166
Tilmeldt: 17. maj 2009, 13:04
Geografisk sted: Sønderborg

Re: HOWTO MPD (Music Player Daemon) + Sonata

Indlægaf Brandt » 17. apr 2010, 13:55

Fik du det til at virke?

Tilbage til "Guides og HowTo's"

Hvem er online

Brugere der læser dette forum: Ingen og 0 gæster