From ce2b20ebf5a82bc24bea3d19b5c51d802ce388a2 Mon Sep 17 00:00:00 2001 From: Arno Hautala Date: Tue, 22 Mar 2022 22:13:00 -0400 Subject: [PATCH] fix setting filetype --- ipod-shuffle-4g.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipod-shuffle-4g.py b/ipod-shuffle-4g.py index 8e4520a..61cf9e2 100755 --- a/ipod-shuffle-4g.py +++ b/ipod-shuffle-4g.py @@ -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: