cjcodeproj / musicscan

Python code to examine music files and extract metadata
MIT License
0 stars 0 forks source link

Flag codes should probably be distinct between album and song. #22

Closed cjcodeproj closed 2 months ago

cjcodeproj commented 5 months ago

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.

cjcodeproj commented 2 months ago

Commit:

https://github.com/cjcodeproj/musicscan/commit/9f62b8eaba9cee4a71c0b89d756d26e99c3a7426