Polymorphic Load Media Entry Point

One generic "load this item and start playing" function normalizes several item types into a single internal shape, routes the queue-seeding strategy off a discriminator, and gates every pre-enqueue policy at that one place. Use when playback can start from many screens and a rule (content filter, dedup, analytics, resume-without-autoplay) keeps getting forgotten on one of the paths.

maxrave-dev ed95932 6.3 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/polymorphic-load-media-entry-point commit ed9593261b

Frequently asked questions

npx skillmds@latest add maxrave-dev/polymorphic-load-media-entry-point