raster pushed a commit to branch master. http://git.enlightenment.org/apps/rage.git/commit/?id=b78bffcf1af46c1653081abc44b8cd2cee408d2b
commit b78bffcf1af46c1653081abc44b8cd2cee408d2b Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Wed Apr 22 12:33:40 2015 +0900 and for 0.1.3 - fix albumart thumbnail list --- src/bin/video.c | 17 +++++++++++++++-- src/bin/videothumb.c | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/bin/video.c b/src/bin/video.c index 53cf9d1..d6b3f57 100644 --- a/src/bin/video.c +++ b/src/bin/video.c @@ -50,10 +50,23 @@ _art_check(Evas_Object *obj) } if (sd->doart) { - char *thumb = NULL, *realfile; + char *thumb = NULL, *realfile = NULL; evas_object_show(sd->o_img); - realfile = ecore_file_realpath(sd->file); + if (!strncasecmp(sd->file, "file:/", 6)) + { + Efreet_Uri *uri = efreet_uri_decode(sd->file); + if (uri) + { + realfile = ecore_file_realpath(uri->path); + efreet_uri_free(uri); + } + } + else if ((!strncasecmp(sd->file, "http:/", 6)) || + (!strncasecmp(sd->file, "https:/", 7))) + realfile = strdup(sd->file); + else + realfile = ecore_file_realpath(sd->file); if (realfile) { thumb = albumart_file_get(realfile); diff --git a/src/bin/videothumb.c b/src/bin/videothumb.c index 375610e..0dc3c90 100644 --- a/src/bin/videothumb.c +++ b/src/bin/videothumb.c @@ -376,7 +376,7 @@ videothumb_file_set(Evas_Object *obj, const char *file, double pos) Efreet_Uri *uri = efreet_uri_decode(sd->file); if (uri) { - sd->realpath = strdup(uri->path); + sd->realpath = ecore_file_realpath(uri->path); efreet_uri_free(uri); } } --
