CC-2633: media monitor crashes on non-ascii files and metadata
- fixed bug for the case where mutagen return None for metadata - fixed bug for non-ascii files and metadata
This commit is contained in:
parent
6c6776e2ce
commit
938c503e85
5 changed files with 49 additions and 28 deletions
|
@ -70,7 +70,8 @@ try:
|
|||
#create 5 worker threads
|
||||
wp = MediaMonitorWorkerProcess()
|
||||
for i in range(5):
|
||||
t = Thread(target=wp.process_file_events, args=(multi_queue, notifier))
|
||||
threadName = "Thread #%d" % i
|
||||
t = Thread(target=wp.process_file_events, name=threadName, args=(multi_queue, notifier))
|
||||
t.start()
|
||||
|
||||
wdd = notifier.watch_directory(storage_directory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue