Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv27629/plugins
Modified Files:
coversearch.py
Log Message:
changes for mmpython support
Index: coversearch.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/coversearch.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** coversearch.py 24 Jun 2003 18:39:42 -0000 1.9
--- coversearch.py 29 Jun 2003 20:42:14 -0000 1.10
***************
*** 14,17 ****
--- 14,20 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.10 2003/06/29 20:42:14 dischi
+ # changes for mmpython support
+ #
# Revision 1.9 2003/06/24 18:39:42 dischi
# some small fixes
***************
*** 127,132 ****
self.item = item
if item.type == 'audio' or item.type == 'audiocd':
! return [ ( self.cover_search_file, 'Find a cover for this music',
! 'imdb_search_or_cover_search') ]
return []
--- 130,139 ----
self.item = item
if item.type == 'audio' or item.type == 'audiocd':
! try:
! if self.item.getattr('artist') and self.item.getattr('album'):
! return [ ( self.cover_search_file, 'Find a cover for this music',
! 'imdb_search_or_cover_search') ]
! except KeyError:
! pass
return []
***************
*** 140,150 ****
box = PopupBox(text='searching Amazon...')
box.show()
!
! if self.item.type == 'audiocd':
! album = self.item.info['title']
! artist = self.item.info['artist']
! else:
! album = self.item.album
! artist = self.item.artist
amazon.setLicense(self.license)
--- 147,153 ----
box = PopupBox(text='searching Amazon...')
box.show()
!
! album = self.item.info['album']
! artist = self.item.info['artist']
amazon.setLicense(self.license)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog