|
|
If there is an mp3 file that has ID3-tag and the artist field contains "/"
character, then our indexer fails to index that file. I suppose that there
is a same problem if album field contains this charcter.
Here is the exception trace:
Exception in thread IndexerThread:
Traceback (most recent call last):
File "threading.py", line 460, in __bootstrap
self.run()
File
"/home/late/projects/entertainer/src/backend/components/mediacache/indexer_thread.py",
line 84, in run
cache.addDirectory(element)
File
"/home/late/projects/entertainer/src/backend/components/mediacache/music_cache.py",
line 153, in addDirectory
self.addFile(os.path.join(root, name))
File
"/home/late/projects/entertainer/src/backend/components/mediacache/music_cache.py",
line 96, in addFile
self.__addMP3file(filename)
File
"/home/late/projects/entertainer/src/backend/components/mediacache/music_cache.py",
line 346, in __addMP3file
self.__searchAlbumArt(artist, album, filename)
File
"/home/late/projects/entertainer/src/backend/components/mediacache/music_cache.py",
line 443, in __searchAlbumArt
shutil.copyfile(filename[:filename.rfind('/')+1]+"folder.jpg",
album_art_file)
File "shutil.py", line 47, in copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory:
u'/home/late/.entertainer/cache/album_art/To/Die/For - A Tribute to
Scorpions.jpg'
|