diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 04aa77e..4195006 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -20,20 +20,7 @@ - - - - - - - - - - - - - - + @@ -202,7 +196,8 @@ - @@ -221,10 +216,10 @@ - + - + @@ -250,25 +245,25 @@ - + - + - + - + - + - + - + - + @@ -311,5 +306,6 @@ + \ No newline at end of file diff --git a/bcao.py b/bcao.py index 44bac6c..bc775c5 100755 --- a/bcao.py +++ b/bcao.py @@ -110,7 +110,7 @@ class SongInfo: continue value_list = self.m_tags[tag] - if self.format == "m4a" and tag == "track": + if self.format == "m4a" and standard_name == "track": # every tag in the MP4 file (from what i can tell) is a list # this includes the track number tag, which is a tuple of ints in a list. # because every other format is either a non-list, or a list of non-lists, we need to account for this case