[Eisfair] mpd Bräuchte Hilfe

Friedhold Schuster f.schuster at gmx.de
Fr Feb 17 14:07:51 CET 2017


Hallo an alle,

ich habe den mpd installiert.

die /etc/mpd.conf habe ich am Ende angehangen.

Leider kann sich kein Client mit Port 6600 (z.B. Gmpc unter Windows 
(Fehlermeldung: errorcode 13: problems connecting to "ip des Eis" on 
Port 6600), MPDroid mit Android) verbinden. Ich möchte den mpd auch 
unter Kodi ansprechen.

Ich habe einige MPD auf Raspberries installiert, und dort keine Probleme 
bekommen.

Meine Daten:

/var/lib/mpd/database ist 650 kb groß und damit sind wohl auch sehr 
viele Titel schon drin. Somit scheint der mpd erstmal zu rennen.

Im /var/log/mpd.log sind folgende Fehlermeldungen:

---------------------------------
17 08:00 : errno: Failed to register /data2/platte1/musik/MP3-FS: 
inotify_add_watch() has failed: No space left on device

Platz ist genug da, alle Platten sind nur halbvoll.

eishome # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        16G  1.4G   14G  10% /
tmpfs           979M  312K  978M   1% /run
devtmpfs        978M     0  978M   0% /dev
/dev/sda1        47M   17M   28M  39% /boot
/dev/sda4       101G  188M   95G   1% /data
tmpfs           979M     0  979M   0% /run/shm
/dev/sdc1       1.9T  1.4T  505G  73% /data2/plattealt
/dev/sdd1       2.8T  1.1T  1.8T  37% /data2/platte1
/dev/sdb1       3.7T  1.2T  2.6T  32% /data2/plattefoto




Kann mir bitte eventuell jemand bei der Rechtevergabe helfen, falls es 
daran liegt?


-------------------------------------
Die Clients sind auf Port 6600 eingestellt, so wie in der /etc/mpd.conf

Muss der Port 6600 noch irgenwie freigegeben werden? Alle Clients sind 
im gleichen Netz.

Fehlermeldung im Log:

Feb 17 08:00 : server_socket: bind to '0.0.0.0:8000' failed: Address 
already in use (continuing anyway, because binding to '[::]:8000' succeeded)

wo kommt der Port 8000 her? sollte es nicht 6600 sein?

Kann ich nochwas liefern?

Die Soundausgabe selbst soll späteres Problem werden.



Dankeschön Friedhold

--------------------------------------------------------------------------------------------------------------

/etc/mpd.conf

# Files and directories 
-----------------------------------------------------------
music_directory      "/data2/platte1/musik"
db_file              "/var/lib/mpd/database"
playlist_directory   "/data2/platte1/playlists"
log_file             "/var/log/mpd.log"
pid_file             "/run/mpd.pid"
state_file           "/var/lib/mpd/state"
sticker_file         "/var/lib/mpd/sticker.sql"

# General music options 
-----------------------------------------------------------
user                 "root"
group                "nogroup"
bind_to_address      "localhost"
bind_to_address      "/run/mpd/socket"
port                 "6600"
log_level            "default"
gapless_mp3_playback "yes"
restore_paused       "yes"
save_absolute_paths_in_playlists "yes"
auto_update          "yes"

# Symbolic link behavior 
----------------------------------------------------------
follow_outside_symlinks          "yes"
follow_inside_symlinks           "yes"

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

# Audio Output 
--------------------------------------------------------------------

audio_output {
     type                "alsa"
     name                "My ALSA Device"
     device              "hw:0,0"
     mixer_type          "hardware"
     format              "44100:16:2"
     mixer_device        "default"
     mixer_control       "leer"
}

audio_output {
     type                "httpd"
     name                "My HTTP Stream"
     encoder             "vorbis"   # optional, vorbis or lame
     port                "8000"
#    bind_to_address    "0.0.0.0"
#    quality            "5.0"                       # do not define if 
bitrate is defined
     bitrate             "128"                       # do not define if 
quality is defined
     format              "44100:16:2"
#    max_clients        "0"                         # optional 0=no limit
}

audio_output {
     type                "shout"
     encoding            "lame"
     name                "My Shout Steam"
     host                "localhost"
     port                "8000"
     mount               "/mpd.mp3"
     password            "hackme"
     bitrate             "256"
     format              "44100:16:2"
     protocol            "icecast2"
}

# MPD Internal Buffering --------------------------------------- 
-------------
audio_buffer_size           "2048"
buffer_before_play          "10%"

# Character Encoding ------------------------------------------ 
--------------
filesystem_charset          "UTF-8"
id3v1_encoding              "ISO-8859-1"

# Normaliztion automatic volume 
adjustments-----------------------------------
replaygain                  "off"
replaygain_preamp           "0"
replaygain_missing_preamp   "0"
replaygain_limit            "yes"
volume_normalization        "yes"


----------------------------------------------------------------------------------


Mehr Informationen über die Mailingliste Eisfair