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)
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.1.31: movies-en.zip [37 KB] (2010-06-02)
Changes in 1.1.3
- changes on imdb, fixed detecting "aka" titles
Changes in 1.1.2
- improvements in titles detection
Changes in 1.1.0
- changes on imdb website, rating could not be fetched
Changes in 1.0.92
- plot was missing (changes on imdb site)
Changes in 1.0.91
- movies detection improvements
- set your own movie title by adding such line "mytitle: 007 Casino Royale" to .nfo file
Changes in 1.0.8
- fixed fetching cast from imdb
Changes in 1.0.6
- imdb search fixed
Changes in 1.0.4
- network folders can start with IP or domain
- fixed errors that caused the script to hang up (ex. + in file name, special chars in title on imdb)
- fixed directories filter
Changes in 1.0.3
- sort by rating
- generate movies from different directories / drives / network folders
- chanes in movies names detection / tv shows numeration
Changes in 1.0.2
- new field "Director"
- improved movies names detection
- changes in TV shows numeration
- fixed http errors handling
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\
-- 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>