(task_pl_thumbnail_download) Some string_is__equal optimizations

This commit is contained in:
twinaphex 2020-06-08 07:31:58 +02:00
parent 5db62e73da
commit ce95dcaf79

View File

@ -798,9 +798,7 @@ bool task_push_pl_entry_thumbnail_download(
goto error;
/* Only parse supported playlist types */
if (string_is_equal(system, "images_history") ||
string_is_equal(system, "music_history") ||
string_is_equal(system, "video_history"))
if (string_ends_with(system, "_history"))
goto error;
/* Copy playlist path