cc-4105: added handling for recorded files
This commit is contained in:
parent
01c44e32d1
commit
6e2e7d83ad
5 changed files with 20 additions and 9 deletions
|
@ -53,8 +53,8 @@ class Bootstrapper(Loggable):
|
|||
dispatcher.send(signal=self.watch_signal, sender=self, event=DeleteFile(to_delete))
|
||||
deleted += 1
|
||||
for to_add in songs.difference(db_songs):
|
||||
if len(songs.difference(db_songs)) > 100:
|
||||
import ipdb; ipdb.set_trace()
|
||||
#if len(songs.difference(db_songs)) > 100:
|
||||
#import ipdb; ipdb.set_trace()
|
||||
dispatcher.send(signal=self.watch_signal, sender=self, event=NewFile(to_add))
|
||||
added += 1
|
||||
self.logger.info( "Flushed watch directory (%s). (added, modified, deleted) = (%d, %d, %d)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue