Module: TMDBParty

Defined in:
lib/tmdb_party/extras/movie_hasher.rb,
lib/tmdb_party.rb,
lib/tmdb_party/genre.rb,
lib/tmdb_party/image.rb,
lib/tmdb_party/movie.rb,
lib/tmdb_party/video.rb,
lib/tmdb_party/person.rb,
lib/tmdb_party/studio.rb,
lib/tmdb_party/country.rb,
lib/tmdb_party/category.rb,
lib/tmdb_party/cast_member.rb,
lib/tmdb_party/extras/attributes.rb

Overview

MovieHasher based on the one found here: trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes

This will compute a unique hash for the movie that can be used for lookups on TMDB The algorithm calculates size + 64bit chksum of the first and last 64k (even if they overlap because the file is smaller than 128k). Make sure to uncomment and run the tests for this before making any changes

Defined Under Namespace

Modules: Attributes, MovieHasher Classes: Base, CastMember, Category, Country, Genre, Image, Movie, Person, Studio, Video