[Android] AudioUtil: use ART_DIR
Edward Wang
git at videolan.org
Thu Jun 19 00:31:30 CEST 2014
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Jun 16 18:23:46 2014 -0400| [e8474ed6833c18d445169f9aa5cb9b5458e35228] | committer: Edward Wang
AudioUtil: use ART_DIR
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e8474ed6833c18d445169f9aa5cb9b5458e35228
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
index dce9a2f..1404ac5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
@@ -185,10 +185,10 @@ public class AudioUtil {
titleHash = "0" + titleHash;
}
/* Use generated hash to find art */
- artworkURL = CACHE_DIR + "/art/arturl/" + titleHash + "/art.png";
+ artworkURL = ART_DIR + "/arturl/" + titleHash + "/art.png";
} else {
/* Otherwise, it was cached by artist and album */
- artworkURL = CACHE_DIR + "/art/artistalbum/" + mArtist + "/" + mAlbum + "/art.png";
+ artworkURL = ART_DIR + "/artistalbum/" + mArtist + "/" + mAlbum + "/art.png";
}
return artworkURL;
More information about the Android
mailing list