XBMC will be renamed to Kodi for v14. Read here for more details

Naming video files/Movies

From Kodi
Jump to: navigation, search
The basic steps for adding
videos to the library:

1. Naming video files

Movies
TV shows
Music videos

2. Adding video sources
3. Set content and scan

Home icon grey.png   ▶ Video library ▶ Management ▶ Naming video files ▶ Movies
Important: THIS IS THE MOST IMPORTANT STEP TO A SUCCESSFUL LIBRARY SCAN!


In order for the media scrapers to pick up the correct information your file names must follow a certain format:


Contents

1 Naming conventions

In order to be scanned correctly, movie file names should only have the title and the year (optional) followed by the file extension. Media source flags can also be added via file names to indicate source/quality of the movie (see link for more info).

To improve matching add the year within parenthesis to the end of the file or foldername, depending on your scanning method and folder structure (before the extension, if filename), this naming standard seems to yield the best results.

Note: If the wrong movie is picked up even if foldername or filename is correct, the movie can have an earlier original title. This often happens to movies made in 1950's and after.
\Movies\Pulp Fiction (1994).avi
\Movies\Reservoir Dogs (1992).avi
\Movies\The Usual Suspects (1995).avi
\Movies\Avatar (2009)-cd1.mkv
\Movies\Avatar (2009)-cd2.mkv
\Movies\Avatar (2009)\somefilename.mkv
\Movies\The Usual Suspects (1995)\somefilename.avi
\Movies\The Usual Suspects (1995)\somefilename-cd1.avi
\Movies\The Usual Suspects (1995)\somefilename-cd2.avi
\Movies\Avatar (2009)\Avatar (2009)-cd1.mkv
\Movies\Avatar (2009)\Avatar (2009)-cd2.mkv

And for DVD-Video movies stored in file-mode on the harddrive or SMB NFS:

\Movies\Alien (1979)\VIDEO_TS.IFO
\Movies\Léon (1994)\VIDEO_TS.IFO
\Movies\Scarface (1983)\VIDEO_TS.IFO
Alternatively:
 \Movies\Alien (1979)\VIDEO_TS\VIDEO_TS.IFO
 \Movies\Léon (1994)\VIDEO_TS\VIDEO_TS.IFO
 \Movies\Scarface (1983)\VIDEO_TS\VIDEO_TS.IFO
Note: If using VIDEO_TS folder structure you must enable "recursive" lookup when adding the source directory.

2 File stacking

XBMC's file stacking feature handles your multi-part videos in a clean, intuitive manner. File stacking combines your multi-part files into a single item in the file list or library. Playback of stacks is completely transparent to you as the user, all parts are automatically queued for playback in order. Stacking is a view option available in videos file mode window. It is always applied when scanning movies into the library.

File stacking only works for movies and does not work yet for TV shows.

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox