rhythmbox r5627 - in trunk: . plugins/artdisplay/artdisplay



Author: jmatthew
Date: Tue Mar 18 10:03:36 2008
New Revision: 5627
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5627&view=rev

Log:
2008-03-18  Jonathan Matthew  <jonathan d14n org>

	* plugins/artdisplay/artdisplay/LocalCoverArtSearch.py:
	Return the full URI, rather than just the path.  Allows local cover
	art searches to work on SMB shares.  Fixes #517103.


Modified:
   trunk/ChangeLog
   trunk/plugins/artdisplay/artdisplay/LocalCoverArtSearch.py

Modified: trunk/plugins/artdisplay/artdisplay/LocalCoverArtSearch.py
==============================================================================
--- trunk/plugins/artdisplay/artdisplay/LocalCoverArtSearch.py	(original)
+++ trunk/plugins/artdisplay/artdisplay/LocalCoverArtSearch.py	Tue Mar 18 10:03:36 2008
@@ -68,7 +68,7 @@
 		for name in [file_root (self.uri.short_name)] + IMAGE_NAMES:
 			for f_name in results:
 				if file_root (f_name) == name:
-					yield self.uri.parent.append_file_name (f_name).path
+					yield self.uri.parent.append_file_name (f_name)
 
 	def pixbuf_save (self, plexer, pixbuf, uri):
 		gnomevfs.async.create (uri, plexer.send (), gnomevfs.OPEN_WRITE | gnomevfs.OPEN_TRUNCATE, False, 0644, gnomevfs.PRIORITY_DEFAULT)



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