mpd hängt sich zufällig bei Liedwechsel auf

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Seit ein paar Tagen habe ich das Problem das sich mein mpd-server auf meinem pi zufällig aufhängt.

    Das ganze macht sich bemerkbar in dem bei einem manuellen oder automatischen Liedwechsel das nächste Lied nicht mehr gespielt wird. DIe Ausgabe von mpc status zeigt danach dauerhaft:

    Agraviats - FILLS DEL SOL
    [playing] #194/7014 0:01/3:35 (0%)
    volume: 90% repeat: off random: on single: off consume: off

    Des weiteren kann ich danach auch nicht mehr mit z.b mpc next auf das nächste Lied schalten. Mache ich das kommt danach nicht einmal mehr die obrige ausgabe von mpc status sondern das Programm hängt entgültig.

    Starte ich danach den Service mit "sudo service mpd restart" neu geht auch das lied bei dem er sich aufgehängt hatte wieder.

    Nach dem es völlig willkürlich passiert bin ich langsam am Verzweifeln. So ist das Programm nicht mehr benutzbar. Ich habe bereit alle config-Dateien gelöscht und neuerstellt, genauso habe ich mpd schon neu installiert. Hat alles nicht geholfen. Früher ging monate Lang mpd ohne Probleme. Seit dem habe ich folgende drei sachen gemacht:

    -SD-Card gewechselt (Musik befindet sich aber auf einer externen Festplatte)
    -Firmware upgedatet
    -Mpeg-Codec gekauft und aktiviert

    Leider kann ich nicht sagen ob es überhaupt mit einem von diesen Punkten zusammen hängt, da ich mit dem SD-Card wechsel auch mein System komplett neu aufgesetzt habe und auch nicht genau sagen kann wann dieser Fehler das erste mal auftrat.

    Anhängend noch die mpd.conf (#Kommentare herausgelöscht)

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

    music_directory "/media/usbhdd/Musik"
    playlist_directory "/media/usbhdd/Musik"
    db_file "/home/pi/mpd/tag_cache"
    log_file "/home/pi/mpd/mpd.log"
    pid_file "/home/pi/mpd/pid"
    state_file "/home/pi/mpd/state"
    sticker_file "/home/pi/mpd/sticker.sql"

    user "pi"

    bind_to_address "localhost"
    bind_to_address "/var/run/mpd/socket"
    port "6600"

    log_level "verbose"
    gapless_mp3_playback "yes"
    metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    auto_update "yes"

    input {
    plugin "curl"

    }


    audio_output {
    type "pulse"
    name "My Pulse Output"

    }

    mixer_type "hardware"

    replaygain "track"
    volume_normalization "yes"

    filesystem_charset "UTF-8"
    id3v1_encoding "UTF-8"

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


    und der mpd.log um so einen Fehler herum

    May 26 13:31 : client: [0] expired
    May 26 13:31 : client: [0] closed
    May 26 13:31 : client: [1] opened from localhost
    May 26 13:31 : client: [1] process command "next"
    May 26 13:31 : playlist: play 4352:"offspring/The Offspring/The Offspring - Special Delivery.mp3"
    May 26 13:31 : decoder_thread: clearing mixramp tags
    May 26 13:31 : decoder_control: mixramp_start = NULL
    May 26 13:31 : decoder_control: mixramp_prev_end = NULL
    May 26 13:31 : client: [1] command returned 0
    May 26 13:31 : playlist: queue song 4353:"Ska/Talco/Tutti Assolti/07 - Partigiano.mp3"
    May 26 13:31 : client: [1] process command list
    May 26 13:31 : client: command_process_list: process command "status"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: command_process_list: process command "currentsong"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: [1] process command list returned 0
    May 26 13:31 : client: [1] expired
    May 26 13:31 : client: [1] closed
    May 26 13:31 : decoder: audio_format=44100:24:2, seekable=true
    May 26 13:31 : replay_gain: scale=1.000000
    May 26 13:31 : client: [2] opened from localhost
    May 26 13:31 : client: [2] process command list
    May 26 13:31 : client: command_process_list: process command "status"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: command_process_list: process command "currentsong"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: [2] process command list returned 0
    May 26 13:31 : client: [2] closed
    May 26 13:31 : client: [3] opened from localhost
    May 26 13:31 : client: [3] process command list
    May 26 13:31 : client: command_process_list: process command "status"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: command_process_list: process command "currentsong"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: [3] process command list returned 0
    May 26 13:31 : client: [3] expired
    May 26 13:31 : client: [3] closed
    May 26 13:31 : client: [4] opened from localhost
    May 26 13:31 : client: [4] process command list
    May 26 13:31 : client: command_process_list: process command "status"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: command_process_list: process command "currentsong"
    May 26 13:31 : client: command_process_list: command returned 0
    May 26 13:31 : client: [4] process command list returned 0
    May 26 13:31 : client: [4] expired

  • Hab den Bösewicht nun endlich gefunden (zwischenzeitlich legendlich mpd selber compiliert, andere Programme zum Musikabspielen mit dem selben Ergebnis getestet und mein pi komplett neu aufgesetzt).

    Es ist Pulseaudio. Irgend eine config von Pulseaudio muss komplett daneben gehen. Solange ich Pulseaudio nicht aktiv habe geht der Liedwechsel wieder ganz normal. Wo ran es genauer liegt kann ich aber nicht sagen, ich lösche jetzt mal alles an Einstellungen von Pulseaudio und schau ob ich es irgendwie mit Pulseaudio auch hinbekommen, da ich Pulseaudio für bestimmte sachen brauche.

    Aber ist erledigt.

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!