summaryrefslogtreecommitdiffstats
path: root/lib/class/catalog.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-15 04:41:37 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-15 04:41:37 +0000
commit2f74d724f74a2d3a13a8c5598fc57d87c08081c4 (patch)
tree1e13861ac10641cce99c83d4dff61e0c03063077 /lib/class/catalog.class.php
parent571271f9a029732aa0ac2883129c1f2d52c58ba3 (diff)
downloadampache-2f74d724f74a2d3a13a8c5598fc57d87c08081c4.tar.gz
ampache-2f74d724f74a2d3a13a8c5598fc57d87c08081c4.tar.bz2
ampache-2f74d724f74a2d3a13a8c5598fc57d87c08081c4.zip
fix the gather album art checkbox, somebody forgot to make it actually work
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r--lib/class/catalog.class.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 72a24b5f..84cc09a7 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -293,6 +293,11 @@ class Catalog {
$this->add_files($this->path,$options);
+ // If they have checked the box then go ahead and gather the art
+ if ($options['gather_art']) {
+ $this->get_album_art('',1);
+ }
+
return true;
} // run_add