Skip to content

Tighten TV browse to scripted shows with real audiences - #7

Merged
AmrMsCLL merged 1 commit into
mainfrom
tv-browse-quality
Sep 26, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
tv-browse-quality

Conversation

@AmrMsCLL

Copy link
Copy Markdown
Member

Summary

TV Popular came straight from /tv/popular, which ranks by activity, so talk shows, news, soaps, micro-dramas and AI-generated series crowded out real shows. TV Recent sorted /discover/tv newest-first with no vote floor, so it listed zero-vote uploads from the same day.

  • Popular and Recent TV both use /discover/tv; the /tv/popular branch is removed.
  • with_type=2|4 keeps miniseries and scripted shows, unless a genre is chosen, so Reality or Documentary filters still work.
  • vote_count.gte is 100 for Popular and 10 for Recent, skipped for the unaired statuses Planned, In production and Pilot.
  • Recent TV is the last 90 days by popularity, unless a year is chosen.
  • TV browse drops Mandarin (zh), Cantonese (cn) and China-origin titles; search is unchanged.

A live TMDB probe with these parameters turned Popular from Carson, Colbert, Tagesschau and a Hong Kong soap into Reacher, Lioness, MobLand and Lanterns, and Recent from zero-vote uploads into about 105 real premieres.

Tests

  • The Recent TV expectation moves from first_air_date.desc to popularity.desc; the anime assertions in that test are unchanged.
  • New tests cover the vote floor, the type filter, Chinese-origin filtering, search passthrough and the genre and unaired-status exemptions.
  • npm run test --workspace server, npm run lint and npm run build --workspace server pass.

Popular and Recent TV both go through /discover/tv with scripted and
miniseries types, a vote floor and a 90-day window for Recent, and drop
Chinese-origin titles from browse while search still finds them.
@github-actions github-actions Bot added the size/m 51-200 changed lines, excluding lockfiles label Sep 26, 2026
@AmrMsCLL
AmrMsCLL merged commit f2ac9a8 into main Sep 26, 2026
6 checks passed
@AmrMsCLL
AmrMsCLL deleted the tv-browse-quality branch September 26, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m 51-200 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant