Commit b3589629 authored by Max Kellermann's avatar Max Kellermann

playlist: increase playlist version after loading state

After the state file has been loaded, the playlist version is still "1", and "plchanges 1" returns the whole playlist. Fix this by increasing the playlist version after the state file has been loaded.
parent 5d0c83ba
......@@ -113,6 +113,8 @@ playlist_state_load(FILE *fp, struct playlist *playlist,
break;
}
}
queue_increment_version(&playlist->queue);
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment