summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-25 08:08:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-25 08:08:11 +0000
commit5886337a7e328493cba2166f7e4ee7d237cbfa32 (patch)
treeb90af8ac22ae832be2f6b64b8b70e121a0327bbd /bin
parentd6003655a9b266eeb20c15d53d77da873e9a6642 (diff)
downloadampache-5886337a7e328493cba2166f7e4ee7d237cbfa32.tar.gz
ampache-5886337a7e328493cba2166f7e4ee7d237cbfa32.tar.bz2
ampache-5886337a7e328493cba2166f7e4ee7d237cbfa32.zip
added metadata hotness to the album art dump
Diffstat (limited to 'bin')
-rw-r--r--bin/dump_album_art.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/dump_album_art.inc b/bin/dump_album_art.inc
index 9d88b7ea..d9d4e44b 100644
--- a/bin/dump_album_art.inc
+++ b/bin/dump_album_art.inc
@@ -24,10 +24,16 @@ $path = dirname(__FILE__);
$prefix = realpath($path . '/../');
require_once $prefix . '/lib/init.php';
+// If we specify extra meta data
+// Possible values are windows and linux
+// If Null then no meta data is dumped
+$meta = 'linux';
+
$catalogs = Catalog::get_catalogs();
foreach ($catalogs as $catalog_id) {
- Catalog::dump_album_art($catalog_id);
+ Catalog::dump_album_art($catalog_id,array('metadata'=>$meta));
}
+
?>