rage - also support cover+front images for albums

This commit is contained in:
Carsten Haitzler 2015-11-22 10:51:22 +09:00
parent 60f89b11f7
commit bdeeb9e284
1 changed files with 5 additions and 0 deletions

View File

@ -378,6 +378,11 @@ albumart_file_get(const char *file)
sprintf(tmp, "%s/.thumb/%s.jpeg", dir, fraw);
if (ecore_file_exists(tmp)) goto found;
sprintf(tmp, "%s/cover.jpg", dir);
if (ecore_file_exists(tmp)) goto found;
sprintf(tmp, "%s/front.jpg", dir);
if (ecore_file_exists(tmp)) goto found;
free(dir);
free(fraw);
return _thumbpath(file);