Adding videos to the library: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Redirected page to HOW-TO:Create Video Library)
 
(95 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{cleanup}}
#REDIRECT [[HOW-TO:Create_Video_Library]]
{{XBMC wiki toc Inline}}
 
To use your video files with "metadata" like summaries, cast info, DVD covers, thumbnails, an more, you need to add those video files to the '''[[video library]]'''.
 
==Naming files==
'''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:
 
*'''[[/Naming movies]]'''
*'''[[/Naming TV shows]]'''
 
===Supplemental tools===
Applications that can assist in renaming files, general file organization, manual data entry, and more:
*[[TheRenamer]] - Windows
*[[Ember Media Manager]] - Windows
*[[ViMediaManager]] - Mac OS X
*[[Add-on:XWMM]] - all platforms. Allows you to edit library entires from a web browser.
 
==Adding media sources==
[[Media Sources]] are the links that tell XBMC where your content is stored and what type of content is contained within each one.  You can have multiple sources for each media type. 
 
<gallery widths=400px heights=250px>
File:Quick-start-1.png|'''Step 1:''' Click "Videos" in the home screen menu.
File:Quick-start-2.png|'''Step 2:''' Now click "Add Source".
File:Quick-start-3.png|'''Step 3:''' The "Add Video Source" screen will be displayed. Then click the "Browse" button.
File:Quick-start-4.png|'''Step 4:''' Now browse to where you keep your videos stored. Once you have found the folder you keep your videos in, click the "OK" button.  If you keep them shared on a network drive, read the [[Configuring PC Shares]] article for more information about setting up a share on your computer first.
File:Quick-start-5.png|'''Step 5:''' Name this Video Source however you like. If it is a movie folder, you will probably want to name it "Movies", and if it is a TV Show folder then you will probably want name it TV Shows. The name doesn't matter to XBMC. Then click "OK".
File:Quick-start-6.png|'''Step 6:''' The set content window will display, this is where you tell XBMC what type of media is in the folder. Press the down arrow until you reach the correct type (in this example movies)
File:Quick-start-7.png|'''Step 7:''' There are a number of option underneath, see [[#Set Content]] to check what options to enable. Then click "OK"
File:Quick-start-8.png| '''Step 8:''' Press Yes the scan the content to the library (if no is pressed it can be scanned later).
</gallery>
 
You have set up a media source, content can be added to this folder then all you will have to do is tell XBMC to "refresh the library" or XBMC can be set to refresh library on start up (in XBMC's settings).
 
==Set Content==
This section is why keeping your TV Shows and Movies, or other type of content separate is important.  When you click 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.  Because in our example we're adding Movies, we will scroll to "Movies" and go through the Movie Settings.
 
===Movie content options===
{| class="wikitable"
|-
! '''''(Option)'''''
! Use Folder names for Lookup
! Scan Recursively
! Selected Folder Contains a Single Movie
|-
| style="text-align:center;"|'''''(Explanation)'''''
| style="background:#FFFFFF; text-align:center;"|If you keep each of your movies in its own folder with the movie name in it
| style="background:#FFFFFF; text-align:center;"|If your movies are ripped DVD-Video files using a "'''''VIDEO_TS'''''" folder structure
| style="background:#FFFFFF;text-align:center;"|This option is intended exclusively for adding one movie at a time.
|-
| style="text-align:center;"|'''''(Example)'''''
| style="background:#FFFFFF; text-align:center;"|'''''C:\Movies\Big Buck Bunny\Big Buck Bunny.avi'''''
| style="background:#FFFFFF; text-align:center;"|
<br>
'''C:\Movies\Big Buck Bunny\VIDEO_TS\VIDEO_TS.IFO'''<br>
'''C:\Movies\Big Buck Bunny\VIDEO_TS\VIDEO_TS.VOB'''
| style="background:#FFFFFF; text-align:center;"|''''C:\Movies\Big Buck Bunny.avi''''
|}
 
 
If you keep all your movies in one big folder, like this:<br>
''<div style="text-indent: 2em">'''''C:\Movies\Big Buck Bunny.avi'''''<br></div>
''<div style="text-indent: 2em">'''''C:\Movies\Big Buck Bunny II: Rise of the Lepus.avi'''''<br></div>
Then leave all options unticked.
 
=== Options for content "None" ===
;Exclude folder from scans
:Excludes the selected folder from scans, even if it's a subfolder of a folder that has contents set.
 
=== Options After Selecting Scraper ===
;Run Automatic Scan
:Runs a scan against the selected information source (scraper) on all video files contained in the selected folder after selecting 'OK'
;Use Foldername for Lookups
:Uses foldernames as basis for the search when scraping (instead of filenames). If folder contains IFO and VOB files, this is needed for any matching to take place.
;Folder contains a single Video
:The standard assumption is that the source contains multiple video files, this option dictates that the selected source or folder only contains one video.
;Folder contains a single TV Show
:The standard assumption is that the source contains multiple TV shows, this option dictates that the selected source or folder only contains one TV show.
;Scan Recursively
:Scans subfolders two levels down or more for video files. Note that TV Show scrapers always scan recursively.
;Exclude path from library updates
:Excludes the selected path from scans, even if it's a subfolder of a folder that has contents set.
 
=== Scraper settings ===
Some scrapers like the IMDb scraper allow the user to change options related to that scraper, see more:<br />
* [[IMDb (Video Library)#IMDb scraper settings|IMDb scraper settings]]<br />
* [[TheTVDB.com (Video Library)#TheTVDB.com Scraper Settings|TheTVDB.com scraper settings]]
 
=== Switching Scrapers / Removing Folder Contents from Library ===
Setting the content back to '''<None>''' after previously having selected a scraper for a source, will prompt users if they want to remove the contents from the Library.<br />
This is recommended if you wish to switch scrapers (first set content to '''<None>''' and then choose the new scraper).<br />
Setting content to '''<None>''' also removes the contents of the selected folder from the Library altogether. This is useful if you want to remove the contents of an entire folder from the Library as [[Video Library#Video Context Menu in Library Mode|The Context Menu]] will only remove single items.
 
==Incorrect matches==
:''See also: '''[[/Naming TV shows#Tweaking matches]]'''''
 
After adding new video files, if you find that the information is incorrect, select the incorrect entry and press "'''i'''" to bring up the movie information and then select "'''Refresh'''". From here you can also do a manual title search lookup. Sometimes using a partial title in the manual search will help when a normal search brings up nothing.
 
Another valid way of making sure your scraper finds its way to correct information for your newly added media is by the use of [[Import - Export Library#Video nfo Files|Nfo files]]. Nfo files can be used to [[Import - Export Library#Movies|provide data for a movie]] or influence the search behavior of scrapers (e.g by pointing it to a [[Import - Export Library#Video nfo files containing an URL|predefined URL]]).
 
If you would like to remove the entire video database (for example after a bad scan, or you have problems with the library, or for whatever reason), then you can either rename the MyVideos*.db, in /[[userdata]]/Databases/ to something else (i.e. MyVideos*.db.backup) or delete it. Then restart, and the movie & TV show information gathering can be redone.
 
 
You can also use [[Add-on:XWMM]] to edit library entires from a web browser.
 
==Unmatched/missing videos==
{{incomplete}}
 
==Off-line media in the library==
If you want to catalog off-line media (such as DVDs or CDs) to the library see: '''[[Media stubs]]'''
 
==Video guides==
{{youtube|EkWYxqoOF3c}}
 
==See also==
*[[Thumbnails]]
 
[[Category:How-to]]
[[Category:Video]]

Latest revision as of 07:25, 11 February 2018