[rhythmbox] artdisplay: disable the non-functional Amazon cover art search



commit 3af9c980c6690251c0a34b61d8660fefebda58c0
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Aug 25 22:36:14 2009 +1000

    artdisplay: disable the non-functional Amazon cover art search

 .../artdisplay/artdisplay/AmazonCoverArtSearch.py  |    5 +++++
 plugins/artdisplay/artdisplay/CoverArtDatabase.py  |    3 +--
 plugins/artdisplay/artdisplay/Makefile.am          |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/plugins/artdisplay/artdisplay/AmazonCoverArtSearch.py b/plugins/artdisplay/artdisplay/AmazonCoverArtSearch.py
index e48a99e..2ab904c 100644
--- a/plugins/artdisplay/artdisplay/AmazonCoverArtSearch.py
+++ b/plugins/artdisplay/artdisplay/AmazonCoverArtSearch.py
@@ -24,6 +24,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA.
 
+#
+# As of August 15, 2009, this search engine no longer works.
+# Amazon requires that requests be signed with a private key, which we cannot do.
+#
+
 from xml.dom import minidom
 import re
 import locale
diff --git a/plugins/artdisplay/artdisplay/CoverArtDatabase.py b/plugins/artdisplay/artdisplay/CoverArtDatabase.py
index a0d0f6e..b71676d 100644
--- a/plugins/artdisplay/artdisplay/CoverArtDatabase.py
+++ b/plugins/artdisplay/artdisplay/CoverArtDatabase.py
@@ -32,7 +32,6 @@ import itertools
 import gobject
 
 from PodcastCoverArtSearch import PodcastCoverArtSearch
-from AmazonCoverArtSearch import AmazonCoverArtSearch
 from EmbeddedCoverArtSearch import EmbeddedCoverArtSearch
 
 from urllib import unquote
@@ -47,7 +46,7 @@ except:
 	from LocalCoverArtSearch import LocalCoverArtSearch
 
 ART_SEARCHES_LOCAL = [LocalCoverArtSearch, EmbeddedCoverArtSearch]
-ART_SEARCHES_REMOTE = [PodcastCoverArtSearch, AmazonCoverArtSearch]
+ART_SEARCHES_REMOTE = [PodcastCoverArtSearch]
 OLD_ART_FOLDER = '~/.gnome2/rhythmbox/covers'
 
 ART_FOLDER = os.path.join(rb.user_cache_dir(), 'covers')
diff --git a/plugins/artdisplay/artdisplay/Makefile.am b/plugins/artdisplay/artdisplay/Makefile.am
index 2cfe899..58db39d 100644
--- a/plugins/artdisplay/artdisplay/Makefile.am
+++ b/plugins/artdisplay/artdisplay/Makefile.am
@@ -4,8 +4,10 @@ plugindir = $(PLUGINDIR)/artdisplay
 plugin_PYTHON = 			\
 	EmbeddedCoverArtSearch.py	\
 	PodcastCoverArtSearch.py	\
-	AmazonCoverArtSearch.py		\
 	LocalCoverArtSearch.py		\
 	LocalCoverArtSearchGIO.py	\
 	CoverArtDatabase.py		\
 	__init__.py
+
+# the amazon cover art search no longer works
+EXTRA_DIST = AmazonCoverArtSearch.py



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]