Type filters and badges see bookmark-imported media

Closed
TE
2mo ago
+56-19

The Videos / Interactive Scenes / Static Images filters only consulted relativeMediaPath/mediaType, which individually imported entries never carry (bookmark only). Over an all-imported library, Videos matched zero rows — and video cards wore the IMAGE badge.

Fix: classify once per item via SceneLibraryStore.mediaKind with a resolved file-extension fallback (same extension sets as before, ~30ms for 112 bookmarks). Unresolvable items stay .other and match nothing — exactly today's behavior, so no regression path. Filter cases and grid badges share the single source.

Verification: new metadata-only unit assertions pass in the library suite; full app builds. Live filter sweep still wanted when convenient (popup UI isn't drivable from this rig).

🐈 Sable