summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-19 23:32:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-19 23:32:35 +0000
commitb99e8307ac784e046d21d346c845f896a5b4317d (patch)
treeef887fd1c495e7ad48cd28cc268980b1d8f221dc /bin
parent4ea50fd7e3bfda9a9748d82616e560be55cd5349 (diff)
downloadampache-b99e8307ac784e046d21d346c845f896a5b4317d.tar.gz
ampache-b99e8307ac784e046d21d346c845f896a5b4317d.tar.bz2
ampache-b99e8307ac784e046d21d346c845f896a5b4317d.zip
dump album art command line script thingy
Diffstat (limited to 'bin')
-rw-r--r--bin/dump_album_art.php.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/dump_album_art.php.inc b/bin/dump_album_art.php.inc
new file mode 100644
index 00000000..093e7b71
--- /dev/null
+++ b/bin/dump_album_art.php.inc
@@ -0,0 +1,33 @@
+<?php
+/*
+
+ Copyright 2001 - 2006 Ampache.org
+ All Rights Reserved
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+
+
+$no_session = '1';
+require ("../modules/init.php");
+
+$catalogs = Catalog::get_catalogs();
+
+foreach ($catalogs as $catalog) {
+ $catalog->dump_album_art();
+}
+
+?>