fix setting filetype

This commit is contained in:
Arno Hautala 2022-03-22 22:13:00 -04:00
parent c68063eeb7
commit ce2b20ebf5

View file

@ -399,7 +399,7 @@ class Track(Record):
ext = os.path.splitext(filename)[1].lower()
for type in FileType:
if ext in type.extensions:
self.filetype = type.filetype
self["filetype"] = type.filetype
break
if "/iPod_Control/Podcasts/" in filename: