Adding video sources: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Updated for v20)
 
(42 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{mininav|[[Video library]]|[[Video management|Management]]}}
{{VideoLibraryCreate}}
<section begin="intro" />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. 
{{mininav| [[Video library]] |[[HOW-TO:Create_Video_Library|Create Video Library]] }}


You can have multiple sources for each media type. <section end="intro" />


You can use local media, file shares, removable USB drives, etc. '''[[UPnP]] won't work with the library features (scanning data in like summaries and movie covers) in {{Kodi}}''', but just about all the other options should be fine.
= Introduction =
{{warning|For media files that are stored on network sources: [[UPnP]] cannot be used to create a library. It is recommended that you share your media using another protocol such as [[SMB]].}}


__TOC__
This step of the guide will enable you to complete the following actions:
{{-}}
#'''Add Sources''' - Add the Source folder to {{Kodi}}
== Adding sources ==
#'''Set Content''' - Advise {{kodi}} what type of media is in the Source
<section begin="adding video" />
#'''Scraper Settings''' - Adjust the scraper settings to your preferences, or change to a different scraper
<gallery widths=500px heights=313px>
#'''Add to Library''' - Scrape the media into the library
File:Quick-start-1.png|'''Step 1:''' Select "Videos" in the home screen menu.
 
File:Quick-start-2.png|'''Step 2:''' Select Files, then select "Add Videos".
{{note|Each section is a direct continuation of the previous section, and only separated for clarity.}}
File:Quick-start-3.png|'''Step 3:''' The "Add Video Source" screen will be displayed. Then select 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, select 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 {{Kodi}}. Then select "OK".
 
