Skip to content
Pick a Psych on desktop, showing Cog Blocked with season and collection filters, episode still, synopsis, and guest stars.
The current picker, with episode details and guest stars.

Pick a Psych

Synthetic

We watch a lot of Psych. We could never decide which episode to watch, so I built a simple random picker using a JSON list of episodes. It was my first coding project.

The project began with ChatGPT in 2024. The early version below already had the pineapple, green background, and a large episode title. It has since grown into an episode guide and a record of what we’ve watched.

Earlier Pick a Psych interface with the pineapple, episode filter, random-pick button, and a text-only episode result.
An archived v2 screenshot from the original picker.

Picking an episode

The picker covers 120 episodes across eight seasons, including Psych: The Musical. Season and Holiday, Spooky, Sports, or Guest Stars filters work together. The next pick avoids the current episode when there is another match, and Previous pick returns to earlier choices in the session.

Each result has a synopsis, air date, runtime, images, and cast and crew credits from TMDB. The prepared JSON catalog handles picking and searching locally; images load from TMDB. Browsing and picking work without signing in.

Finding the episode I remember

Sometimes I know the episode, just not its title. Searching “the Blair Witch episode” finds Lassie Jerky, where Shawn and Gus join students making a Bigfoot documentary. The Episode Guide searches stories, characters, cast, crew, and selected references as well as titles.

It accepts codes such as S7E3, small typos, and common nicknames. Search clues are stored in the catalog, so queries respond locally without going to an AI service. Opening a result and returning keeps the search and season filter in place.

Episode Guide search showing the query the Blair Witch episode and Lassie Jerky as its single result.
Searching for “the Blair Witch episode” finds Lassie Jerky.

Recording what we watch

Google sign-in adds per-account history and saved preferences. Each pineapple is a viewing, with a count and latest date beside the episode. Watching again adds another viewing; Undo last removes the latest one.

The picker excludes recently watched episodes for an adjustable window, initially 90 days. If every filtered match is recent, Include all episodes restores the choices without clearing the other filters. The guide keeps the full catalog available.

Watch settings with Exclude recently watched enabled and a 90-day window.
The recency window can be adjusted in Watch settings. Sample account.

The history panel separates total viewings, unique episodes, completion, and rewatches. Recently watched cards open the episode details, with saved history available across devices after signing in.

Sample Viewer history showing 30 recorded viewings, 16 of 120 episodes watched, 14 rewatches, and recent episode cards.
Recorded viewings, series progress, and recently watched episodes. Sample data.

An eight-week chart, season progress, and most-watched episodes show how those viewings add up. Recorded viewing time uses episode runtimes and includes rewatches; it reflects what I marked, rather than tracking playback. PHP stores each account’s history privately.

Eight-week viewing chart, progress bars for all eight seasons, and the three most-watched episodes in the sample history.
Weekly activity, season progress, and most-watched episodes. Sample data.

Episode stills, cast portraits, and episode information are provided by TMDB.