Functional Requirement Document (FRD)
This document lists what Streamix does, grouped by area. Each requirement reflects behaviour that exists in the code today. Items marked (partial) are implemented with the limits noted. Planned work lives in the Roadmap.
1. Visitors (signed out)
| ID | Requirement |
|---|---|
| V1 | The landing page (/) shows a hero with headline, sub-headline, "Starts at {price}" line and an email field; the copy is editable in admin → Content → Landing page. |
| V2 | A "Trending Now" row with rank numbers opens a title modal. |
| V3 | "More reasons to join" cards and an FAQ accordion (admin → FAQs, first 8 active questions). |
| V4 | Signed-in members who open / are redirected to /browse. |
| V5 | Public title pages (/title/[slug]) with metadata, Open Graph data and structured data, listed in the sitemap. |
| V6 | Help Centre (/help): search, categories, articles, related articles and "Was this helpful?" feedback. |
| V7 | Plans page (/pricing), legal pages (terms, privacy, cookie and refund policy), contact form, blog, CMS pages. |
| V8 | Cookie consent with Accept all, Essential only and a preferences centre; analytics tags wait for consent. |
2. Authentication
| ID | Requirement |
|---|---|
| A1 | Register with name, email and password; email verification by code. |
| A2 | Sign in with email and password, with "Remember me" (unticked = session cookie). |
| A3 | Sign in with a one-time 6-digit code sent by email (valid 15 minutes, 5 attempts, single use). |
| A4 | Forgot / reset password by emailed code. |
| A5 | Social sign-in when a social add-on (Google, Facebook) is connected. |
| A6 | Auth endpoints are rate-limited. |
3. Sign-up and plans
| ID | Requirement |
|---|---|
| S1 | /signup (step 1 of 3) opens account creation with the landing email pre-filled. |
| S2 | /signup/planform shows plan cards: price, resolution, screens, download devices, features. |
| S3 | /checkout/[plan] quotes the price server-side, applies a coupon or promo code and starts payment with the chosen gateway; /checkout/return completes it. |
| S4 | /signup/onboarding creates household profiles and asks the member to pick titles they like (seeds recommendations). |
| S5 | Offline methods (bank transfer, cash) create a pending subscription and payment; an admin activates it after the money arrives. |
4. Profiles
| ID | Requirement |
|---|---|
| P1 | "Who's watching?" gate after sign-in and on "Switch profile"; up to N profiles per account (admin setting, default 5, max 10). |
| P2 | Create, edit and delete profiles: name, avatar from themed sets, Kids toggle, display language. |
| P3 | Parental controls per profile: maturity level (all ages, 7+, 13+, 16+, 18+) and blocked titles. Kids profiles are capped at level 7. |
| P4 | Profile Lock: a 4-digit PIN, set or removed after confirming the account password. |
| P5 | Playback preferences: autoplay next episode, autoplay previews. |
| P6 | Subtitle appearance (font, size, colour, shadow, background) with a live preview. |
| P7 | Viewing activity per profile: list, hide items, CSV download. Ratings list with remove. |
| P8 | Profile transfer: the owner creates a one-time code (valid 7 days); another account redeems it and receives the profile with its history, My List and settings. |
| P9 | The active profile is stored in a cookie and re-checked against the signed-in account on every request. |
5. Browsing and discovery
| ID | Requirement |
|---|---|
| B1 | Top navigation: Home, TV Shows, Movies, New & Popular, My List, Browse by Languages; search, Kids, notifications bell and profile menu. |
| B2 | Each browse page shows a billboard (backdrop, title logo, synopsis, muted trailer after a delay, Play and More Info). |
| B3 | Rows are configured per page in admin. Row types: Continue Watching, Top 10, My List, Because You Watched, Trending, New Releases, Originals, Genre, Coming Soon, Top Picks for {profile}, We Think You'll Love These, and manual rows. |
| B4 | Hover preview card on desktop (delay configurable) with trailer, Play, My List, rating, match %, maturity, runtime or seasons, quality badge and genres. Touch devices open the modal. |
| B5 | Title modal (?jbv=), deep-linkable, closes with browser Back: trailer, Play/Resume, My List, rating (Not for me, I like this, Love this), meta, episodes by season, More Like This, trailers, About with full credits. |
| B6 | TV Shows and Movies offer rows or a sortable grid (?view=grid&sort=); genre pages list a genre with sub-genres. |
| B7 | New & Popular (/latest): new titles, Top 10 TV and movies, Coming This Week / Next Week with release dates and Remind Me. |
| B8 | Browse by Languages by original language, dubbing (audio tracks) or subtitles. |
| B9 | Search as you type across titles, people and genres, with typo tolerance through pg_trgm when the extension is available. |
| B10 | "Match %" per title from the profile's genres and moods (watched, rated, saved). |
| B11 | Notifications bell: new arrivals, reminders going live, new seasons; unread badge; mark as read. |
| B12 | Kids home (/kids) with a simplified, brighter layout and kids-rated titles only. |
| B13 | Every list respects the profile's maturity level, blocked titles, availability window and country allow/deny lists. |
6. Playback
| ID | Requirement |
|---|---|
| W1 | /watch/[slug] plays HLS (hls.js or native) or MP4 and starts from the saved position. |
| W2 | Controls: play/pause, back/forward 10 s, volume, seek bar (with thumbnail previews for transcoded videos), episodes panel, audio and subtitles menu, playback speed, full screen. |
| W3 | Keyboard: Space/K, ←/→ (or J/L), ↑/↓ volume, F full screen, M mute, S skip intro, Esc. |
| W4 | Skip Intro and Skip Recap from episode markers; next-episode countdown at the credits (length configurable); "Watch Credits". |
| W5 | "Are you still watching?" after N episodes without interaction (configurable, 0 = off). |
| W6 | Progress saved periodically and on exit; finished = within the credits or 95 % through. |
| W7 | Concurrent-stream limit per plan, enforced when a stream starts (HTTP 409 with the limit). A stream stopped from another device or by an admin ends on the next heartbeat. |
| W8 | Subtitles and captions as WebVTT tracks styled with the profile's subtitle settings. (partial: separate audio tracks are listed but cannot be switched in the browser player.) |
| W9 | Plan max resolution is applied to transcoded HLS. (partial: MP4 plays at its own resolution.) |
| W10 | Signed-in admins can preview any title in the browser that holds the admin session. |
7. Account
| ID | Requirement |
|---|---|
| M1 | Overview: member since, plan, next payment, payment method, quick links. |
| M2 | Change plan: takes effect now, the new price applies from the next payment. No proration. |
| M3 | Renew (/account/membership/renew): pay for the next period ahead of time or after a lapse. |
| M4 | Cancel and restart membership; payment history with invoices. |
| M5 | Redeem a gift or promo code (checked, then applied at the next payment). |
| M6 | Security: password, email (with verification), mobile number, communication settings, personal info download (JSON), sign out of all devices, delete account. |
| M7 | Devices: signed-in devices, recent streaming activity, mobile download device count. |
| M8 | A billing banner prompts members whose membership is on hold or due soon. |
8. Admin
| ID | Requirement |
|---|---|
| AD1 | Titles: list with search, type filter, export and bulk status change; editor tabs Details, Artwork & Video, Cast & Crew, Seasons & Episodes (series), Availability & SEO. |
| AD2 | Video: direct presigned upload to the bucket or an HLS/MP4 URL; "Convert to HLS" with status and progress; subtitle upload (SRT or VTT → WebVTT); audio track entries. |
| AD3 | Episodes: markers for intro, recap and credits (seconds, with a scrubber). |
| AD4 | Genres (tree), People, Moods, Maturity ratings (per country, with numeric level). |
| AD5 | Merchandising: billboards and rows per page (Home, TV, Movies, Kids, New & Popular, genre), with audience, card shape, limits and ordering. |
| AD6 | Members: list and detail with plan, profiles, devices, live streams, payments and viewing activity; password reset, sign out all devices, stop a stream, extend or cancel membership, send a renewal reminder. |
| AD7 | Billing: plans (name, price, period, trial, features), coupons, subscribers (cancel, extend), transactions. (partial: plan streaming limits are set by the seed or in the database, not in the plan form.) |
| AD8 | Analytics: subscribers, churn, MRR, revenue, hours viewed, plays, top titles and genres, completion, concurrent streams, device mix, searches and searches with no results, per-title drop-off. |
| AD9 | Settings → Streaming: max profiles, stream-limit enforcement, still-watching threshold, autoplay defaults, hover delay, next-episode countdown, allowed countries, default maturity level. |
| AD10 | Content: Landing page, Page Builder, Blog, Media Library, FAQs, Help Centre. Platform: users, roles and permissions, localization, notification templates, add-ons, API tokens, webhooks, theme, license, backup. |
9. Notifications and scheduled work
| ID | Requirement |
|---|---|
| N1 | Transactional emails: welcome, verify email, password reset, sign-in code, password changed, subscription activated, payment receipt, renewal reminder, membership on hold, expired, cancelled, plan changed. |
| N2 | Engagement messages: weekly new-arrivals digest, new season of a series the profile watches, "now available" for reminded titles. Sent by email and web push, respecting the member's communication settings; the in-app notification is always written. |
| N3 | Hourly cron: reminders, daily Top 10, recommendations rebuild, subscription lifecycle, content translation backstop, digests. |
© CreativeCape Solutions · creative-cape.com · support@creative-cape.com