6114451e

By: Michael Lynch <git@mtlynch.io>

Simplify MediaItem.Filenames() with a per-type spec table

Replace two separate switches on MediaType (one for the full-size
extension, one for thumbnail/display filenames) with a single spec
table, removing duplicate thumbnail-building code shared by
MediaTypeImage and MediaTypeImageAnimated.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 9s 9s 12s 2s
Eval 7s 41s 41s 48s 0s
Build 25s 6m25s 2m14s 2m40s 21s
Suite 2s 7m16s 2m37s 2m40s 24s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m40s