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

From Official Kodi Wiki
Jump to navigation Jump to search
>Keith.uk
>Keith.uk
(To answer my own question, I see that the regexp is applied only to the file name, ignoring the directory structure.)
Line 1: Line 1:
== DVD number ordering ==
== 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
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.
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?

Revision as of 17:02, 10 March 2011

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.