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

Modified Files:
        imdb.py 
Log Message:
use Thread from kaa.notifier

Index: imdb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/imdb.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** imdb.py     18 Jun 2005 14:34:56 -0000      1.40
--- imdb.py     28 Jun 2005 16:03:36 -0000      1.41
***************
*** 40,44 ****
  import re
  import time
! import notifier
  
  # freevo imports
--- 40,46 ----
  import re
  import time
! 
! # kaa imports
! import kaa.notifier
  
  # freevo imports
***************
*** 49,53 ****
  from gui.windows import WaitBox, MessageBox
  from util import htmlenties2txt
- from util.fthread import Thread
  
  # shortcut for the actions
--- 51,54 ----
***************
*** 148,156 ****
  
          # create callback to handle the results
!         cb = notifier.Callback(self.parse_results, item, disc_set, box)
          # create callback for a possible exception
!         ex = notifier.Callback(self.handle_exception, item, box)
          # start search in thread
!         thread = Thread(fxd.guessImdb, searchstring, disc_set)
          thread.start(cb, ex)
              
--- 149,157 ----
  
          # create callback to handle the results
!         cb = kaa.notifier.Callback(self.parse_results, item, disc_set, box)
          # create callback for a possible exception
!         ex = kaa.notifier.Callback(self.handle_exception, item, box)
          # start search in thread
!         thread = kaa.notifier.Thread(fxd.guessImdb, searchstring, disc_set)
          thread.start(cb, ex)
              
***************
*** 211,219 ****
  
          # create callback to handle the data
!         cb = notifier.Callback(self.save, item, fxd, box, disc_set, 
devicename)
          # create callback for a possible exception
!         ex = notifier.Callback(self.handle_exception, item, box)
          # start download in thread
!         thread = Thread(fxd.setImdbId, id)
          thread.start(cb, ex)
          
--- 212,221 ----
  
          # create callback to handle the data
!         cb = kaa.notifier.Callback(self.save, item, fxd, box, disc_set,
!                                    devicename)
          # create callback for a possible exception
!         ex = kaa.notifier.Callback(self.handle_exception, item, box)
          # start download in thread
!         thread = kaa.notifier.Thread(fxd.setImdbId, id)
          thread.start(cb, ex)
          



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to