rage - also support cover+front images for albums
This commit is contained in:
parent
60f89b11f7
commit
bdeeb9e284
|
@ -378,6 +378,11 @@ albumart_file_get(const char *file)
|
||||||
sprintf(tmp, "%s/.thumb/%s.jpeg", dir, fraw);
|
sprintf(tmp, "%s/.thumb/%s.jpeg", dir, fraw);
|
||||||
if (ecore_file_exists(tmp)) goto found;
|
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(dir);
|
||||||
free(fraw);
|
free(fraw);
|
||||||
return _thumbpath(file);
|
return _thumbpath(file);
|
||||||
|
|
Loading…
Reference in New Issue