Skip to content

Commit

Permalink
flake8'd
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnd committed Sep 30, 2022
1 parent cd56688 commit a34ec36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions tinytag/tests/test_all.py
Expand Up @@ -394,6 +394,7 @@

testfolder = os.path.join(os.path.dirname(__file__))


def load_custom_samples():
retval = {}
custom_samples_folder = os.path.join(testfolder, 'custom_samples')
Expand Down
12 changes: 8 additions & 4 deletions tinytag/tinytag.py
Expand Up @@ -405,21 +405,25 @@ def debug_atom(cls, data):
b'\xa9ART': {b'data': Parser.make_data_atom_parser('artist')},
b'\xa9alb': {b'data': Parser.make_data_atom_parser('album')},
b'\xa9cmt': {b'data': Parser.make_data_atom_parser('comment')},
# b'cpil': {b'data': Parser.make_data_atom_parser('extra.compilation')}, # need test-data for this
# need test-data for this
# b'cpil': {b'data': Parser.make_data_atom_parser('extra.compilation')},
b'\xa9day': {b'data': Parser.make_data_atom_parser('year')},
# b'\xa9des': {b'data': Parser.make_data_atom_parser('description')}, # need test-data for this
# need test-data for this
# b'\xa9des': {b'data': Parser.make_data_atom_parser('description')},
b'\xa9gen': {b'data': Parser.make_data_atom_parser('genre')},
b'\xa9lyr': {b'data': Parser.make_data_atom_parser('extra.lyrics')},
b'\xa9mvn': {b'data': Parser.make_data_atom_parser('movement')},
b'\xa9nam': {b'data': Parser.make_data_atom_parser('title')},
b'\xa9wrt': {b'data': Parser.make_data_atom_parser('composer')},
b'aART': {b'data': Parser.make_data_atom_parser('albumartist')},
b'cprt': {b'data': Parser.make_data_atom_parser('extra.copyright')},
# b'desc': {b'data': Parser.make_data_atom_parser('extra.description')}, # need test-data for this
# need test-data for this
# b'desc': {b'data': Parser.make_data_atom_parser('extra.description')},
b'disk': {b'data': Parser.make_number_parser('disc', 'disc_total')},
b'gnre': {b'data': Parser.parse_id3v1_genre},
b'trkn': {b'data': Parser.make_number_parser('track', 'track_total')},
# b'tmpo': {b'data': Parser.make_data_atom_parser('extra.bmp')}, # need test-data for this
# need test-data for this
# b'tmpo': {b'data': Parser.make_data_atom_parser('extra.bmp')},
}}}}}

# see: https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html
Expand Down

0 comments on commit a34ec36

Please sign in to comment.