diff --git a/res/values/strings.xml b/res/values/strings.xml
index 54421049..431c9cf7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -117,6 +117,8 @@ THE SOFTWARE.
What to do when an item is tapped
Miscellaneous Features
+ Disable Cover Art
+ Do not show cover art anywhere in the application
Enable Idle Timeout
When active, playback will be stopped after the given period of inactivity
Idle Timeout
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index afae9264..967bd18e 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -75,6 +75,11 @@ THE SOFTWARE.
android:defaultValue="0" />
+
mCoverCache = new Cache(10);
+ /**
+ * If true, will not attempt to load any cover art in getCover()
+ */
+ public static boolean mDisableCoverArt = false;
+
/**
* Shuffled list of all ids in the library.
*/
@@ -393,7 +398,7 @@ public class Song implements Parcelable {
*/
public Bitmap getCover()
{
- if (id == -1)
+ if (id == -1 || mDisableCoverArt)
return null;
// Query the cache for the cover