Incorrect and missing videos: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
You can add or exclude additional file types/extensions when scanning files into the library via an [[advancedsettings.xml]] file and the [[advancedsettings.xml#<videoextensions>|<videoextensions> tag]]:
You can add or exclude additional file types/extensions when scanning files into the library via an [[advancedsettings.xml]] file and the [[advancedsettings.xml#<videoextensions>|<videoextensions> tag]]:


{{#lsth:advancedsettings.xml|<videoextensions>}}
{{#lsth:advancedsettings.xml|videoextensions}}


[[Category:Video Library]]
[[Category:Video Library]]
[[Category:XBMC Manual]]
[[Category:XBMC Manual]]
{{frodo updated}}
{{frodo updated}}

Revision as of 15:57, 12 February 2014

Adding videos to the library/Contents

Home icon grey.png   ▶ General topics ▶ Videos ▶ Management ▶ Incorrect and missing videos

Check file names

The most common cause for something to be missing from a library scan, or to have scanned incorrectly, is if the file name of the video isn't named correctly. On problematic files you may wish to double check the naming once again, or even try alternative names or include the year the work was made.

Fixing individual videos

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.

Tools

When you need to edit/change either just one entry, or hundreds of entries, there are several tools that can make this task easier:

NFO files

Another valid way of making sure your scraper finds its way to correct information for your newly added media is by the use of NFO files. Nfo files can be used to provide data for a movie, a TV show, or influence the search behavior of scrapers (e.g by pointing it to a predefined URL).

Finding missing videos

If you have a small library then you can probably just use file mode and see what videos don't have metadata (thumbnails, for example). For larger video collections, see #Tools such as Add-on:Missing Movie Scanner.

Since v12 "Frodo", XBMC will record what video files didn't get matched in the xbmc.log file, even if debugging is turned off. Keep in mind that the xbmc.log file resets each time you start XBMC; xbmc.log will contain information from the most recent time XBMC was ran, and xbmc.old.log will contain the previous time XBMC was ran. You can quickly find the entries where a movie wasn't matched by searching for "it won't be added to the library". You can extract a list with all paths with the following command:

 grep "won't be added" -i xbmc.log | cut -d"'" -f2 > not_indexed.lst

Adding or excluding file types

You can add or exclude additional file types/extensions when scanning files into the library via an advancedsettings.xml file and the <videoextensions> tag:


A list of additional file-extensions to allow (add) or exclude (remove) in the My Video windows.

Default extensions for VIDEOS:

.m4v .3g2 .3gp .nsv .tp .ts .ty .strm .pls .rm .rmvb .mpd .m3u .m3u8 .ifo .mov .qt .divx .xvid
.bivx .vob .nrg .img .iso .udf .pva .wmv .asf .asx .ogm .m2v .avi .bin .dat .mpg .mpeg .mp4
.mkv .mk3d .avc .vp3 .svq3 .nuv .viv .dv .fli .flv .001 .wpl .xspf .zip .vdr .dvr-ms .xsp .mts
.m2t .m2ts .evo .ogv .sdp .avs .rec .url .pxml .vc1 .h264 .rcv .rss .mpls .mpl .webm .bdmv
.bdm .wtv .trp .f4v

Examples:

<videoextensions>
  <add>.ex1|.ex2</add>
  <remove>.ex3|.ex4</remove>
</videoextensions>