diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-11-12 02:49:20 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-11-12 02:49:20 +0100 |
commit | bd93f9f96f1dc4f852644a3744fa09b913cd0a0a (patch) | |
tree | aa4d00eacb3f3c4a0a1c0635327c444bd5bf0cb7 /apps/playlist.c | |
parent | a82b30735d7254c222978cc1bb9f8f8dd24f5cb9 (diff) | |
download | rockbox-bd93f9f96f1dc4f852644a3744fa09b913cd0a0a.tar.gz rockbox-bd93f9f96f1dc4f852644a3744fa09b913cd0a0a.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
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
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 @@ | |||
135 | * v2 was added shortly thereafter and has been used since 2003. | 135 | * v2 was added shortly thereafter and has been used since 2003. |
136 | * v3 added the (C)lear command and is otherwise identical to v2. | 136 | * v3 added the (C)lear command and is otherwise identical to v2. |
137 | * v4 added the (F)lags command. | 137 | * v4 added the (F)lags command. |
138 | * v5 added index to the (C)lear command. Added PLAYLIST_INSERT_LAST_ROTATED (-8) as | ||
139 | * a supported position for (A)dd or (Q)eue commands. | ||
138 | */ | 140 | */ |
139 | #define PLAYLIST_CONTROL_FILE_MIN_VERSION 2 | 141 | #define PLAYLIST_CONTROL_FILE_MIN_VERSION 2 |
140 | #define PLAYLIST_CONTROL_FILE_VERSION 4 | 142 | #define PLAYLIST_CONTROL_FILE_VERSION 5 |
141 | 143 | ||
142 | #define PLAYLIST_COMMAND_SIZE (MAX_PATH+12) | 144 | #define PLAYLIST_COMMAND_SIZE (MAX_PATH+12) |
143 | 145 | ||