Music videos

From Official Kodi Wiki
Revision as of 09:28, 2 October 2007 by >Sho (→‎NFO example)
Jump to navigation Jump to search

As of SVN build 10279 date 2007-09-18, XBMC added the ability to include Music Videos in the Video and Music Libraries. All scanned music videos will show up in both. Music Videos can also be part of Party Mode and Smart Playlists. Playlists containing both music and music videos should be stored in the mixed playlist subfolder under The UserData Folder.

Music Videos Support in XBMC

Music.videos.jpg

Music Videos support is through a new content type. The scraper will look for a NFO file containing information on the music video files, failing that it will use the filename as a basis for the database entry (Artistname - Songname).

Nfo example

The filename of the NFO should be the same as the music video file, only replacing the original extension with .nfo

Music video filename example
bestartistintheworld - bestsongintheworld.avi
Corresponding nfo filename
bestartistintheworld - bestsongintheworld.nfo
Example nfo
<musicvideo>
 <title>Narcissism</title>
 <artist>Me</artist>
 <album>Myself</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>

Modifying the scraper to use different filenaming conventions

The Music video scraper can be found at the following location under the XBMC home directory

/system/scrapers/video/musicvideos.xml