|author||Christian Soffke <firstname.lastname@example.org>||2023-11-12 02:49:20 +0100|
|committer||Christian Soffke <email@example.com>||2023-11-12 02:49:20 +0100|
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
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 1822db844f..503e4a28d1 100644
@@ -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)