Search found 3 matches

by ernesto
February 20th, 2014, 11:55 am
Forum: Developers' Corner
Topic: Some way to force MPD to save state without killing it
Replies: 5
Views: 2241

Re: Some way to force MPD to save state without killing it

Great! And where can I read about it?
by ernesto
February 19th, 2014, 9:30 pm
Forum: Developers' Corner
Topic: Some way to force MPD to save state without killing it
Replies: 5
Views: 2241

Re: Some way to force MPD to save state without killing it

Max, thanks for the interest. The SIGTERM could be issued from a cron job for instance, and so the state could be saved once each minute. Or from a shell script, if you want smaller intervals. By the way, perhaps this state saving by time interval could be a built in and configurable function of mpd...
by ernesto
February 19th, 2014, 8:15 pm
Forum: Developers' Corner
Topic: Some way to force MPD to save state without killing it
Replies: 5
Views: 2241

Some way to force MPD to save state without killing it

Hi, I'd like to know if there is some way to force MPD to save state without killing it. From http://mpd.wikia.com/wiki/How_To_Create_a_State_File I can read that in prior versions this could be accomplished with SIGHUP, though I am using 0.16.8 and it doesn't work. This feature is useful when using...