How do I write my own .nfo?
#1
I tried to make my own nfo to use with home movies.
Did a test. Put a movie in its own folder 'testing (2011)'
Named it as such and made an nfo with the same name.

Used this as a template: (forget where I got it... and made necessary changes)

<xml>
<movie>
<title>Who knows</title>
<originaltitle>Who knows for real</originaltitle>
<rating>6.100000</rating>
<year>2008</year>
<top250>0</top250>
<votes>50</votes>
<outline>A look at the role of the Buckeye State in the 2004 Presidential Election.</outline>
<plot>A look at the role of the Buckeye State in the 2004 Presidential Election.</plot>
<tagline></tagline>
<runtime>90 min</runtime>
<thumb>http://ia.ec.imdb.com/media/imdb/01/I/25/65/31/10f.jpg</thumb>
<mpaa>Not available</mpaa>
<playcount>0</playcount>
<watched>false</watched>
<id>tt0432337</id>
<filenameandpath>c:\Dummy_Movie_Files\Movies\...So Goes The Nation.avi</filenameandpath>
<trailer></trailer>
<genre></genre>
<credits></credits>
<director>Adam Del Deo</director>
<actor>
<name>Paul Begala</name>
<role>Himself</role>
</actor>
<actor>
<name>George W. Bush</name>
<role>Himself</role>
</actor>
<actor>
<name>Mary Beth Cahill</name>
<role>Herself</role>
</actor>
<actor>
<name>Ed Gillespie</name>
<role>Himself</role>
</actor>
<actor>
<name>John Kerry</name>
<role>Himself</role>
</actor>
</movie>
</xml>


I also put a couple pics in as well
testing (2011)-fanart
testing (2011).tbn

XBMC picked up the folder on startup and listed the movie as 'testing' and even used the fanart.

... this is the actual nfo I used
<xml>
<movie>
<title>testing</title>
<originaltitle>testing</originaltitle>
<rating>6.100000</rating>
<year>2011</year>
<top250>0</top250>
<votes>50</votes>
<outline>blah blah</outline>
<plot>home movie testing</plot>
<tagline>xbmc</tagline>
<runtime>1 min</runtime>
<thumb></thumb>
<mpaa>Not available</mpaa>
<playcount>0</playcount>
<watched>false</watched>
<id></id>
<filenameandpath></filenameandpath>
<trailer></trailer>
<genre></genre>
<credits></credits>
<director>Heilman</director>
<actor>
<name>Andy</name>
<role>Himself</role>
</actor>
<actor>
<name>Satan</name>
<role>Himself</role>
</actor>

</movie>
</xml>

While it displayed the title correctly and used the art XBMC does not display any of the info in the nfo file....
Reply
#2
http://wiki.xbmc.org/index.php?title=Imp...g_XML_data
Reply
#3
why not take a nfo from a working movie and modify that one?

Better yet, you could use something like Ember. Then you could edit the movie data via a nice front end instead of editing .nfo files.
Reply
#4
Thanks guys.

@Hitcher, if you check out that link that is the same template I used... I think I got it from the forum though.
Don't know why it didn't work.

@foghat... I'll check Ember out.
Reply
#5
Have you tried doing a refresh on the particular movie in xbmc?

Depending on how you did things originally, you may have to do a refresh. .nfo changes are not reflected in the library with out refreshing the movie in question.
Reply
#6
Well, yes but not in the way your are thinking. I was doing it the hard way.
How do you refresh and individual movie?

Ember is doing the trick for me by the way. But would still like to know how to have it refresh if I make any changes.

Thanks.
Reply
#7
Go to movie info in library or file view and do a refresh. That's it.
Reply
#8
^ that, or when a movie is selected (not info view), hit 'C' and select refresh from the context menu.
Reply

Logout Mark Read Team Forum Stats Members Help
How do I write my own .nfo?0