NFO files/Music videos: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>NedBot
m (Robot: Removing template: Advanced)
No edit summary
Line 1: Line 1:
 
{{mininav|[[Video library]]|[[Video library/Management|Management]]|[[NFO files]]}}
 
=== Video .nfo Files containing XML data ===
=== Video .nfo Files containing XML data ===
1. The *.nfo file is an XML file containing the data for inclusion in the library.
1. The *.nfo file is an XML file containing the data for inclusion in the library.
Line 33: Line 32:
[[Category:Scraper]]
[[Category:Scraper]]
[[Category:Video Library]]
[[Category:Video Library]]
[[Category:XBMC Manual]]
{{frodo updated}}

Revision as of 11:23, 5 June 2013

Home icon grey.png   ▶ Video library ▶ Management ▶ NFO files ▶ Music videos

Video .nfo Files containing XML data

1. The *.nfo file is an XML file containing the data for inclusion in the library.

The filename of the NFO should be the same as the music video file, only replacing the original extension with .nfo.
i.e. Bestartistintheworld - Bestsongintheworld.avi should have the corresponding .nfo filename Bestartistintheworld - Bestsongintheworld.nfo.

    <musicvideo>
        <title>Bestsongintheworld</title>
        <artist>Bestartistintheworld</artist>
        <album>Me</album>
        <genre>Pop</genre>
        <runtime>3:20</runtime>
        <plot>Scantly clad women hoing about</plot>
        <year>2000</year>
        <director>and I</director>
        <studio>Ego prod.</studio>
    </musicvideo>

Video .nfo files containing a URL

2. The *.nfo file contains a URL of the information page to scrape. The file can include other information (i.e. scene info), XBMC will scan through it and use a relevant URL if a match is found.

The scraper tries to match URL's to all scrapers of the content type a directory is set to. e.g. if you set the content type to movies, all movie scrapers check .nfo files for a matching URL. This means that .nfo files override the scraper setting. I.e. a directory is set to use the IMDB scraper but you have a German movie in it. Simply create an .nfo for that movie with the OFDB link in it and you are sorted!


Mvideo.nfo where Mvideo is the name of the music video file that points to a music video on MTV.com

http://www.mtv.com/overdrive/?artist=983&vid=222165