Commit 81294ffd authored by Geoffrey Métais's avatar Geoffrey Métais

Decode artwork mrl

parent 94340791
......@@ -45,7 +45,6 @@ import org.videolan.vlc.R;
import org.videolan.vlc.VLCApplication;
import org.videolan.vlc.media.MediaGroup;
import org.videolan.vlc.util.HttpImageLoader;
import org.videolan.vlc.util.Strings;
public class AsyncImageLoader {
......@@ -138,7 +137,7 @@ public class AsyncImageLoader {
String artworkUrl = item.getArtworkMrl();
if (!TextUtils.isEmpty(artworkUrl) && artworkUrl.startsWith("http"))
return HttpImageLoader.downloadBitmap(artworkUrl);
return AudioUtil.readCoverBitmap(Strings.removeFileProtocole(item.getArtworkMrl()), width);
return AudioUtil.readCoverBitmap(Uri.decode(item.getArtworkMrl()), width);
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment