The code should probably be split into multiple objects representing flag codes distinct to an Album object, and flag codes distinct to a Track object.
The code values used for the codes can still be distinct, and an effort can be made to ensure the values do not overlap.
Right now the flag codes is a single data structure.
https://github.com/cjcodeproj/musicscan/blob/c670633c2f8b003ac8c3193cc5696444b384f2be/src/musicscan/data/flags.py#L63-L81
The code should probably be split into multiple objects representing flag codes distinct to an Album object, and flag codes distinct to a Track object.
The code values used for the codes can still be distinct, and an effort can be made to ensure the values do not overlap.