saecki / mp4ameta

A library for reading and writing iTunes style MPEG-4 audio metadata
Apache License 2.0
35 stars 5 forks source link

added a few methods for completeness #8

Closed TianyiShi2001 closed 4 years ago

TianyiShi2001 commented 4 years ago

Added four methods:

remove_track_number remove_total_tracks
remove_disc_number remove_toal_discs
saecki commented 4 years ago

Thank you for contributing, looks good!

saecki commented 4 years ago

I updated the track and disc handling test and fixed a bug in the remove_disc_number and remove_total_discs methods. Since 0 was already implicitly treated as a nonexistent value, it is now also explicitly. All track and disc methods now return None instead of Some(0).