Kodi Community Forum

Full Version: .nfo for individual episodes...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to create .nfo files for individual episodes of a TV show (Firefly).

I thought this would work in Eden:
File name: Firefly - S1 E13 - Objects In Space.mkv

NFO file: Firefly - S1 E13 - Objects In Space.nfo
Code:
http://thetvdb.com/?tab=episode&seriesid=78874&seasonid=15791&id=297998&lid=7

It doesn't seem to work. How should I make it work?
The .nfo file needs to be in an xml format. Just putting in a URL is no sufficient.

See the "TV Episode" section on this page in the XBMC wiki for the correct structure.

Or you could use one of the Metadata management programs available in the "Supplemental Tools for XBMC" section of the forum to auto-generate the .nfo file.
Firefly is my favorite show, and Objects in Space is my favorite episode.
Got it now. If anyone's wondering, the .nfo file should look like this:

Code:
<episodedetails>
        <title>Objects In Space</title>
</episodedetails>
http://thetvdb.com/?tab=episode&seriesid=78874&seasonid=15791&id=297998&lid=7
Actually, this works and is shorter. Big Grin

Code:
<episodedetails>
</episodedetails>
http://thetvdb.com/?tab=episode&seriesid=78874&seasonid=15791&id=297998&lid=7
I take that back. The following doesn't work. Is it a bug?

Code:
<episodedetails>
<title>Trash</title>
</episodedetails>
http://thetvdb.com/?tab=episode&seriesid=78874&seasonid=15791&id=298002&lid=7
Who knows - the Debug Log will. Refresh the show (and all episodes) while debugging.
Review this Wiki page. It details exactly how the file should be structured. Note that not all tags are required, IE <premiered>

http://wiki.xbmc.org/index.php?title=Imp...rt_library
(2012-03-14, 16:39)TugboatBill Wrote: [ -> ]Review this Wiki page. It details exactly how the file should be structured. Note that not all tags are required, IE <premiered>

http://wiki.xbmc.org/index.php?title=Imp...rt_library

Yes. I saw that page. In particular, I was looking at this part.

I assumed that it's supported in Eden, but I guess not. Sad
Yeah, if you're looking to embed a url into the nfo file it appears it may not work. Creating a nfo with the tags as shown a bit higher in that wiki page does work though.

You can always write an app that pulls the data from thetvdb, though if you're doing that it's usually easier to use XBMC's built in scrapers.
(2012-03-15, 21:30)TugboatBill Wrote: [ -> ]You can always write an app that pulls the data from thetvdb, though if you're doing that it's usually easier to use XBMC's built in scrapers.

Unfortunately, thetvdb.com has the wrong order for episodes for Firefly (I consider the correct order to be the order on the boxed set.Blush ).

Also, I don't know of any app for Debian/Ubuntu that will pull the scraper info and allow me to edit the .nfo files myself. Confused
Probably the easiest way to get what you want is to use a different scraper. I too have the full Firefly series and it appears in the proper order. I used EMM (Windows app) to scrape it.

Be aware that there is a bug with scraping TV episodes with EMM though. It doesn't include the <episodeguide> tags in the tvshow.nfo. This wouldn't be a problem with Firefly. However I found that if I scrape a new series with EMM, XBMC imports it, and I then add another episode and rely on XBMC to scrape it, the episode never appears in the library. Without the episodeguide tag XBMC doesn't know where to find the episode info. Scraping that episode with EMM allows XBMC to see it properly and it will then appear in the library. So once you've scraped all/part of a series with EMM that series should always be scraped with EMM.
When you are on the "set content/change content" screen (press "c" while selecting the firefly folder (or the TV shows source folder) in file mode/view) you should see a settings button. There you can select "use DVD order" for thetvdb.
rather than creating every .nfo file by hand (which should take a while...go to settings > videos> library and export your library to multiple files...this will create .nfos for everything...then just open them up in a text editor edit, and save...then remove the files you edited the nfos for from the xbmc (do not delete the file its self, just remove it from the library) then exit xbmc and restart xbmc...if you don't auto scan for new content then do a scan after xbmc reopens and all your changes should now take effect.