BigHugger
sk Skill · maxrave-dev

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.

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
kotlin
Host repository
maxrave-dev/kotlin-footguns
Host stars
541