leplatrem/folder-theater — Issue #1: Scan only files with extensions: avi, mp4, mkv... Omit: txt, jpg...
Author: Czarek007
Created: 2011-11-10 23:26:32+00:00
State: open

In directories, along with movies, there will be often files that aren't movies, but Folder Theater searches them on IMDB, these requests are wasted and script's total work time extends by 3-5x times, sometimes.

Solution: filter files by extensions. In movies.js I have this list:

var extensions = ['rmv', 'wmv', 'avi', 'divx', 'mpg', 'mkv', 'ogm', 'rmvb', 'mp4', 'm2ts', 'rm', 'nrg', 'bin', 'r01', '01', '001'];
var extensions_special = ['r01', '01', '001'];

r01, 01, 001 - these are for RAR files, this is for special case, when I download a movie but forget to extract it.

Czarek.