addedInput schema / $schema
Added value: +"https://json-schema.org/draft/2020-12/schema"
removedInput schema / additionalProperties
Removed value: -false
removedInput schema / properties / ai_translated
Removed value: -{
- "description": "Include AI translated subtitles (exclude, include, only)",
- "type": "string"
-}
changedInput schema / properties / episode_number / description
Previous value: -"Episode number for TV episodes"New value: +"TV episode number within season_number"
addedInput schema / properties / episode_number / maximum
Added value: +9999
addedInput schema / properties / episode_number / minimum
Added value: +0
changedInput schema / properties / episode_number / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / exact_title
Added value: +{
+ "default": true,
+ "description": "When searching by title, first resolve it to the exact movie/show (so \"The Matrix\" does not return \"The Matrix Revisited\"). Set false for a fuzzy text search.",
+ "type": "boolean"
+}
addedInput schema / properties / feature_id
Added value: +{
+ "description": "OpenSubtitles feature id from search_features. With season_number/episode_number it is the show's id.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+}
addedInput schema / properties / filename
Added value: +{
+ "description": "Video filename, e.g. \"Chicago.Fire.S14E01.1080p.WEB.h264-ETHEL.mkv\". Parsed with guessit-js into title/year/season/episode; its release name ranks matching subtitles first.",
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / foreign_parts_only / default
Added value: +"include"
changedInput schema / properties / foreign_parts_only / description
Previous value: -"Include foreign parts only subtitles (exclude, include, only)"New value: +"Subtitles that only cover foreign-language dialogue"
addedInput schema / properties / foreign_parts_only / enum
Added value: +[
+ "include",
+ "exclude",
+ "only"
+]
addedInput schema / properties / hearing_impaired / default
Added value: +"include"
changedInput schema / properties / hearing_impaired / description
Previous value: -"Include hearing impaired subtitles (exclude, include, only)"New value: +"Subtitles for the deaf and hard of hearing (SDH)"
addedInput schema / properties / hearing_impaired / enum
Added value: +[
+ "include",
+ "exclude",
+ "only"
+]
addedInput schema / properties / imdb_id / anyOf
Added value: +[
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "pattern": "^(tt)?\\d{1,10}$",
+ "type": "string"
+ }
+]
changedInput schema / properties / imdb_id / description
Previous value: -"IMDB ID for exact movie/series matching"New value: +"IMDb id (tt0133093 or 133093). With season_number/episode_number it is the show's id."
removedInput schema / properties / imdb_id / type
Removed value: -"number"
addedInput schema / properties / include_ai_translated
Added value: +{
+ "default": true,
+ "description": "Include AI-translated subtitles",
+ "type": "boolean"
+}
addedInput schema / properties / include_machine_translated
Added value: +{
+ "default": false,
+ "description": "Include machine-translated subtitles (usually low quality)",
+ "type": "boolean"
+}
changedInput schema / properties / languages / description
Previous value: -"Comma-separated language codes (e.g., 'en,es,fr')"New value: +"Subtitle languages in order of preference, e.g. [\"en\", \"pt-BR\"]. Omit for all languages."
addedInput schema / properties / languages / items
Added value: +{
+ "description": "Language code as listed by list_languages, e.g. en, de, pt-BR, zh-CN",
+ "pattern": "^[A-Za-z]{2,3}(-[A-Za-z]{2,4})?$",
+ "type": "string"
+}
addedInput schema / properties / languages / maxItems
Added value: +20
addedInput schema / properties / languages / minItems
Added value: +1
changedInput schema / properties / languages / type
Previous value: -"string"New value: +"array"
removedInput schema / properties / machine_translated
Removed value: -{
- "description": "Include machine translated subtitles (exclude, include, only)",
- "type": "string"
-}
removedInput schema / properties / moviebytesize
Removed value: -{
- "description": "File size in bytes for hash matching",
- "type": "number"
-}
changedInput schema / properties / moviehash / description
Previous value: -"OpenSubtitles file hash for exact matching"New value: +"OpenSubtitles hash of the video file (calculate_file_hash in local mode). Exact file matches are flagged moviehash_match and ranked first."
addedInput schema / properties / moviehash / pattern
Added value: +"^[0-9a-fA-F]{16}$"
addedInput schema / properties / order_by / default
Added value: +"relevance"
changedInput schema / properties / order_by / description
Previous value: -"Sort order (language, download_count, new, rating)"New value: +"relevance = exact title/episode and release-name matches first, then popularity"
addedInput schema / properties / order_by / enum
Added value: +[
+ "relevance",
+ "download_count",
+ "upload_date",
+ "rating",
+ "votes"
+]
removedInput schema / properties / order_direction
Removed value: -{
- "description": "Sort direction (asc, desc)",
- "type": "string"
-}
addedInput schema / properties / page
Added value: +{
+ "default": 1,
+ "description": "Result page, starting at 1",
+ "maximum": 1000,
+ "minimum": 1,
+ "type": "integer"
+}
removedInput schema / properties / parent_imdb_id
Removed value: -{
- "description": "Parent IMDB ID for TV series",
- "type": "number"
-}
removedInput schema / properties / parent_tmdb_id
Removed value: -{
- "description": "Parent TMDB ID for TV series",
- "type": "number"
-}
removedInput schema / properties / password
Removed value: -{
- "description": "OpenSubtitles.com password for authentication",
- "type": "string"
-}
addedInput schema / properties / per_page
Added value: +{
+ "default": 20,
+ "description": "Results per page (1-100)",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+}
changedInput schema / properties / query / description
Previous value: -"Text search query"New value: +"Title to search for, e.g. \"The Matrix\". Not needed when an id, moviehash or filename is given."
addedInput schema / properties / query / maxLength
Added value: +200
addedInput schema / properties / query / minLength
Added value: +1
changedInput schema / properties / season_number / description
Previous value: -"Season number for TV episodes"New value: +"TV season number; use with episode_number and the show's query or id"
addedInput schema / properties / season_number / maximum
Added value: +999
addedInput schema / properties / season_number / minimum
Added value: +0
changedInput schema / properties / season_number / type
Previous value: -"number"New value: +"integer"
changedInput schema / properties / tmdb_id / description
Previous value: -"TMDB ID for exact movie/series matching"New value: +"TMDB id. With season_number/episode_number it is the show's id."
addedInput schema / properties / tmdb_id / exclusiveMinimum
Added value: +0
addedInput schema / properties / tmdb_id / maximum
Added value: +9007199254740991
changedInput schema / properties / tmdb_id / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / trusted_only
Added value: +{
+ "default": false,
+ "description": "Only subtitles from trusted uploaders",
+ "type": "boolean"
+}
removedInput schema / properties / trusted_sources
Removed value: -{
- "description": "Only trusted sources (exclude, include, only)",
- "type": "string"
-}
addedInput schema / properties / type
Added value: +{
+ "description": "Restrict to movies or TV episodes",
+ "enum": [
+ "movie",
+ "episode",
+ "all"
+ ],
+ "type": "string"
+}
removedInput schema / properties / username
Removed value: -{
- "description": "OpenSubtitles.com username for authentication",
- "type": "string"
-}
changedInput schema / properties / year / description
Previous value: -"Release year"New value: +"Release year, to tell remakes and same-name titles apart"
addedInput schema / properties / year / maximum
Added value: +2100
addedInput schema / properties / year / minimum
Added value: +1870
changedInput schema / properties / year / type
Previous value: -"number"New value: +"integer"
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "filters": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "number",
+ "boolean"
+ ]
+ },
+ "description": "Effective query sent to the OpenSubtitles API",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "guessed": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "container": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "episode": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "episode_title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "release_group": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "release_name": {
+ "description": "The filename without directory and extension, used to rank subtitle releases",
+ "type": "string"
+ },
+ "screen_size": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "season": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "source": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "movie",
+ "episode"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "video_codec": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "title",
+ "year",
+ "season",
+ "episode",
+ "episode_title",
+ "type",
+ "release_group",
+ "screen_size",
+ "source",
+ "video_codec",
+ "container",
+ "release_name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "What guessit-js read from filename"
+ },
+ "hints": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "page": {
+ "type": "number"
+ },
+ "per_page": {
+ "type": "number"
+ },
+ "resolved_feature": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "episode_number": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "feature_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "imdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_feature_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_imdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "season_number": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tmdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "description": "movie, episode or tvshow",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "feature_id",
+ "type",
+ "title",
+ "year",
+ "imdb_id",
+ "tmdb_id",
+ "season_number",
+ "episode_number",
+ "parent_title",
+ "parent_imdb_id",
+ "parent_feature_id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The movie/show the title was resolved to, when exact_title applied"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ai_translated": {
+ "type": "boolean"
+ },
+ "download_count": {
+ "type": "number"
+ },
+ "feature": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "episode_number": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "feature_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "imdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_feature_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_imdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "parent_title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "season_number": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tmdb_id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "description": "movie, episode or tvshow",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "feature_id",
+ "type",
+ "title",
+ "year",
+ "imdb_id",
+ "tmdb_id",
+ "season_number",
+ "episode_number",
+ "parent_title",
+ "parent_imdb_id",
+ "parent_feature_id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "file_id": {
+ "description": "Pass this to download_subtitle. For multi-CD releases see files.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "files": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cd_number": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "file_id": {
+ "type": "number"
+ },
+ "file_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "file_id",
+ "file_name",
+ "cd_number"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "foreign_parts_only": {
+ "type": "boolean"
+ },
+ "fps": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "from_trusted": {
+ "type": "boolean"
+ },
+ "hd": {
+ "type": "boolean"
+ },
+ "hearing_impaired": {
+ "type": "boolean"
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "machine_translated": {
+ "type": "boolean"
+ },
+ "moviehash_match": {
+ "type": "boolean"
+ },
+ "rating": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "release": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subtitle_id": {
+ "type": "string"
+ },
+ "upload_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uploader": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rank": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "rank"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "votes": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "subtitle_id",
+ "file_id",
+ "files",
+ "language",
+ "release",
+ "fps",
+ "download_count",
+ "rating",
+ "votes",
+ "hearing_impaired",
+ "hd",
+ "ai_translated",
+ "machine_translated",
+ "foreign_parts_only",
+ "from_trusted",
+ "moviehash_match",
+ "uploader",
+ "upload_date",
+ "feature",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "description": "Matches at the API for the effective filters",
+ "type": "number"
+ },
+ "total_pages": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_count",
+ "total_pages",
+ "page",
+ "per_page",
+ "results",
+ "resolved_feature",
+ "guessed",
+ "filters",
+ "hints"
+ ],
+ "type": "object"
+}