create_film
Add a film to the Rollekino archive enriched with TMDB details like plot, cast, and ratings. Automatically reuses existing entries instead of creating duplicates.
Instructions
Add a film to the archive, enriched from TMDB.
With tmdb_id the site fetches plot, poster, backdrop, cast, crew, genres, trailer, IMDb and Metascore exactly as the quick review page does. Find the id with lookup_tmdb.
The archive keeps one entry per film. If this one is already there, nothing is created and the existing entry comes back instead: update that with update_film or write_review rather than adding a second.
Args: title: Film title, usually the Finnish release title if it has one. tmdb_id: TMDB id, from lookup_tmdb. Strongly preferred. rating: Rolle's own rating: whole number 1 to 10, 0 for not rated. This is the archive's native scale, so never convert from IMDb or Metascore. If he gives stars out of 5, double them. date: Date shown on the review, YYYY-MM-DD or YYYY-MM-DD HH:MM, Helsinki time. Use the day he watched it, which Trakt history records, not today. content: His review text. Leave empty rather than writing one for him. status: draft or publish. imdb_url: Full IMDb URL, when there is no tmdb_id. year: Release year, when there is no tmdb_id. plot: Finnish synopsis, when there is no tmdb_id. allow_duplicate: Create even if the film exists. Almost never right.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| plot | No | ||
| year | No | ||
| title | Yes | ||
| rating | No | ||
| status | No | draft | |
| content | No | ||
| tmdb_id | No | ||
| imdb_url | No | ||
| allow_duplicate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |