Movie sets: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Dieter.wunderer
No edit summary
Line 66: Line 66:
Your new movie library will look like the one below, displaying a folder with the set name that you can click on to view the entire set of movies. You can set the thumbnail that will be displayed when you select the movie set by opening the context menu when selecting the set and choosing "Set Movieset Thumb".  
Your new movie library will look like the one below, displaying a folder with the set name that you can click on to view the entire set of movies. You can set the thumbnail that will be displayed when you select the movie set by opening the context menu when selecting the set and choosing "Set Movieset Thumb".  
[[Image:Movie_sets_Screenshot000.jpg|center]]
[[Image:Movie_sets_Screenshot000.jpg|center]]
[[Category:Video Library]]

Revision as of 14:24, 7 September 2011

XBMC Movie Scrapers include support for sorting your movies into sets for better organization. This is especially useful for movies that are part of a collection. If sets are a part of your collection, you can find them easily with the Sets node in your Video Library.

The Problem

Movies that are in a series are often not listed in a way that is conducive to ‘regular’ sorting. Here is an example, imagine you have the following movies in your movie collection:

  • Die Hard
  • Die Hard 2
  • Die Hard With a Vengeance
  • Live Free or Die Hard

These movies are all entries in a series, and it would be handy to have them listed in your movie library in a group, rather than having all the ones starting with ‘Die Hard’ in order, and then the have the 4th entry in the series listed in the ‘Ls’ with any number of movies in between.

Organizing Movie Series

In order to organize these movies in a way that will make it easier to find them you can edit your .NFO files to include the "set" tag.

Getting an .NFO file

Various options:

.NFO exists

If you have a movie with an .NFO file already, continue with the next section.

Create an .NFO file (recommended)

  • This is recommended to have .NFO files only where needed.
  • Create a text file with a text editor (e.g. notepad) with exactly the same name as the movie file (if all movies in one dir; in case each movie has its own folder, place the .NFO file there and the name does not matter). The extension has to be .NFO (e.g. Hellboy (2004) English.DTS.1080p.x264.nfo).
  • Copy the following code into the text file and change the information (see also below Editing the .NFO file for detailed explanation):
<movie>
	<title>Hellboy - Uncut Extended</title>
	<set>Hellboy Collection</set>
	<sorttitle>Hellboy 1</sorttitle>
</movie>
http://www.themoviedb.org/movie/1487
  • Get the URL at the end by searching the movie on your favorite movie DB site (but you need a scraper for XBMC of this site) and copy the link from the address bar of the browser.
  • Doing it this way has the advantage, to get all other information like cast, poster, fanart, rating, etc. automatically from the movie DB site, while being able to specify the exact title.
    This is especially helpful for example for the themoviedb.org, which does not recognise "Uncut", "Extended Version", etc. in the movie title.
  • See Updating the XBMC database below.

Export .NFO files for all movies

  • First you need to have all the movies scanned into your Video Library.
  • Once this is done you’ll need to export your library as a series of separate .NFO files. This can be done by going to Settings > Video > Library and choosing Export Library. Make sure you choose the separate files option, and a bunch of .NFO files (one for every movie) will be dumped to the directories the movies are stored in.
  • Once you have the .NFO you'll need to open it for all the movies in the series and add some info to them.


Editing the .NFO file

The two tags we’re interested in are shown on the .NFO files page, but not really explained. They are:

  • <sorttitle>: This tag is used to give a secondary ’sort title’ that will be used to order the movies when sorting the movies by name. The easiest way to handle this is to just use “Die Hard 1″, "Die Hard 2″, etc. Since XBMC also remembers views for different folders, you could also just sort this folder by movie year, rather than name, and achieve the same result.
  • <set>: This tag is used to give a name to the set, or series, so that it can be listed in your Movies view.

For the Die Hard example we would add the following tags to each .NFO file in the movie series.

<sorttitle>Die Hard 1</sorttitle>
<set>Die Hard Collection</set>

Note that the sorttitle tag is an option tag that is not specific to sets. You only need it if you want your movies to sort by a different name other than their actual title. It is safe to leave it out if you would rather just use the date sort.


Updating the XBMC database

  • If the movie is still in the XBMC Video library, then remove the movie(s) (Context menu / Remove from database).
  • Rescan the library (Context menu on any movie / Update database).
    • Note 1: Do as described above. Just updating the movie informatin will not work!
    • Hint 2: There seems to be a bug, if you change the poster of a movie in a set manually. When changing the poster, you see the new one as long as you are on the movie information page. If you go back to the film list, the poster does not change. Exit the movie set and enter again. Now you should see the changed poster.

Adding Thumbnail Image

Your new movie library will look like the one below, displaying a folder with the set name that you can click on to view the entire set of movies. You can set the thumbnail that will be displayed when you select the movie set by opening the context menu when selecting the set and choosing "Set Movieset Thumb".

Movie sets Screenshot000.jpg