| The basic steps for adding|
videos to the library:
|Video library||Video management|
1 Preparing files
To use your video files with "metadata" like summaries, cast info, DVD covers, thumbnails, and more, you need to add those video files to the video library.
There are a couple of important parts to getting things imported into your Kodi library. First, the metadata for the video file should exist someplace (the metadata are things like the title of the show, the plot description, the season and episode number if the video file happens to be an episode of a TV series, the actors, the director, cover art and episode art, etc.) The second part is naming the video files so the file gets matched up with the metadata available online.
Kodi uses plugins called scrapers to pull information from a video file and coordinate it with a source of metadata available someplace on the internet. For a TV show the scraper basically looks for the show name, season number, and episode number. The default scrapers look at TheTVDB.com (for TV shows) and TheMovieDB.org (for Movies).
If some video file is not scraping properly, the first step is to go to the website of the scraper you are using on that source and see if the video is already listed there. If you can't find an entry on one of those two sites for the video you're interested in, you can hunt for different scrapers which search other websites for metadata (and go through the same process of making sure your show is listed there, then naming the video files to match). Alternatively, you can create new entries on those sites with some basic information about your show, and then let the scrapers do their work. This is nice, because it means that other people will benefit from your work, and may contribute additional information about the show over time. Adding info to a site like TheTVDB.org is easy, but make sure you read the site rules before you start adding.
If none of that works, you can create .nfo files for each video by hand so that Kodi will bypass the normal looking online for information about your show. This is the least attractive option, though. It's a lot of work, and it doesn't benefit anyone else the way creating entries on the metadata sites does.
1.1 Naming files
Kodi has the ability to display information and artwork for your video collection. As this information and artwork comes from 3rd party sites, video files must be placed in a certain folder structure and named correctly so accurate matches can be made with those 3rd party sites. This page, and following pages, will instruct on the correct methods to use for the most reliable scraping process.
1.2 NFO files
NFO files can be used to provide metadata to the library for video and a music files. They are helpful if the metadata fetched from a web site does not match the video or music you have, or if data for that particular file does not exist, such as for home movies. It can also be used to control the search behaviour of scrapers.
2 Media sources
Media Sources are virtual links to the content you wish Kodi to use. When you enter any of the Videos, Music, Pictures or the Filemanager, you will see an entry for "Add Sources". When you first start with Kodi you should at least add one source, like a drive or directory on your Kodi device to get you started.
2.1 Adding video sources
A video source is a kind of media source. Media sources are the links that tell Kodi where your content is stored and what type of content is contained within each one.
You can have multiple sources for each media type.
3 Media stubs
As of v11 (Eden), Kodi has support for offline media stub files. These are files that represent a media outside of the digital infrastructure (eg, DVD's, Bluray, UHD Bluray, etc) and allow Kodi's library to catalogue your "offline" media collection, as well as ask for the media when selected for playback. They will look like any other entry in the library, but a notice box will pop requesting insertion of the disk. Messages can be displayed in the notice box, such as "DVD on second shelf in cellar".
4 Internet streams
Various internet video and audio streams can be played back in Kodi as if they were locally stored on your media center by using STRM files. As long as the format and streaming-method (network-protocol) is supported by Kodi, stream can be added. These are basic text files that look like <name>.strm and contain a URL to the internet stream. STRM files can also be added to the video library and can have cover art, summaries, etc.
Some internet sites may have an add-on available that can also access these media streams, rather than having to manually create STRM files. See Add-ons for more information on how to find and install add-ons.
5 Setting content and scanning
When you "Set Content", you can set your video content as Music Videos, Movies, or TV Shows. Scroll through the options until you get to the correct one. If you did not "Set Content" when you added a source, you can do so later by selecting the source and bringing up the contextual menu (C on a keyboard by default or by long pressing thebutton on a remote).
5.1 Incorrect and missing videos
This page will show you how to add videos that got missed during the library scan, as well as how to fix mistakes that might have happened.
5.2 Custom video entries
Need to add videos such as home movies or other videos that are not normally found by Kodi's scrapers? This page will show you a few solutions on adding custom videos, such as home movies, clips, special editions, and more.
5.3 Updating or removing videos
This page will show you the various methods of updating library information for videos and how to remove videos.
6 Grouping media
6.1 File stacking
This page will describe the Kodi recommended method to name Movie files and create the folder structure to save them in. Your folder structure and files will be placed within your Source folder which was detailed in the previous page of the guide.
6.2 Movie sets
A Movie Set, also known as a Movie Collection, is a collection of movies that are, in some way, related to each other. The normal scraper sites include metadata for Movie Sets which is scraped by Kodi and creates the Movie Set in your library. Movie sets are versatile and can be created to suit your own preferences as they are easily edited in Kodi using the built in sets editor or by using NFO files.
Since v12 Frodo, Kodi supports "tags" which can be applied to movies, TV shows, and music videos. They are meant to supplement Movie sets which are (by design) limited in their usage. A movie or TV show can have multiple tags attached and a tag can contain multiple tags. They can be used as keywords, categories, filters, or whatever you want. Movies and TV shows can have multiple tags. Tags can be used to filter and navigate the library. Tags can be edited and managed directly from the Kodi GUI.
6.4 How to separate the library (cartoons, documentaries, anime, etc)
A common question people have after setting up their library is how can they separate their library so not everything is just in one big section, and how to have that as an option on the home screen in Kodi. Kodi can already filter and separate library items using a number of methods mentioned above, and combined with a skin that supports custom home items, the library can be laid out exactly was you want, right from the home screen.
This same idea can also be applied to add-ons, programs, and anything else you might want to place on the home screen.
- Basic playlists - Kodi supports both basic playlists and smart playlists. A basic playlist is a normal text file that lists one or more media files (Audio or Video), and plays them in succession. You can either create your own or use existing playlists from other sources, such as a playlist generated from Winamp, iTunes, or other sources. Basic playlists can be created and edited directly from Kodi's GUI.
- Smart playlists - Kodi supports smart playlists for all types of media (excluding pictures), which essentially use a set of rules to limit the results from the databases. This means that to be able to create a smart playlist in the GUI, music/video must first be added to the libraries using a scraper addon or by creating NFO files. Smart playlist can be created either by using the built-in GUI smart playlist editor accessible from the Playlists section, or by creating an XML file with the extension XSP (XBMC Smart Playlist).
6.6 Linking movies to TV shows
When you are in the Movies section of Kodi you can select a movie and bring up the contextual menu (C on a keyboard) and select "Link to TV show". This will bring up a list of TV shows that are currently in your library. When you link a movie to a TV show it will make that movie show up in the TV show's library view. Multiple movies can be linked to a TV show, but a movie can only be linked to one show at a time.
6.7 Video nodes
Video nodes are defined views that are used to organize your media from the videos menu. In the past Kodi has had a number of standard nodes such as Title, Director, Year, Studios, Countries, Genres that were hard coded. As of v12 Frodo, Kodi introduces the ability to customize these nodes using an XML file. Using XML files really gives great flexibility in how you display your media. Don't want your screaming kids stuff in your main movie node... exclude it. Want documentaries in a separate node, create it. Don't like how recently added is presented, change it.
To get full functionality from custom nodes, you need to use a skin that allows you to deploy them as you would like (e.g. latest builds of Aeon Nox). Confluence will show your nodes, but doesn't allow you to decide exactly where.
7 Alternative guides
- Lifehacker.com - Create a Kickass, Seamless, Play-Everything Media Center: The Complete Guide
- The Frodo Guide by Henry Ford
- Beginner Tip: How to add videos to Kodi from a network share by Nathan Betzen
- Makeuseof.com - How to set up your Kodi Media Center
- Kodi Install and Config HOW-TO for Linux Its for xvba, however apart from drivers the rest is a MUST read for Linux novices.
7.1 Video guides