Kodi Community Forum

Full Version: Using NFO file to assist with internet scraping?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to create an NFO file with minimal data to assist with internet scraping? Or is it already supported, and perhaps I'm doing it wrong?

I've got some movies and TV shows that won't download data from the scrapers because of how the folders the files in are named. Example being Harry Potter and the Prisoner of Azkaban is in a folder named "03 - Harry Potter and the Prisoner of Azkaban" so that when I browse using Windows Explorer, it'll being in proper order of release date. Other movies have similar issues if they have "Extended Cut" or "Director's Cut" in the folder name as well

I've tried creating a file named movie.nfo with just the id line (the IMDB id) and placing into the folder with the movie file, but when I try to refresh the library, it does nothing. I try refreshing it manually, and still nothing

So, am I screwing up with my movie.nfo, or is this not supported by XBMC?
It is definitely supported. Look at the wiki to see the format of .nfo files This link has details for URL based .nfo files

There are plenty of posts in the forum about how to set these up as well. You may want to consider using a supplemental tool such as Ember or XWMM to assist with this.
I can't seem to get it working. Maybe I'm not giving enough data?

This is my very simple movie.nfo for a folder on my server named "Amadeus (Director's Cut)":

Code:
<movie>
    <id>tt0086879</id>
</movie>

and that's it. When I rescan my library, it still doesn't scrape using the supplied info. Any ideas?
Try this one

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>MOVIE TITLE</title>
    <id>tt0000000</id>
</movie>

I don't know if the line at the top is important or what it does. I do know the top lines are different for TV show .nfo files so perhaps it is needed?
Shouldn't it look like this
Code:
<movie>
        <title>Sin City (Recut, Extended, Unrated)</title>
        <runtime>147 min.</runtime>
    </movie>
    http://www.imdb.com/title/tt0401792/
rocketpants Wrote:Shouldn't it look like this
Code:
<movie>
        <title>Sin City (Recut, Extended, Unrated)</title>
        <runtime>147 min.</runtime>
    </movie>
    http://www.imdb.com/title/tt0401792/

This is the way I used to do it before I used ember.
You can just use the movie URL only and no xml

movie.nfo
Code:
http://www.imdb.com/title/tt0304141/
Let us know what works EGO Nod
rocketpants Wrote:Shouldn't it look like this
Code:
<movie>
        <title>Sin City (Recut, Extended, Unrated)</title>
        <runtime>147 min.</runtime>
    </movie>
    http://www.imdb.com/title/tt0401792/

This works perfectly, thank you!

Also, thanks to the other suggestions. I do appreciate the help
I'm guessing there has either been a change in this format from the latest nightlies, or there is something broken with the IMDB scraper, because XBMC has stopped using my nfo files and now is updating everything online.

Anyone else experiencing this?
blacklist Wrote:I'm guessing there has either been a change in this format from the latest nightlies, or there is something broken with the IMDB scraper, because XBMC has stopped using my nfo files and now is updating everything online.

Anyone else experiencing this?

I just tested Rev 20111116-57ba0cb and it worked fine for me with IMDb set as the scraper I tried with both types below using full nfo's

movie.nfo
movie.tbn
fanart.jpg

and also

<file Name>.nfo
<file Name>.tbn
<file Name>-fanart.jpg