File:Quick-start-6.png|'''Step 6:''' The set content window will display, this is where you tell {{Kodi}} what type of media is in the folder. Press the down arrow until you reach the correct type (in this example movies)
= Adding Sources =
File:Quick-start-7.png|'''Step 7:''' There are a number of options underneath, see '''[[Adding videos to the library/Setting content and scanning|Setting content and scanning]]''' to check what options to enable. Then select "OK"
<gallery mode="packed" widths="500px" heights="283px">
File:Quick-start-8.png|'''Step 8:''' Press Yes to scan the content to the library (if no is pressed, it can be scanned later).
File:Quick-start-1.png|'''{{big|Step 1}}:''' Select '''VIDEOS''' in the home screen menu. <br />(Or select ''Enter files section'' if that button is visible)
File:Quick-start-2.png|'''{{big|Step 2}}:''' Select '''FILES'''
File:Quick-start-2.1.png|'''{{big|Step 3}}:''' Select '''ADD VIDEOS...'''.<br />
File:Quick-start-3.png|'''{{big|Step 4}}:''' Select the '''BROWSE'''
File:Quick-start-4.png|'''{{big|Step 5}}:''' Browse to locate your Source folder. Enter the Source folder so you see your titles. Select '''OK'''
File:Quick-start-5.png|'''{{big|Step 6}}:''' Either use the default name or rename the Source. The name doesn't matter to Kodi, but keep the names unique for ease of maintenance.<br>Then select '''OK'''.
</gallery>
 
 
 
= Set Content =
<gallery mode="packed" widths="600px" heights="337px">
File:Quick-start-6a.jpg|'''{{big|Step 7}}:''' The set content window will display. This is where the media type is set. <br>Select the option '''This directory contains'''.
File:Quick-start-6.1.png|'''{{big|Step 8}}:''' Select the type of media that is in the Source.
</gallery>
 
 
{|
! style="width: 45%;" | {{resize|1.4em|Set Content for Movies}}
! style="width: 10%;" |
! style="width: 45%;" | {{resize|1.4em|Set Content for TV Shows}}
|-
| style="width: 45%; text-align:center;" | [[File:Set-content-Movies.jpg|600px]]<br>'''{{big|Step 9a}}''': Select '''OK''' when done
| style="width: 10%;" |
| style="width: 45%; text-align:center;" | [[File:Set-content-TV-Shows.jpg|600px]]<br>'''{{big|Step 9b}}''': Select '''OK''' when done
|-
| || ||
|-
| style="width: 40%;" |
;Choose information provider
:Select this setting to change the scraper that this Source uses<br>
:{{note|If your preferred scraper is not listed, use the '''Get more...''' button.}}
 
;Settings
:Adjust the scraper settings, '''for this Source only'''.
:{{note|Default movie scraper settings are explained in the wiki page for each scraper.}}
 
;Movies are in separate folders that match the movie title
:If your movies are in Movie folders, '''Enable''' this setting
:*If '''Enabled''' {{Kodi}} will use the '''folder''' name to scrape the movie
::*Kodi will [[NFO files/Movies#nfo Placement| load NFO files]] from NFO files named '''movie.nfo''', but will fallback to ''<videofilename>.nfo'' as required
::*Kodi will load artwork files using the short format ''<artworktype>.jpg/png'' filenames, but will fallback to the longer ''<NameOfVideoFile>-<artworktype>.jpg/png'' format as required.
:*If '''Disabled''' {{kodi}} will use the '''filename''' to scrape the movie
::*NFO files must be named the long format ''<MovieFileName>.nfo'' filename.
::*Artwork files must be named using the long format ''<NameOfVideoFile>-<artworktype>.jpg/png'' filenames.
 
;Scan Recursively
:Used for deep folder structures such as when additional Genre or Movie Set folders are used. Will allow the video scanner to search deeper to find the playable file
 
;Selected folder contains a single video;
:Available only when you have selected '''''Change content''''' from the '''''[[Basic_controls#Context_Menu|Context Menu]]''''' on a Movie folder, instead of the Source folder. Allows you to adjust scraper settings for a particular movie which is different to the rest of the Source.
 
;Exclude path from library updates
:Prevents the Source from being scanned when an Update Library is running. When '''Enabled''' it will speed up the Update Library process in large libraries if the Source no longer has content added to it.
 
;Skip filename matching for external audio tracks
: When enabled Kodi skips name checks of external audio files in the folder and returns '''all''' found audio tracks to the player for the video. <ref>https://github.com/xbmc/xbmc/pull/16273</ref>
 
| style="width: 10%;" |
| style="width: 45%; text-align:left; vertical-align:top;"  |
 
;Choose information provider
:Select this setting to change the scraper that this Source uses<br>
:{{note|If your preferred scraper is not listed, use the '''Get more...''' button.}}
 
;Settings
:Adjust the scraper settings, '''for this Source only'''.
:{{note|Default movie scraper settings are explained in the wiki page for each scraper.}}
 
;Selected folder contains a single TV show
:Allows you to change the Content settings for a particular TV Show without affecting the entire Source. Disabled when a Source is selected. Becomes Enabled when a TV Show folder is selected.
 
;Exclude path from library updates
:Prevents the Source from being scanned when an Update Library is running. When '''Enabled''' it will speed up the Update Library process in large libraries if the Source no longer has content added to it.
 
;Skip filename matching for external audio tracks
: When enabled Kodi skips name checks of external audio files in the folder and returns '''all''' found audio tracks to the player for the video. <ref>https://github.com/xbmc/xbmc/pull/16273</ref>
|}
 
 
'''Note:''' Additional scrapers are available.
{| class="mw-collapsible mw-collapsed wikitable" style="margin: 0.0em 0 0.0em 0em; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}};"
! scope="row" style="width:500px; background-color:#dfedf0; text-align:left;"| List of Movie scrapers compatible with v20 Nexus
|-
|
<dpl>
category = Nexus_add-on_repository
category = Movie scraper add-ons
notcategory = Broken add-ons
</dpl>
|}
 
{| class="mw-collapsible mw-collapsed wikitable" style="margin: 0.0em 0 0.0em 0em; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}};"
! scope="row" style="width:500px; background-color:#dfedf0; text-align:left;"| List of TV Show scrapers compatible with v20 Nexus
|-
|
<dpl>
category = Nexus_add-on_repository
category = TV scraper add-ons
notcategory = Broken add-ons
</dpl>
|}
 
{| class="mw-collapsible mw-collapsed wikitable" style="margin: 0.0em 0 0.0em 0em; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}};"
! scope="row" style="width:500px; background-color:#dfedf0; text-align:left;"| List of Music Video scrapers compatible with v20 Nexus
|-
|
<dpl>
category = Nexus_add-on_repository
category = Category:Music_video_scraper_add-ons
notcategory = Broken add-ons
</dpl>
|}
 
 
 
= Add to Library =
<gallery mode="packed" widths="600px" heights="337px">
File:Quick-start-8.png|'''{{big|Step 10}}:''' Press '''Yes''' to scrape the content to the library <br />If '''No''' is selected, it can be scanned later from the '''''[[Basic_controls#Context_Menu|Context Menu]]''''' of the Source
</gallery>
</gallery>
<section end="adding video" />
<section end="adding video" />


== Adding Remote sources ==
* Once you press '''Yes''', {{kodi}} will scan your library and attempt to match each title in your library to the title at the site of the Information Provider. If a match is found, the metadata and artwork are downloaded and used for the library display.
For details on the supported protocols and configuration
* Depending upon the size of your library, this could take some time. A single movie could take approx 30 seconds, a library of 400 movies could take over an hour.
{{See|File sharing}}
 
When the scraping process is complete, be sure to check the '''''[[Event_Log|Event Log]]''''' to view any titles that were not added to the library, which is normally due to incorrect naming. '''''See... [[Incorrect_and_missing_videos|Scraping Problems]]'''''
 
 
<center>'''{{big|{{green|At this point, you should now have a fully functioning video library. Repeat the steps on this page to add the remainder of your media Sources.}}}}'''</center>


== Making one source from multiple locations ==
[[File:Multi locations in one source.png|right|500px]]


You might notice that {{Kodi}} has an "ADD" button in addition to a "BROWSE" button when you are adding a source. After you add your first location, you can add a second location (network or local. you can even mix them) and {{Kodi}} will show both folders as a single folder/source.


{{Kodi}} will also combine the subfolders within the source/locations. For example, if you had a hard drive for TV shows, but ran out of space, you could make a second hard drive with the same folder paths and {{Kodi}} would merge them together to a single directory path. Such as
= References =
<references />


:<code>Hard drive 1/TV shows/<br />
:Hard drive 2/TV shows/</code>


and the same is true for an additional nested folder with the same way:


:<code>Hard drive 1/TV shows/American Dad/<br />
:Hard drive 2/TV shows/American Dad/</code>


You could have half of a show on one hard drive, half on another, and {{Kodi}} will show it to you as if it was in a single location by using multiple locations in a single source.
<center>
{| style="border: 1px solid black;"
{{note|This only impacts the basic "Files view". The default Library nodes will combine things by show even if their files are spread across multiple drives. '''Most users will not really benefit from using multiple paths in a single source.'''}}
| scope="row" rowspan="2" style=" text-align:center;" | [[File:Mergefrom.gif|60px|link=Naming_video_files/Episodes]]
{{-}}
| style="width:200px; text-align:center;" | '''Previous step'''
|-
| style="width:200px; text-align:center;" | '''[[Naming_video_files/Episodes|Episodes Setup]]'''
|}</center>


== Password protected sources ==
{{See|Media sources#Locking}}


== See also ==
* [[Media sources]]
* [[File sharing]]


{{Gotham updated}}
{{top}}
{{updated|20}}


[[Category:Scraper]]
[[Category:Karellen]]
[[Category:Manual]]
[[Category:Video library]]
[[Category:Video library]]

Latest revision as of 05:00, 13 February 2023

Create Video Libraries
1. The Basics
2. Source Folder
3. Movie Setup
4a. TV Show Setup
4b. Seasons Setup
4c. Episodes Setup
5. Music Videos Setup
6. Add Source & Scrape
7. Scraping Problems
Home icon grey.png   ▶ Video library ▶ Create Video Library ▶ Adding video sources


Introduction

Stop hand.png For media files that are stored on network sources: UPnP cannot be used to create a library. It is recommended that you share your media using another protocol such as SMB.


This step of the guide will enable you to complete the following actions:

  1. Add Sources - Add the Source folder to Kodi
  2. Set Content - Advise Kodi what type of media is in the Source
  3. Scraper Settings - Adjust the scraper settings to your preferences, or change to a different scraper
  4. Add to Library - Scrape the media into the library

Note: Each section is a direct continuation of the previous section, and only separated for clarity.


Adding Sources


Set Content


Set Content for Movies Set Content for TV Shows
Set-content-Movies.jpg
Step 9a: Select OK when done
Set-content-TV-Shows.jpg
Step 9b: Select OK when done
Choose information provider
Select this setting to change the scraper that this Source uses
Note: If your preferred scraper is not listed, use the Get more... button.
Settings
Adjust the scraper settings, for this Source only.
Note: Default movie scraper settings are explained in the wiki page for each scraper.
Movies are in separate folders that match the movie title
If your movies are in Movie folders, Enable this setting
  • If Enabled Kodi will use the folder name to scrape the movie
  • Kodi will load NFO files from NFO files named movie.nfo, but will fallback to <videofilename>.nfo as required
  • Kodi will load artwork files using the short format <artworktype>.jpg/png filenames, but will fallback to the longer <NameOfVideoFile>-<artworktype>.jpg/png format as required.
  • If Disabled Kodi will use the filename to scrape the movie
  • NFO files must be named the long format <MovieFileName>.nfo filename.
  • Artwork files must be named using the long format <NameOfVideoFile>-<artworktype>.jpg/png filenames.
Scan Recursively
Used for deep folder structures such as when additional Genre or Movie Set folders are used. Will allow the video scanner to search deeper to find the playable file
Selected folder contains a single video;
Available only when you have selected Change content from the Context Menu on a Movie folder, instead of the Source folder. Allows you to adjust scraper settings for a particular movie which is different to the rest of the Source.
Exclude path from library updates
Prevents the Source from being scanned when an Update Library is running. When Enabled it will speed up the Update Library process in large libraries if the Source no longer has content added to it.
Skip filename matching for external audio tracks
When enabled Kodi skips name checks of external audio files in the folder and returns all found audio tracks to the player for the video. [1]
Choose information provider
Select this setting to change the scraper that this Source uses
Note: If your preferred scraper is not listed, use the Get more... button.
Settings
Adjust the scraper settings, for this Source only.
Note: Default movie scraper settings are explained in the wiki page for each scraper.
Selected folder contains a single TV show
Allows you to change the Content settings for a particular TV Show without affecting the entire Source. Disabled when a Source is selected. Becomes Enabled when a TV Show folder is selected.
Exclude path from library updates
Prevents the Source from being scanned when an Update Library is running. When Enabled it will speed up the Update Library process in large libraries if the Source no longer has content added to it.
Skip filename matching for external audio tracks
When enabled Kodi skips name checks of external audio files in the folder and returns all found audio tracks to the player for the video. [2]


Note: Additional scrapers are available.

List of Movie scrapers compatible with v20 Nexus
List of TV Show scrapers compatible with v20 Nexus
List of Music Video scrapers compatible with v20 Nexus


Add to Library


  • Once you press Yes, Kodi will scan your library and attempt to match each title in your library to the title at the site of the Information Provider. If a match is found, the metadata and artwork are downloaded and used for the library display.
  • Depending upon the size of your library, this could take some time. A single movie could take approx 30 seconds, a library of 400 movies could take over an hour.

When the scraping process is complete, be sure to check the Event Log to view any titles that were not added to the library, which is normally due to incorrect naming. See... Scraping Problems


At this point, you should now have a fully functioning video library. Repeat the steps on this page to add the remainder of your media Sources.


References



Mergefrom.gif Previous step
Episodes Setup


Return to top