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.
1 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.
2 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. 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 this is done you’ll need to open up the .NFO files for all the movies in the series and add some info to them. 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. <xml> <sorttitle>Die Hard 1</sorttitle> <set>Die Hard Collection</set> </xml> You would have to change the sort title for each movie, but the rest would remain the same. Once you’ve done this, remove each of the movies from the Video Library, and then rescan to add them. XBMC will use information from the modified .NFO files when re-adding the movies, placing them in the new set.
3 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".