XBMC folder structure question.


Recommended Posts

First, I fully realize I can just let scrappers go to town and create my NFO files, etc. I'M NOT DOING THAT.

 

So, here we go. I'm trying to figure out the file names that XBMC looks for locally. Specifically, do different

skins look for different file names? For example:

 

poster.jpg

or

<movie title>-poster.jpg

 

clearart.png

or

<movie title>-clearart.png

 

 

Scrappers like to keep URLs in the NFO file. I want XBMC to be able to pull ALL relevant information

directly from each movie's folder. Here's my current folder structure:

.Actor (folder with all actors' images)
Movie.mkv
Movie.nfo
movie-fanart.jpg
movie-poster.jpg
banner.jpg
cdart.png
clearart.png
fanart.jpg
logo.png
poster.jpg
thumb.jpg

You'll notice I have two copies of fanart and poster since I don't know which one XBMC actually uses.

As for the NFO file, it likes to link to URLs for images- including Actor pictures. Thus, I'm editing

my NFO files to remove all such links. Here's an example:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
<title>Movie</title>
<originaltitle>Movie</originaltitle>
<sorttitle>Movie 01</sorttitle>
<set>Movie Collection</set>
<year>2003</year>

<plot>This is an awesome movie; you should watch it!</plot>

<tagline>The beginning of the Movie legacy!</tagline>

<runtime>107</runtime>

<thumb aspect="poster" preview="poster.jpg">poster.jpg</thumb>
<fanart><thumb preview="fanart.jpg">fanart.jpg</thumb></fanart>

<mpaa>Rated PG-13</mpaa>

<playcount>0</playcount>
<lastplayed></lastplayed>

<genre>Action</genre>
<genre>Crime</genre>

<country>United States of America</country>

<credits>Mr. Money</credits>
<credits>Mr. Fame</credits>
<director>Mr. Camera</director>

<studio>Awesome Pictures</studio>

<trailer></trailer>

<actor>
<name>Mr. Actor</name>
<role>The Hero</role>
<order>0</order>
<thumb>Mr._Actor.jpg</thumb>
</actor>

<actor>
<name>Mrs. Actress</name>
<role>Irrelevant</role>
<order>1</order>
<thumb>Mrs._Actress.jpg</thumb>
</actor>

<resume>
<position>0.000000</position>
<total>0.000000</total>
</resume>
</movie>
Link to comment
Share on other sites

I just exported my video library and it saved:

<title>-poster.jpg

<title>-fanart.jpg

<title>.nfo

extrafanart and extrathumbs folders were also created but the filenames are just hash values.

I suspect clearart is also done that way, too. I don't think it's a feature of XBMC itself.

If you have movies in separate folders by name just using "poster" or "fanart" should work.

EDIT: Check out the XBMC wiki article about Artwork Downloader. That's what most skins use and has an entry about filesystem structure/names: http://wiki.xbmc.org/index.php?title=Add-on:Artwork_Downloader#Naming_conventions

Link to comment
Share on other sites

Ah! That's exactly what I was looking for! Thanks.

The hashtags for extrafanart, think XBMC will use them if I rename them 1, 2, etc?

Link to comment
Share on other sites

You should try Ember Media Manager. It's what I use to get the right fanart, descriptions, images, ... for all my movies and TV shows and it works perfectly. Then I just let Artwork Downloader do the clearart and logos. Either way, Ember Media Manager is great to manage that stuff, you should try it out.

Link to comment
Share on other sites

This topic is now closed to further replies.