Talk:Adding videos to the library/Naming files/TV shows

From Official Kodi Wiki
Revision as of 14:23, 10 March 2011 by >Keith.uk (→‎Custom Directory Structure & File Names: new section)
Jump to navigation Jump to search

DVD number ordering

There is a preference when setting thetvdb.com scraper to be used which allows using the dvd order instead of the aired order

This should probably be mentioned somewhere on this page. Or maybe a new wiki page which is linked to on this page which provides instructions as well as known series that are affected by this, e.g. Batman: The Animated Series.

Custom Directory Structure & File Names

I'm finding this section a little difficult to follow. I understand regexp, but I'm not quite clear on what it is the regexp is trying to pull out of its input. The article mentions that the regexp is designed to pull out the season and the episode. Running the expressions given in the second example gives these results:


Regex: ([0-9]+)([0-9][0-9])[^\\/]*


Input: \24\Season 6\601 - 6:00am to 7:00am.avi (Season 6, Episode 1)

Result: \24\Season 6\


Input: \Lost\Season 1\Lost - 101.avi (Season 1, Episode 1)

Result: \Lost\Season 1\Lost -


Input: \24\601 - 6:00am to 7:00am.avi (Season 6, Episode 1)

Result: \24\


There is no consistency in the results. Is that what they're supposed to look like? Is this an error in the example, or am I misunderstanding something?