(btw yes you can add new categories)
if you could standardise one file format for a task, what would it be:
- photos .jxl
- open domain image data .exr
- videos .av1
- lossless audio .flac
- lossy audio .opus
- subtitles srt/ass
- fonts .otf
- container mkv (doesnt contain .jxl)
- plain text utf-8 (many also say markup but disagree on the implementation)
- documents .odt
- archive files .tar.zst (this one is causing a bloodbath so i picked randomly)
- configuration files toml
- typesetting typst
- interchange format .ora
- models .gltf / .glb
- daw session files .dawproject
- otdr measurement results .xml
i dknt understand
The Freedesktop Foundation has already categorized a ton of stuff and more.
could you link the index apologies
Here’s the repo: https://gitlab.freedesktop.org/xdg/shared-mime-info
Here’s the current XML for the metadata: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/b7db17480af0aeeb6df5668e8d10e275527d2825/data/freedesktop.org.xml.in
mate i am so confused sorry
Here’s an example of a PNG:
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/b7db17480af0aeeb6df5668e8d10e275527d2825/data/freedesktop.org.xml.in#L5345-5353
This says that PNG files…
There are hundreds of entries like this in the XML with formal categorization :)
It sounds like you’re trying to approach a solved problem, though. Why are you building a file list, and what are you going to use it for? What are you ultimately trying to do?
im trying to find the ‘best’ format for each category