Skip to content

A simple api to desconstruct and parse file names of movies and tv shows.

License

Notifications You must be signed in to change notification settings

grbull/whats-the-release

Repository files navigation

whats the release

A simple api to desconstruct and parse file names of movies and tv shows. It is likely very buggy as I havn't covered many cases yet.

🚀 Get started

Install

npm install what-the-release

Example usage

import { parse } from 'what-the-release';

console.log(parse('Movie.Name.2021.1080p.WEB-DL.DDP5.1.Atmos.H.264-moo'));

// Returns:
// {
//   type: "Movie",
//   name: "Movie Name",
//   year: "2021",
//   resolution: "1080p",
//   source: "WEB-DL",
//   codecs: { audio: "DDP5.1", video: "X264" },
//   container: undefined,
//   mimeType: undefined,
//   tags: [],
//   releaseGroup: "moo",
// }

📖 Changelog

Check out our changelog.

📝 License

Licensed under the MIT License.

About

A simple api to desconstruct and parse file names of movies and tv shows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages