summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-10-01 15:25:25 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-10-01 15:25:25 +0000
commit87ef79d5be84502ec917e802d6f5c28d27eaa446 (patch)
tree374654e5d276b9779197d11ca799eb1ac907829f /admin
parentf4ab9bad1a8bee3b8ed43edceb02d526ede0a7fc (diff)
downloadampache-87ef79d5be84502ec917e802d6f5c28d27eaa446.tar.gz
ampache-87ef79d5be84502ec917e802d6f5c28d27eaa446.tar.bz2
ampache-87ef79d5be84502ec917e802d6f5c28d27eaa446.zip
tweaked the mpd class a bit changing timeouts, fixed the gather album art so it only gathers for the specified catalog
Diffstat (limited to 'admin')
-rw-r--r--admin/catalog.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index cef87cde..167d7979 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -242,9 +242,8 @@ switch ($_REQUEST['action']) {
break;
case 'gather_album_art':
ob_end_flush();
- if (!$_REQUEST['catalog_id']) {
- $catalogs = Catalog::get_catalogs();
- }
+
+ $catalogs = $_REQUEST['catalogs'] ? $_REQUEST['catalogs'] : Catalog::get_catalogs();
// Itterate throught the catalogs and gather as needed
foreach ($catalogs as $catalog_id) {