• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

XBMC folder structure question.

Recommended Posts

McCordRm    442

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>

Share this post


Link to post
Share on other sites
Eric    1,604

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

Share this post


Link to post
Share on other sites
McCordRm    442

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?

Share this post


Link to post
Share on other sites
Ambroos    801

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.

Share this post


Link to post
Share on other sites
McCordRm    442

Kewl, I'll give that a shot.

Will Ember use the proper files names? 

Share this post


Link to post
Share on other sites
McCordRm    442

I checked out the program... it doesn't add Movie Set or Sort Title to the NFO file.

Also, it doesn't access Fanart.TV.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.