A module that extends TinyTag's capabilities by also writing tags.
Find a file
2025-03-30 18:40:34 +02:00
smalltag Did some reformatting. 2025-03-30 17:23:05 +02:00
tests Replaced old test with a parametrized test that tests every file type. 2025-03-30 18:33:22 +02:00
.gitignore Implemented writing of numerical strings. 2025-03-17 17:36:22 +01:00
LICENSE.txt Initial Commit 2025-03-13 17:15:29 +01:00
pyproject.toml Initial Commit 2025-03-13 17:15:29 +01:00
README.md Added new features to the README.md. 2025-03-30 18:40:34 +02:00
requirements.txt Initial Commit 2025-03-13 17:15:29 +01:00

SmallTag

A module that extends TinyTag's capabilities by also writing tags.

Features

Feature Details State
ID3 Writing Strings
Integers
Links
Images
Partially Implemented
Ogg Vorbis Writing Strings
Integers
Links
Images
Partially Implemented

Usage

Caution

Please note that this module is still in development and could corrupt the audio file.

Reading works in exactly the same way as with TinyTag.
Example:

from smalltag import SmallTag

tag = SmallTag.get("test.mp3")

print(tag.title)
# Example Output: Test

But this module also adds support for writing metadata. Just use the write()-function on a loaded tag to write the metadata to the file.
Example:

from smalltag import SmallTag

tag = SmallTag.get("test.mp3")

print(tag.title)
# Example Output: Test

tag.title = "Another Test"

tag.write()

When you then load the metadata again, you will see that the title has changed:

from smalltag import SmallTag

tag = SmallTag.get("test.mp3")

print(tag.title)
# Example Output: Another Test