guessit-js

v5.5.1
com.opensubtitles/guessit-js Checked 3 hours ago Published 2 days ago

Parse movie and TV filenames: title, year, season, episode, codecs, languages, release group.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

guessit Parse a media filename

Extract metadata from one movie or TV episode filename or release name: title, year, season, episode, episode_title, screen_size, source, video_codec, audio_codec, language, subtitle_language, release_group, streaming_service, container, type (movie or episode) and more (56 properties). Output matches Python guessit's JSON. Pass just the file name or a full path; directory names help (e.g. "Show/Season 2/episode.mkv").

ParameterTypeDescription
filename *stringFilename, path or release name, e.g. "The.Matrix.1999.1080p.BluRay.x264-GRP.mkv"
optionsobjectOptional guessit options, as in the library and Python guessit: type ("movie" | "episode"), output ("python" default: language/country as names like "French"; "codes": {"alpha3": "fra"} objects that k…

guessit_batch Parse many media filenames

Parse up to 1000 filenames in one call with the same options. Returns one entry per name, in order: {input_string, result} or {input_string, error}. Faster than calling guessit repeatedly.

ParameterTypeDescription
filenames *array
optionsobjectOptional guessit options, as in the library and Python guessit: type ("movie" | "episode"), output ("python" default: language/country as names like "French"; "codes": {"alpha3": "fra"} objects that k…

guessit_properties List guessit properties

List every property guessit can return with its possible values (enum values such as source: ["Blu-ray", "Web", ...]; [null] for free-form ones such as title).