Replies: 3 comments 1 reply
-
It is applied repeatedly, but if nothing changes, MPD will not bother writing a new state file, because it would be the same as the previous one. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks so much for the quick reply and the clarification.
I was hoping I could set it to one second, then when the raspberry pi is
turned of it can resume playing where it left off when it is turned on
again.
Now it pretty much goes back to the beginning of the song (or audiobook
chapter. and those a really long).
I would be grateful if you could point me in the right direction where
in the code I could implement this feature ?
thanks,
Ewoud
…On 07-Oct-22 7:48, Max Kellermann wrote:
It is applied repeatedly, but if nothing changes, MPD will not bother
writing a new state file, because it would be the same as the previous
one.
—
Reply to this email directly, view it on GitHub
<#1638 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZJ4ZXJASBTFWYEB4ZHPNULWB62TDANCNFSM6AAAAAAQ67U4KM>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
The state file is also written when MPD exits normally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is my understanding wrong that when you set state_file_interval to for example 10 seconds the state_file is updated every 10 seconds ?
On my raspberry pi (mpd version 0.22.4) it only does it once after a state change, but no ever again until the next state change.
Beta Was this translation helpful? Give feedback.
All reactions