raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=bdeeb9e284166a815dea6eff11d7595da5744f29

commit bdeeb9e284166a815dea6eff11d7595da5744f29
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Nov 22 10:51:22 2015 +0900

    rage - also support cover+front images for albums
---
 src/bin/albumart.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/albumart.c b/src/bin/albumart.c
index b5c7722..78a9cc9 100644
--- a/src/bin/albumart.c
+++ b/src/bin/albumart.c
@@ -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);

-- 


Reply via email to