From bd93f9f96f1dc4f852644a3744fa09b913cd0a0a Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 12 Nov 2023 02:49:20 +0100 Subject: Increase playlist control file's version number This should have probably been included in e9b4275, since a control file generated with that build will potentially cause issues when used with older versions, in case -8 appears as an insert position. Change-Id: I4a7097a2bd33c0dbbdad481a341b49be505f34f7 --- apps/playlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/playlist.c b/apps/playlist.c index 1822db844f..503e4a28d1 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -135,9 +135,11 @@ * v2 was added shortly thereafter and has been used since 2003. * v3 added the (C)lear command and is otherwise identical to v2. * v4 added the (F)lags command. + * v5 added index to the (C)lear command. Added PLAYLIST_INSERT_LAST_ROTATED (-8) as + * a supported position for (A)dd or (Q)eue commands. */ #define PLAYLIST_CONTROL_FILE_MIN_VERSION 2 -#define PLAYLIST_CONTROL_FILE_VERSION 4 +#define PLAYLIST_CONTROL_FILE_VERSION 5 #define PLAYLIST_COMMAND_SIZE (MAX_PATH+12) -- cgit v1.2.3