As a file type I always use separate mp3 tracks, it's not problem for me however I don't know the skip next track command so I could add it the code below.
BTW As you can see the code below I removed confirmation step in my code and carried delete menu item to top so two press on select button it deletes the playing file however pressing next button inside a pocket with Sansa Clip Zip is very difficult that's why I want auto skip to next track after delete finishes.
static int delete_file_dir(void)
{
clear_display(true);
splash(HZ/2, str(LANG_DELETING));
splash(HZ/2, ID2P(LANG_DELETING));
int rc = -1;
if (selected_file_attr & ATTR_DIRECTORY) { /* true if directory */
struct dirrecurse_params parm;
parm.append = strlcpy(parm.path, selected_file, sizeof (parm.path));
if (parm.append < sizeof (parm.path)) {
cpu_boost(true);
rc = remove_dir(&parm);
cpu_boost(false);
}
} else {
rc = remove(selected_file);
}
if (rc < OPRC_SUCCESS) {
splash_failed(LANG_DELETE);
} else if (rc == OPRC_CANCELLED) {
splash_cancelled();
}
if (rc != OPRC_NOOP) {
/* Could have failed after some but not all needed changes; reload */
onplay_result = ONPLAY_RELOAD_DIR;
}
return 1;
}
.