summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-11-12 02:49:20 +0100
committerChristian Soffke <christian.soffke@gmail.com>2023-11-12 02:49:20 +0100
commitbd93f9f96f1dc4f852644a3744fa09b913cd0a0a (patch)
treeaa4d00eacb3f3c4a0a1c0635327c444bd5bf0cb7
parenta82b30735d7254c222978cc1bb9f8f8dd24f5cb9 (diff)
downloadrockbox-bd93f9f96f.tar.gz
rockbox-bd93f9f96f.zip
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
-rw-r--r--apps/playlist.c4
1 files changed, 3 insertions, 1 deletions
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)