/oss · 1 merged

gabriel-vasile/mimetype

A Go library that tells what kind of file something is by reading its first bytes.

the project on GitHub (opens in a new tab)
  1. 30 Nov 2026

    Subtitle files with a hidden start mark are recognized

    What was broken
    SRT subtitle files saved with a hidden mark at the start, which Subtitle Edit adds by default, were detected as plain text instead of subtitles.
    What I changed
    The subtitle check now skips that mark first, as the check for the other common subtitle format already did.
    Why it matters
    Apps that sort or serve uploads by type handle these subtitle files correctly.

    see the code, #862 (opens in a new tab)

← every project