Hi,
In the attempt at being clever I have arranged all my series to match this: <series> (<firstaired>)\S<season>\...<episode>...<episode2>....<ext> - fx: 24 (2001)\S06\24.S06E09.Day 6- 2-00 PM - 3-00 PM.avi.
I have made a few regular expressions that perfectly matches all my series with series names, seasons, first aired and episodes.
This is an example of such: ^(?<series>[^\(]+)\((?<firstaired>\d+?)\)\\S(?<season>\d+?)\\.*?((episode\s*)|ep|(s\d{1,2}[-\.\s]?e)|x)(?<episode>\d+)(([-&\+]|e|[-&\+]e|(\s*?&\s*?))(?<episode2>\d{1,2}))?.*?\.(?<ext>[^.]*)$
I only look for series names and season numbers in folders and episodes in the file names.
When running the import and the local files are match against the online data, 99.9% of the episodes can not be auto matched.
If I remove the <firstaired> tag completely everything matches just fine except for Battlestar Galactica that matches to the old series, which is the reason I added the year in the first place.
I then tried to change 24 (2001) to 24 (November 6, 2001), which according the thetvdb.com is the accurate first aired date. This resulted in ALL 24 episodes to be auto matched to the first episode of 24.
My conclusion is of course that <firstaired> actually is used for matching against the air date of the specific episode and not the whole series, as I first thought
I can see that thetvdb.com has a <FirstAired> for both a whole series as well as individual episodes (from here Programmers API - TvDBwiki). Is it possible to use the <FirstAired> for a whole series, when matching the series? (and yes, it was a long post to ask this questions )
(also for a really cool plugin!)
In the attempt at being clever I have arranged all my series to match this: <series> (<firstaired>)\S<season>\...<episode>...<episode2>....<ext> - fx: 24 (2001)\S06\24.S06E09.Day 6- 2-00 PM - 3-00 PM.avi.
I have made a few regular expressions that perfectly matches all my series with series names, seasons, first aired and episodes.
This is an example of such: ^(?<series>[^\(]+)\((?<firstaired>\d+?)\)\\S(?<season>\d+?)\\.*?((episode\s*)|ep|(s\d{1,2}[-\.\s]?e)|x)(?<episode>\d+)(([-&\+]|e|[-&\+]e|(\s*?&\s*?))(?<episode2>\d{1,2}))?.*?\.(?<ext>[^.]*)$
I only look for series names and season numbers in folders and episodes in the file names.
When running the import and the local files are match against the online data, 99.9% of the episodes can not be auto matched.
If I remove the <firstaired> tag completely everything matches just fine except for Battlestar Galactica that matches to the old series, which is the reason I added the year in the first place.
I then tried to change 24 (2001) to 24 (November 6, 2001), which according the thetvdb.com is the accurate first aired date. This resulted in ALL 24 episodes to be auto matched to the first episode of 24.
My conclusion is of course that <firstaired> actually is used for matching against the air date of the specific episode and not the whole series, as I first thought
I can see that thetvdb.com has a <FirstAired> for both a whole series as well as individual episodes (from here Programmers API - TvDBwiki). Is it possible to use the <FirstAired> for a whole series, when matching the series? (and yes, it was a long post to ask this questions )
(also for a really cool plugin!)