os-torrent-hash
v0.0.9
Published
Compute opensubtitles movie hash from a torrent file
Downloads
14
Maintainers
Readme
os-torrent-hash
Compute opensubtitles movie hash from a torrent file. Example:
computeMovieHash(torrentUrl, engine) // engine is a peerflix engine
.then(function (res) {
res.movieHash; // the movie hash
res.fileSize; // the file name
res.fileName; // the file name
})
.catch(function (error) {
// Handle any error from all above steps
})
.done();