[rhythmbox] artsearch: remove URI schemes filtering



commit 7dd29e92e6828ea438ed0f19f5865fc718abcc17
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Sep 18 23:58:40 2012 +0200

    artsearch: remove URI schemes filtering
    
    It's incomplete, out of date, and useless as we now filter the exceptions
    from gvfs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684301

 plugins/artsearch/local.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/artsearch/local.py b/plugins/artsearch/local.py
index dfbf6b6..0d8cd5b 100644
--- a/plugins/artsearch/local.py
+++ b/plugins/artsearch/local.py
@@ -33,8 +33,6 @@ from gi.repository import GObject, GLib, Gio
 IMAGE_NAMES = ["cover", "album", "albumart", "front", ".folder", "folder"]
 ITEMS_PER_NOTIFICATION = 10
 
-IGNORED_SCHEMES = ('http', 'cdda', 'daap', 'mms')
-
 def file_root (f_name):
 	return os.path.splitext (f_name)[0].lower ()
 
@@ -148,10 +146,6 @@ class LocalSearch:
 			return
 
 		self.file = Gio.file_new_for_uri(location)
-		if self.file.get_uri_scheme() in IGNORED_SCHEMES:
-			print 'not searching for local art for %s' % (self.file.get_uri())
-			callback(args)
-			return
 
 		self.album = key.get_field("album")
 		self.artists = key.get_field_values("artist")



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