Mozilla Skin
Translate this page


Scraper Scripts

From Moving Pictures

Contents

What is a Scraper Script

Scraper scripts are the 'data sources' found on the importer settings tab in the Moving-Pictures configuration window. A 'Scraper Script' is what Moving-Pictures uses to try to determine what movie files go with what movies, and then get some information about the selected movie. This information can be in the form of movie information, cover art, or backdrops. The scraper scripts are written in XML and use specific nodes that Moving-Pictures knows how to handle. Because the scraper scripts are XML, anyone can make one after he/she learns a few of the basics.


What Kind of Scrapers are There

There are three different kind of scrapers.

  • Movie Details
    • This scraper has two jobs. The movie details scraper is the one that tries to match file names to movies. The movie details second job is to fetch information for that movie once the correct movie is determined.
  • Cover Art
    • The job of this type of scraper is to find 'cover art' for a movie. An example of cover art would be the picture on the front of your DVD case.
  • Backdrop
    • This scraper's job is to find the full screen images for a movie that is seen while perusing your movies.

It is important to note that while these three scraper types are very much so separated in their tasks, they do not necessarily need to be contained in separate files. A robust scraper script could wrap all there of these into a single script.

Examples

If you ever find you would like more examples of the usage of a particular node, or you would just like to see a few scripts in their entirety, you can take a look at the scripts maintained by the Moving Pictures team on Google Code.

Getting Started

Scraper_Script_Types Description here.
Scraper_Engine Description here
Scraper Engine Nodes Description here
Useful Tips and Common Problem Description here