Skip to content

Do song ids retain across server restarts #1899

Closed Answered by naglis
itslychee asked this question in Q&A
Discussion options

You must be logged in to vote

After a quick look at

queue_save_song(BufferedOutputStream &os, int idx, const DetachedSong &song)
and
song_save(BufferedOutputStream &os, const Song &song)
and a simple test with addid/deleteid/playlistid commands across MPD restarts it seems that song ids are not written to the state file and thus are not preserved across MPD restarts.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@itslychee
Comment options

Comment options

You must be logged in to vote
1 reply
@itslychee
Comment options

Answer selected by itslychee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants