Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20777/audio/plugins

Modified Files:
        coversearch.py 
Log Message:
unicode fix

Index: coversearch.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/coversearch.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** coversearch.py      25 Jan 2004 20:16:32 -0000      1.27
--- coversearch.py      7 Feb 2004 13:24:39 -0000       1.28
***************
*** 14,17 ****
--- 14,20 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.28  2004/02/07 13:24:39  dischi
+ # unicode fix
+ #
  # Revision 1.27  2004/01/25 20:16:32  dischi
  # typo
***************
*** 220,224 ****
  
          artist = self.item.getattr('artist')
!         search_string = '%s %s' % (artist,album)
          search_string = re.sub('[\(\[].*[\)\]]', '', search_string)
          try:
--- 223,227 ----
  
          artist = self.item.getattr('artist')
!         search_string = '%s %s' % (String(artist), String(album))
          search_string = re.sub('[\(\[].*[\)\]]', '', search_string)
          try:
***************
*** 226,230 ****
          except amazon.AmazonError:
              box.destroy()
!             dict_tmp = { "artist": str(artist), "album": str(album) }
              box = PopupBox(text=_( 'No matches for %(artist)s - %(album)s' ) % 
dict_tmp )
              box.show()
--- 229,233 ----
          except amazon.AmazonError:
              box.destroy()
!             dict_tmp = { "artist": String(artist), "album": String(album) }
              box = PopupBox(text=_( 'No matches for %(artist)s - %(album)s' ) % 
dict_tmp )
              box.show()



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to