Merge branch 'consume_single_oneshot-restore' of https://github.com/jcorporation/MPD

This commit is contained in:
Max Kellermann 2023-09-26 11:43:27 +02:00
commit 26467e61a3

View File

@ -76,9 +76,9 @@ playlist_state_save(BufferedOutputStream &os, const struct playlist &playlist,
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_REPEAT "{}\n"),
(unsigned)playlist.queue.repeat);
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_SINGLE "{}\n"),
(unsigned)playlist.queue.single);
SingleToString(playlist.queue.single));
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_CONSUME "{}\n"),
(unsigned)playlist.queue.consume);
ConsumeToString(playlist.queue.consume));
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_CROSSFADE "{}\n"),
pc.GetCrossFade().count());
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_MIXRAMPDB "{}\n"),