KODI - Naming multi-episode television shows

  • 24 December 2016
  • charm
Using Handbrake to rip a multipart television show

The ultimate authority on naming media for KODI is the KODI wiki: http://kodi.wiki/view/Video_management#Naming_files. As great as the Wiki is it's always helpful to have some practical examples, not just the naming conventions. Here's how I named a multi-episode file so that it would be correctly scraped in KODI:

As a child of the 70s and 80s one of the television shows I enjoyed watching was Buck Rogers in the 25th Century. I already picked up the first season several months ago and ripped it so I could watch it on our KODI box. The second season was a lot more difficult to obtain (more expensive), and when I finally got it I noticed that some of the episodes were merged into 1 file rather than split up into more episodes. For example: in season 2 the first and second episode are a multi-part episode entitled Time of the Hawk Part 1 and Time of the Hawk Part 2. The DVD stores these two episodes as a single Time of the Hawk file. Normally these files would be two separate files, one for each episode.

As you probably already know the general format for naming television shows is:

tvshowname s##e##.ext

That is: the television show name, followed by an s## for the season number, followed by an e## for the episode number. For example:

Buck Rogers in the 25th Century s02e02.mkv

This would be the season 2 second episode of Buck Rogers in the 25th Century stored in mkv format.

For episodes where more than one episode is stored in a single file there are a few naming conventions offered on the kodi.wiki, but the one that I think is most clear follows the format:

tvshowname s##e##_s##e##.ext

All we're doing here is adding an underscore after the season/episode and adding the same format for the next episode. So for this file that includes both episode 1 and episode 2 we'd name it:

Buck Rogers in the 25th Century s02e01_s02e02.mkv

The KODI wiki also indicates you can use a dot as a separator, but I like to only have a single dot to separate the filename from the extension. You could do this:

Buck Rogers in the 2th Century s02e01.s02e02.mkv

Linux and KODI would probably understand, but I'm not so sure other operating systems would necessarily understand, so I like using an underscore to separate episodes.