NFO files/Music videos: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Martijn
No edit summary
>NedBot
m (Robot: Cosmetic changes)
Line 1: Line 1:
{{Advanced|'''Library management'''}}
{{Advanced|'''Library management'''}}


===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 21: Line 21:
</source>
</source>


===Video .nfo files containing a URL===
=== Video .nfo files containing a URL ===
2. The *.nfo file contains a URL of the information page to scrape.
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 file can include other information (i.e. scene info), XBMC will scan through it and use a relevant URL if a match is found.
Line 30: Line 30:
Mvideo.nfo where Mvideo is the name of the music video file that points to a music video on MTV.com
Mvideo.nfo where Mvideo is the name of the music video file that points to a music video on MTV.com
  <nowiki>http://www.mtv.com/overdrive/?artist=983&vid=222165</nowiki>
  <nowiki>http://www.mtv.com/overdrive/?artist=983&vid=222165</nowiki>


[[Category:Scraper]]
[[Category:Scraper]]
[[Category:Video Library]]
[[Category:Video Library]]

Revision as of 15:21, 27 April 2013

Template:Advanced

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