From 6618e5d69ab2f1eef70769e46f4129d13bd7ff29 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 29 Dec 2014 22:08:22 +0100 Subject: player: make --shuffle/--merge-files affect runtime loaded playlists Until now, these options took effect only at program start. This could be confusing when e.g. doing "mpv list.m3u --shuffle". Make them always take effect when a playlist is loaded either via a playlist file, or with the "loadlist" command. --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index bb310e0975..8184b133ce 100644 --- a/player/core.h +++ b/player/core.h @@ -395,6 +395,7 @@ void mp_set_playlist_entry(struct MPContext *mpctx, struct playlist_entry *e); void mp_play_files(struct MPContext *mpctx); void update_demuxer_properties(struct MPContext *mpctx); void reselect_demux_streams(struct MPContext *mpctx); +void prepare_playlist(struct MPContext *mpctx, struct playlist *pl); // main.c int mpv_main(int argc, char *argv[]); -- cgit v1.2.3