@@ -48,6 +48,7 @@ static Config configs[] = {
4848 .true_peak = false ,
4949 .clip_mode = ' p' ,
5050 .do_album = true ,
51+ .album_as_aes77 = false ,
5152 .tab_output = OutputType::NONE,
5253 .sep_header = false ,
5354 .sort_alphanum = false ,
@@ -68,6 +69,7 @@ static Config configs[] = {
6869 .true_peak = false ,
6970 .clip_mode = ' p' ,
7071 .do_album = true ,
72+ .album_as_aes77 = false ,
7173 .tab_output = OutputType::NONE,
7274 .sep_header = false ,
7375 .sort_alphanum = false ,
@@ -88,6 +90,7 @@ static Config configs[] = {
8890 .true_peak = false ,
8991 .clip_mode = ' p' ,
9092 .do_album = true ,
93+ .album_as_aes77 = false ,
9194 .tab_output = OutputType::NONE,
9295 .sep_header = false ,
9396 .sort_alphanum = false ,
@@ -108,6 +111,7 @@ static Config configs[] = {
108111 .true_peak = false ,
109112 .clip_mode = ' p' ,
110113 .do_album = true ,
114+ .album_as_aes77 = false ,
111115 .tab_output = OutputType::NONE,
112116 .sep_header = false ,
113117 .sort_alphanum = false ,
@@ -128,6 +132,7 @@ static Config configs[] = {
128132 .true_peak = false ,
129133 .clip_mode = ' p' ,
130134 .do_album = true ,
135+ .album_as_aes77 = false ,
131136 .tab_output = OutputType::NONE,
132137 .sep_header = false ,
133138 .sort_alphanum = false ,
@@ -148,6 +153,7 @@ static Config configs[] = {
148153 .true_peak = false ,
149154 .clip_mode = ' p' ,
150155 .do_album = true ,
156+ .album_as_aes77 = false ,
151157 .tab_output = OutputType::NONE,
152158 .sep_header = false ,
153159 .sort_alphanum = false ,
@@ -168,6 +174,7 @@ static Config configs[] = {
168174 .true_peak = false ,
169175 .clip_mode = ' p' ,
170176 .do_album = true ,
177+ .album_as_aes77 = false ,
171178 .tab_output = OutputType::NONE,
172179 .sep_header = false ,
173180 .sort_alphanum = false ,
@@ -188,6 +195,7 @@ static Config configs[] = {
188195 .true_peak = false ,
189196 .clip_mode = ' p' ,
190197 .do_album = true ,
198+ .album_as_aes77 = false ,
191199 .tab_output = OutputType::NONE,
192200 .sep_header = false ,
193201 .sort_alphanum = false ,
@@ -208,6 +216,7 @@ static Config configs[] = {
208216 .true_peak = false ,
209217 .clip_mode = ' p' ,
210218 .do_album = true ,
219+ .album_as_aes77 = false ,
211220 .tab_output = OutputType::NONE,
212221 .sep_header = false ,
213222 .sort_alphanum = false ,
@@ -228,6 +237,7 @@ static Config configs[] = {
228237 .true_peak = false ,
229238 .clip_mode = ' p' ,
230239 .do_album = true ,
240+ .album_as_aes77 = false ,
231241 .tab_output = OutputType::NONE,
232242 .sep_header = false ,
233243 .sort_alphanum = false ,
@@ -248,6 +258,7 @@ static Config configs[] = {
248258 .true_peak = false ,
249259 .clip_mode = ' p' ,
250260 .do_album = true ,
261+ .album_as_aes77 = false ,
251262 .tab_output = OutputType::NONE,
252263 .sep_header = false ,
253264 .sort_alphanum = false ,
@@ -268,6 +279,7 @@ static Config configs[] = {
268279 .true_peak = false ,
269280 .clip_mode = ' p' ,
270281 .do_album = true ,
282+ .album_as_aes77 = false ,
271283 .tab_output = OutputType::NONE,
272284 .sep_header = false ,
273285 .sort_alphanum = false ,
@@ -288,6 +300,7 @@ static Config configs[] = {
288300 .true_peak = false ,
289301 .clip_mode = ' p' ,
290302 .do_album = true ,
303+ .album_as_aes77 = false ,
291304 .tab_output = OutputType::NONE,
292305 .sep_header = false ,
293306 .sort_alphanum = false ,
@@ -308,6 +321,7 @@ static Config configs[] = {
308321 .true_peak = false ,
309322 .clip_mode = ' p' ,
310323 .do_album = true ,
324+ .album_as_aes77 = false ,
311325 .tab_output = OutputType::NONE,
312326 .sep_header = false ,
313327 .sort_alphanum = false ,
@@ -468,6 +482,15 @@ int global_handler([[maybe_unused]] void *user, const char *section, const char
468482 else
469483 quit (EXIT_FAILURE);
470484 }
485+ else if (MATCH (name, " AlbumAsAES77" )) {
486+ bool as_aes77;
487+ if (convert_bool (value, as_aes77)) {
488+ for (Config &config : configs)
489+ config.album_as_aes77 = as_aes77;
490+ }
491+ else
492+ quit (EXIT_FAILURE);
493+ }
471494 else if (MATCH (name, " TagMode" )) {
472495 char tag_mode;
473496 if (parse_tag_mode_easy (value, tag_mode)) {
@@ -570,6 +593,8 @@ int format_handler([[maybe_unused]] void *user, const char *section, const char
570593 // Parse setting keys
571594 if (MATCH (name, " Album" ))
572595 convert_bool (value, configs[static_cast <int >(file_type)].do_album );
596+ else if (MATCH (name, " AlbumAsAES77" ))
597+ convert_bool (value, configs[static_cast <int >(file_type)].album_as_aes77 );
573598 else if (MATCH (name, " TagMode" ))
574599 parse_tag_mode_easy (value, configs[static_cast <int >(file_type)].tag_mode );
575600 else if (MATCH (name, " ClipMode" ))
0 commit comments