Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

cuesheet: allow playback from arbitrarily named cue file

The removed filename check is required for proper cuesheet recognition in WPS, but it should not prevent playback from an otherwise valid cuesheet.

Change-Id: I2876a8855f06fb569e3ac171b04931af8be16cd1

authored by

Roman Artiukhin and committed by
Solomon Peachy
4e18f609 4e655be4

+3 -11
+3 -11
apps/cuesheet.c
··· 503 503 if (!startit || !*cue->file) 504 504 break; 505 505 506 - /* check that this cue is the same one that would be found by 507 - a search from playback */ 508 506 char file[MAX_PATH]; 509 507 strmemccpy(file, cue->file, MAX_PATH); 510 - 511 - if (!strcmp(cue->path, file) || /* if embedded */ 512 - (search_for_cuesheet(file, &cue_file) && 513 - !strcmp(cue->path, cue_file.path))) 514 - { 515 - char *fname = strrsplt(file, '/'); 516 - char *dirname = fname <= file + 1 ? "/" : file; 517 - bookmark_play(dirname, 0, elapsed, 0, current_tick, fname); 518 - } 508 + char *fname = strrsplt(file, '/'); 509 + char *dirname = fname <= file + 1 ? "/" : file; 510 + bookmark_play(dirname, 0, elapsed, 0, current_tick, fname); 519 511 break; 520 512 } /* ACTION_STD_OK */ 521 513