Barely working. (Somehow TinyTag removes all "b"s at the beginning of the string tag.)
This commit is contained in:
parent
94e350428b
commit
03ea689bff
6 changed files with 196 additions and 3 deletions
17
tests/id3.py
Normal file
17
tests/id3.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from json import dumps
|
||||
from smalltag import SmallTag
|
||||
|
||||
|
||||
test_tag = SmallTag.get("test.mp3")
|
||||
print(test_tag)
|
||||
|
||||
print(test_tag.title)
|
||||
test_tag.title = "bTest"
|
||||
|
||||
test_tag.write()
|
||||
|
||||
test_tag = SmallTag.get("test.mp3")
|
||||
|
||||
print(dumps(test_tag.as_dict(), indent=" "))
|
Loading…
Add table
Add a link
Reference in a new issue