Author - contact
When you launch the script, a progress window will appear
A list of movies generated in D:/movies/ directory
Generate a list of movies on a computer - movies.js (windows script)
English documentation for this script is a work in progress. If you have problems with the script try reading the documentation in Polish which is more comprehensive - try using Google Translate
This script makes a list of movies in a directory, downloads info about the movie from imdb.com (poster, rating, genre, description, cast) and writes the result to movies.html. You can easily play movies from the list with just 1 click (firefox).
No installation is required. This script uses Windows Script Host technology, which is distributed and installed by default on Windows.
This script is free for private use.
How to use
- Download movies-en.zip, extract it to a directory where you keep the movies.
- Run movies.js (or movies.wsh)
Download the latest version
Version 1.2.5: movies-en.zip [40 KB] (2011-08-07)
Changes in 1.2.5
- It is now possible to generates movies list using a virtual list of files.
Changes in 1.2.2
- Minor improvements to title detection on imdb.
Changes in 1.2.1
- Version change forced by update of the polish version of the script.
Show changes in older versions
Linux - download Folder Theater
For linux users there is a Python script called "Folder Theater", that was created by Mathieu Leplatre, inspired by movies.js project.
Download it here: https://github.com/leplatrem/folder-theater
Screenshot:
Virtual list of files - solution for Mac and Linux or DVD discs
documentation TODO.....
Listing files - command for Mac and Linux
find . -type f > movies.tree
Listing files - command for Windows:
dir /a-d /b /s > movies.tree
Then copy "movies.tree" to windows machine and run movies.js script, when script finds "movies.tree" file in current directory it will not perform scanning of actual directory but will use the list of files from that ".tree" file instead.
Configuration file movies.txt
In order to generate the list from different directories/drives, create movies.txt file, and put there paths to directories / drives / network folders. An example config file:
D:\movies\
G:\Downloads\
F:\
\\john\movies\
\\192.168.0.3\movies\
-- This is a comment, it starts with "-" (minus).
-- If some drives/network folders aren't accessible comment it.
--\\kevin\movies\
Supplying only a drive path is an easy way, but whenever possible try to write the full path to movies directory. Scanning a drive with lots of files can take a while (for example scanning 20 thousands of files should take about one minute).
More info
Searching in: title, genre, description, cast. You can exclude words, ex. search: "comedy romance -drama".
You can play movies from the list with one click. When clicking on a movie, associate opening .avi with your favorite player and check the option to always use this application. If option of remembering this setting is blocked on firefox, you can edit mimetypes.rdf that is in you firefox profile (more info at the end of this page).
The script tries to guess the name of the movie from the file name or directory (only when it contains one movie).
If the directory contains only one movie, it can read any .nfo files to get the imdb link. If the script fails to guess the name of the movie, you can manually create an .nfo file (for example movie.nfo) and put an imdb link there (ex. imdb.com/title/tt123456).
Editing mimetypes.rdf
<RDF:li RDF:resource="urn:mimetype:video/avi"/>
<RDF:li RDF:resource="urn:mimetype:application/vnd.rn-realmedia-vbr"/>
-- --
<RDF:Description RDF:about="urn:mimetype:video/avi"
NC:fileExtensions="avi"
NC:description="AVI"
NC:useSystemDefault="true"
NC:value="video/avi"
NC:editable="true">
<NC:handlerProp RDF:resource="urn:mimetype:handler:video/avi"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:application/vnd.rn-realmedia-vbr"
NC:fileExtensions="rmvb"
NC:description="RMVB"
NC:useSystemDefault="true"
NC:value="application/vnd.rn-realmedia-vbr"
NC:editable="true">
NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.rn-realmedia-vbr"/>
</RDF:Description>