Skip to content

HotkeyImageSorter v0.1.6

Choose a tag to compare

@Sucotasch Sucotasch released this 04 Nov 18:38
· 9 commits to main since this release

v0.1.6 — AI-metadata filter, name search, subfolder scan, detection fixes

New: ✦ AI metadata filter

  • Toggle in the sidebar shows only images that carry AI generation metadata (prompt/workflow) — the badge triage loop is complete: badge → filter → Ctrl+Q → move
  • First enable runs a folder-wide scan in chunks of 100 with live progress ("Scanning 300 / 1200…"); results feed the same cache as the badges, so re-enabling is instant
  • Combines with the type filter and name search; the counter shows "N of M images" while a filter is active

New: name search (Ctrl+F)

  • Live substring filter over file names — any part of the name, case-insensitive: type "euler" → everything with euler
  • Ctrl+F toggles the search row; Esc wipes the query, a second Esc closes it; composes with the type and ✦ filters

New: subfolder scan (↳) + folder navigation

  • ↳ toggle in the folder header includes the whole subtree in the same flat list — sort everything without navigating; the mode persists across folder switches
  • The folder header shows clickable breadcrumbs; Backspace goes to the parent folder
  • Folder rows never enter the list — Delete / A–Z / rename keep file-only semantics

New: zoom reset + live loading feedback

  • Ctrl+0 resets zoom to fit; the footer shows a percentage while zoomed — click it to reset
  • Large folder/subtree listings show a spinner with live "Found N files…" progress streamed from the backend — no more silent freezes on 25k-file trees
  • Ctrl+O opens the folder picker

Fixed: AI metadata detection (major audit on 433 real files)

  • Detection now routes by the actual file signature, not the extension. PNG bytes under a .jpeg name are common in scraped/renamed collections — 266 of 433 audited files! The fast path used to run a JPEG scan over PNG bytes and miss every one of them
  • No more detection panics: the ComfyUI prefix check sliced the value at a fixed byte offset and panicked inside multibyte characters (real prompts start 1girl,… / AIイラスト…); a panic erased every badge in its 100-file batch — the reported "unstable filter". Fixed byte-wise, plus per-file panic isolation
  • EXIF UserComment/ImageDescription now recognized as prompt carriers beyond the marker formats: SwarmUI sui_image_params JSON, NovelAI-style full_prompt arrays, generic {"prompt":…}, and bare prompt text (Flux captions) — surfaced as "EXIF UserComment" rather than denied. Surfacing a useless comment beats a false "no metadata"
  • Rotate/crop of a misnamed file no longer destroys its PNG prompt chunks (content-sniffed preservation path)
  • The Ctrl+Q modal reports the real format ("png" for PNG bytes, even under a .jpeg name)
  • ✦ badges reliably appear as soon as they are detected; the loading spinner no longer scrolls out of view

Fixed: keyboard & UI

  • Global shortcuts (Ctrl+0/F/Q/B) keep working while a text field has focus — the persistent search input used to silence them
  • A repeated Ctrl+F closes the search row (and wipes the query) instead of just re-focusing the field
  • README screenshots added; phantom H/L shortcut rows removed (those letters belong to the A–Z hotkeys)

Assets

  • hotkey-image-sorter.exe — portable
  • HotkeyImageSorter_0.1.6_x64-setup.exe — installer (NSIS)
  • HotkeyImageSorter_0.1.6_x64_en-US.msi — installer (MSI)