lofty-rs icon indicating copy to clipboard operation
lofty-rs copied to clipboard

ID3v2: Enforce tag restrictions

Open Serial-ATA opened this issue 5 months ago • 0 comments

ID3v2 lets you define tag restrictions in the extended header, which we can already read/write: https://github.com/Serial-ATA/lofty-rs/blob/8625a129569e9848e4b37800406da391ea79ef49/lofty/src/id3/v2/restrictions.rs

But they aren't enforced when writing a tag.

Does anyone actually use this feature? As with most things in ID3v2, probably not. But it could be neat.

This would be an optional toggle in WriteOptions that would be off by default.

Serial-ATA avatar Jul 09 '25 20:07 Serial-ATA