Skip to content

Commit

Permalink
Make individual thumbnail downloads obey filename match setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Jul 29, 2024
1 parent 13dbb31 commit 71f0b9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/task_pl_thumbnail_download.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,12 @@ bool task_push_pl_entry_thumbnail_download(
/* Apply flexible thumbnail naming: ROM file name - database name - short name */
next_flag = playlist_get_next_thumbnail_name_flag(playlist,idx);
playlist_update_thumbnail_name_flag(playlist, idx, next_flag);
/* Skip over full name if not enabled. */
if (next_flag == PLAYLIST_THUMBNAIL_FLAG_FULL_NAME && !settings->bools.playlist_use_filename)
{
next_flag = playlist_get_next_thumbnail_name_flag(playlist,idx);
playlist_update_thumbnail_name_flag(playlist, idx, next_flag);
}
if (next_flag == PLAYLIST_THUMBNAIL_FLAG_NONE) {
runloop_msg_queue_push(
msg_hash_to_str(MSG_NO_THUMBNAIL_DOWNLOAD_POSSIBLE),
Expand Down

0 comments on commit 71f0b9f

Please sign in to comment.