state_file_internal

Need help with MPD?
Post Reply
L0RE
Posts: 1
Joined: September 8th, 2018, 7:59 pm

state_file_internal

Post by L0RE » September 8th, 2018, 8:04 pm

Hi
Why does state_file_internal
Produce this error:
raspberrypi mpd[1273]: config_file: unrecognized parameter in config file at line 15: state_file_internal

My Version:
ii mpd 0.19.21-1 armhf Music Player Daemon

The config:

Code: Select all

udio_output {
    type            "alsa"
    name            "My ALSA Device"
    mixer_type      "software"      # optional
   }
    music_directory "/home/pi/audiofolders"
    playlist_directory "/tmp"
    user "root"
    auto_update "yes"
    bind_to_address "127.0.0.1"
    port "6600"
    state_file  "/data/mpd/mpd.state"
    state_file_internal 30
    sticker_file "/data/mpd/sticker.sql"
    pid_file     "/data/mpd/pid"


max
Forum team
Posts: 781
Joined: January 15th, 2013, 3:43 pm

Re: state_file_internal

Post by max » September 9th, 2018, 2:54 pm

Your MPD version is ancient and unsupported.

skidoo
Posts: 139
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: state_file_internal

Post by skidoo » September 9th, 2018, 6:25 pm

MPD likes parameter enclosed in " (double quotes). See rest of your config file.

skidoo
Posts: 139
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: state_file_internal

Post by skidoo » September 11th, 2018, 2:51 pm

BTW: parameter is state_file_interval - interval not internal. Makes more sense anyway.

Post Reply