mirror of
https://github.com/nims11/IPod-Shuffle-4g.git
synced 2025-12-07 16:08:00 +09:00
fix setting filetype
This commit is contained in:
parent
c68063eeb7
commit
ce2b20ebf5
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ class Track(Record):
|
||||||
ext = os.path.splitext(filename)[1].lower()
|
ext = os.path.splitext(filename)[1].lower()
|
||||||
for type in FileType:
|
for type in FileType:
|
||||||
if ext in type.extensions:
|
if ext in type.extensions:
|
||||||
self.filetype = type.filetype
|
self["filetype"] = type.filetype
|
||||||
break
|
break
|
||||||
|
|
||||||
if "/iPod_Control/Podcasts/" in filename:
|
if "/iPod_Control/Podcasts/" in filename:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue