View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001893 | OpenMPT | libopenmpt | public | 2025-06-08 11:41 | 2025-06-08 11:52 |
Reporter | Saga Musix | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0001893: Reliable unique format identifiers for libopenmpt | ||||
Description | There are some use cases where it's important to be able to have a clear list of unique module formats (potentially relevant for 0001079, for example). Right now, library users that want to programatically distinguish between unique module formats can start off by taking the file extension returned in libopenmpt metadata, but then some manual fixups need to be applied on top:
Just taking the format name itself, as it is currently offered by libopenmpt, is not enough, because it may distinguish sub-formats (e.g. for XM there are different format names for each format version 1.01-1.04) in ways that are irrelevant to the library user. Hence, an additional unique format key that can be easily used programmatically is required. This could be a UUID, or a unique but still human readable variation of the format name (e.g. "amf-asylum" vs "amf-dsmi"). Container formats like MO3 will also need their own unique format key. For messy formats like the MOD format, it may not be immediately clear where the boundaries of a "unique format" start and end, so it might also be necessary for some library users to distinguish between various sub-formats that are identified by different signatures (e.g. maybe a library user is only interested in M.K. and M!K! MODs but not 8CHN MODs). Maybe a secondary unique format key could solve this. | ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
related to | 0001079 | new | Allow blocking of specific file formats |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-08 11:41 | Saga Musix | New Issue | |
2025-06-08 11:52 | Saga Musix | Relationship added | related to 0001079 |