Skip to content

Commit

Permalink
Testing shows that saving tags is length safe
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBengineer committed May 8, 2021
1 parent 1c11acc commit 767cf80
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from mp3_tagger import MP3File, VERSION_BOTH

# Create MP3File instance.
mp3 = MP3File("E:\\Music\\Takeout\\YouTube and YouTube Music\\music-uploads\\This Is Berk.mp3")

print(mp3.get_tags())
alb = mp3.album
mp3.album = 'asdf'*50
mp3.set_version(VERSION_BOTH)
mp3.save()

0 comments on commit 767cf80

Please sign in to comment.