Merge branch 'consume_single_oneshot-restore' of https://github.com/jcorporation/MPD
This commit is contained in:
commit
26467e61a3
@ -76,9 +76,9 @@ playlist_state_save(BufferedOutputStream &os, const struct playlist &playlist,
|
|||||||
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_REPEAT "{}\n"),
|
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_REPEAT "{}\n"),
|
||||||
(unsigned)playlist.queue.repeat);
|
(unsigned)playlist.queue.repeat);
|
||||||
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_SINGLE "{}\n"),
|
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"),
|
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"),
|
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_CROSSFADE "{}\n"),
|
||||||
pc.GetCrossFade().count());
|
pc.GetCrossFade().count());
|
||||||
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_MIXRAMPDB "{}\n"),
|
os.Fmt(FMT_STRING(PLAYLIST_STATE_FILE_MIXRAMPDB "{}\n"),
|
||||||
|
Loading…
Reference in New Issue
Block a user