Skip to content

Commit

Permalink
Also rename the star file
Browse files Browse the repository at this point in the history
  • Loading branch information
Master92 committed Nov 12, 2024
1 parent 2f12158 commit 8cf8e58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/page_playback.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ static void mark_video_file(int const seq) {
system_exec(cmd);
sprintf(cmd, "mv %s%s." REC_packJPG " %s%s." REC_packJPG, MEDIA_FILES_DIR, pnode->label, MEDIA_FILES_DIR, newLabel);
system_exec(cmd);
sprintf(cmd, "mv %s%s" REC_starSUFFIX " %s%s.%s" REC_starSUFFIX, MEDIA_FILES_DIR, pnode->filename, MEDIA_FILES_DIR, newLabel, pnode->ext);
system_exec(cmd);

walk_sdcard();
media_db.cur_sel = constrain(seq, 0, (media_db.count - 1));
Expand Down

0 comments on commit 8cf8e58

Please sign in to comment.