summaryrefslogtreecommitdiffstats
path: root/bin/print_amazon.php.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-14 07:33:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-14 07:33:26 +0000
commitac8056bad9b8e55ba2296c28a96968d33dfbd003 (patch)
treeca18ce4e5259c70596dcefd9d2b8b6c0ebdd9e29 /bin/print_amazon.php.inc
parent641e7de6373bcbf7ffb5ac3a8b737fb31f4f33c7 (diff)
downloadampache-ac8056bad9b8e55ba2296c28a96968d33dfbd003.tar.gz
ampache-ac8056bad9b8e55ba2296c28a96968d33dfbd003.tar.bz2
ampache-ac8056bad9b8e55ba2296c28a96968d33dfbd003.zip
removed some dead scripts, moved stuff around, fiddled with albums page... might be an issue with the catalog add... or I might have just discovered a _ton_ of crappy tags... or a bug in getid3() figuring out which it is, is something for tomorrow
Diffstat (limited to 'bin/print_amazon.php.inc')
-rwxr-xr-xbin/print_amazon.php.inc42
1 files changed, 0 insertions, 42 deletions
diff --git a/bin/print_amazon.php.inc b/bin/print_amazon.php.inc
deleted file mode 100755
index d2bee2a9..00000000
--- a/bin/print_amazon.php.inc
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-/*
-
- 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.
-
-*/
-
-
-/* Name of the filename who's tags you want to read */
-$search['album_name'] = "Ariels";
-$search['artist_name'] = "Bent";
-
-
-
-define('NO_SESSION','1');
-require ("../lib/init.php");
-echo "<pre>\n";
-$amazon = new AmazonSearch(conf('amazon_developer_key'));
-// Prevent the script from timing out
-set_time_limit(0);
-$search_term = $search['artist_name'] . " " . $search['album_name'];
-$amazon->search(array('artist' => $search['artist_name'], 'album' => $search['album_name'], 'keywords' => $serch_term));
-$amazon->lookup($amazon->results);
-
-echo "Search Term: $search_term\n";
-echo "Artist: " . $search['artist_name'] . " AND Album: " . $search['album_name'] . "\n";
-print_r($amazon->results);
-echo "\n</pre>";
-?>
-