dotfiles should be ignored by dir backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeya |
New
|
Undecided
|
Unassigned |
Bug Description
Was trying to figure out the following
Scanning for music in '/home/
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FLAC::File::scan() -- FLAC stream not found
Traceback (most recent call last):
File "./zeya.py", line 398, in <module>
backend = get_backend(
File "./zeya.py", line 314, in get_backend
return DirectoryBacken
File "/home/
self.setup_db()
File "/home/
self.
File "/home/
song_filename, previous_db)
File "/home/
file_mtime = os.stat(
TypeError: must be encoded string without NULL bytes, not str
It ended up being a stray .AppleDouble folder.
When parsing folders recursively dotfiles and folders should be ignored by default.