d1dd45ee

By: Michael Lynch <git@mtlynch.io>

Move mediaEntry definition closer to first use

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