Extra REGEX for TV Show Episode matching
#2
Current stable: V2.3
V2.4 - 05/09/2011
http://pastebin.com/UPPrk7VU
Added more movie stacking REGEX. Read the WARNING. Dont run if you have a one pile movie pile.
Note there are some weird movie stacking fails even though the REGEX is correct. Will debug with Eden later.
Updated DIRFIX handling based on a bug posted by SoWErA. Cheers
Lastly this is the last release that I will be testing with Dharma since I am moving to Eden.

V2.3 - 18/01/2011
http://pastebin.com/N5mjtBxk
WARNING: Big changes with little to no testing. Released due to demand. Use at your own risk.
Non critical typos, formatting and spelling.
Anime matches now happen before XBMC. By request.
Tighter CRC test in anime
Added movie stacking. Dont run these if you have a one pile file movie folder. (This is the reason XBMC doesnt do it natively)
Added OpenELEC default CPU and GPU temp settings
Added Samba timeout value
Explicit abc123 was catching pipes as well
Can move to \D instead of [^\d] etc. We have had proper PCRE for a long while now.
Stick on \d{1,2} rather than a mix with \d\d?
Now handles S1, S01, S 1, S 01 as well as Season1, Season01, Season 1, Season 01 directorys

V2.2 - 02/11/2010
http://pastebin.com/ehjt8aVh
Minimum required version Dharma Beta 4
Anime REGEX not capturing full ep number causing weird duplicates
Anime REGEX now handles {[( for CRC encapsulation
Anime REGEX - more tweaks
Added dimonscreensave
Removed all URL encoded REGEX as nothing to match against is URL ecoded anymore
Trivial comment typos
Removed a dupe REGEX that creapt in somehow
Removed a bunch of useless trailing spaces
Reordered. Should prove slighly faster now.

V2.1 - 29/09/2010
http://pastebin.com/XDDx3Thy
Yet more silly typos. Apologies to all.
Non critical typos, formatting and spelling.
Added first Anime match attempt. Tread carefully, anime naming is as oddball as anime itself.
Shortened comment separators. Was starting to take up too many lines.
Stripped out intro words and added them to change log.
Increased recently added from 250 to 300.

V2.0 - 20/09/2010
http://pastebin.com/EvL65F34
Added <backgroundupdate> update set to false for video library
Added music library settings placeholder
Added <backgroundupdate> set to false for music library
Added <flattentvshows> set to never for video library
Added first attempt at handling single episode DIRFIX re-releases
Fixed lame copy and paste [ error
Preparing for deprecated URL encoding requirement for RAR containers
Added first attempt at handling multi episode DIRFIX re-releases
Enabled GPU accelerated dds fanart <useddsfanart>. I debated setting this one but I suspect more users will want it than not. Please report back.
Exclude REGEX is now VERY greedy. Anything with "extras" in it anywhere is excluded. In almost all instances this will be fine but YMMV.

V1.9 - 08/09/2010
http://pastebin.com/jCqDF7hk
Changed order. As feared the change to prepend caused false positives.
Fixed bug with exclude REGEX and double //
Exclude REGEX is now VERY greedy. Anything with "sample" in it anywhere is excluded. In almost all instances this will be fine but YMMV.
Ignore Torrent client part files
Tested against Dharma. Consider BETA quality.

V1.8 - 18/01/2010
http://pastebin.com/f4a5aa918
Formatting
Ignore case set.
Ignore files named sample.*
Minimal required SVN to operate r26522.

V1.7 - 21/12/2009
http://pastebin.com/f656dd4f2
Changed to mostly inline comments for REGEX. Added a custom sort token to Ignore " when sorting (Thanks cptspiff for the fix).
Minimal required SVN to operate r25845.

V1.6 - 16/12/2009
http://pastebin.com/f195c0368
This is a significant update. Consider it ALPHA. In order to fix the broken REGEX I had to change almost all the custom REGEX to prepend.
This increases the chances of false positives significantly although in testing they still perform well.
This version requires SVN 25638+ to be fully compatible. Most will work with older versions.
If you have a TV show called Extras rename it to Extras (2005) for the EXCLUDE REGEX to be compatible.
Also a big thanks to Grum in IRC for the RAR REGEX. This will natively handle most SCENE RAR packs very accurately.
Use at you own risk.

V1.5 - 04/12/2009
Seems like EXCLUDE matching is case sensitive. Quick fix for testing.
V1.1 - 11/11/2009
General cleanup in preparation for pastebin.

V1.4 - 30/11/2009
http://pastebin.com/f74eb50d9
Tweaked Episode match to be a little less strict. Should catch /Shows/Mad Men/Season 1/Episode 12.avi etc

V1.3 - 20/11/2009
Added setting to turn off auto thumbs

V1.2 - 16/11/2009
http://pastebin.com/f6edebc7a
Split folder exclusions "extras" into two REGEX one for movies and one for TV.
As of r24405 video stacking regular expressions must contain exactly four (4) capture expressions. Removed old stacking REGEX will add back in as required.

V1.1 - 11/11/2009
http://pastebin.com/f62eee83b
General cleanup in preparation for pastebin.

V1.0 - 30/10/2009
Replaced some of the stacking REGEX removed in commit 24060. WARNING this may break serials support.
In general I am not happy with this new REGEX and it needs more work.
This file also includes some general XBMC settings I use.
It would be better if I didn't include these settings but doing so makes it easier for me.
Delete them if they are not to your taste.

V0.9 - 28/06/2009
http://pastebin.com/f544c8deb
Default XBMC REGEX producing false positives with TPZ.
To deal with this we now have both prepend and append REGEX.

V0.8 - 10/06/2009
http://pastebin.com/f5f4fae52
After a IRC discussion with cptspiff and mgc I release this version to cater for
TOPAZ releases but with NO REQUIRED FOLDER STRUCTURE.
This should also handle Topaz which are still in RAR format.
Please report back on success as I am working only from data scraped from Google.

V0.7 - 08/06/2009
Added excludefromscan section. Do not catalogue anything in a folder called extras.
Using the expected TV folder naming structure still allows the TV show "Extras".
Note: This does not work for me but does for other users. Please report back your experiences.

V0.6 - 06/06/2009
http://pastebin.com/f48cec53d
New component. Commonly missed movie stacking REGEX.
Big caveat, will NOT fix movies already in the library.
To fix completely remove the multiple movie entries and rescan.

V0.5 - 03/06/2009
Added REGEX to match some awful TV naming that has no season.
This release marks 99% completion rate of Google scraped XBMC missed episodes (10,000+ ).
The last REGEX in the list and may product false positives. Use with caution.

V0.4 - 28/05/2009
Cater for cross platform difference in paths i.e. \/

V0.3 - 16/05/2009
Support for /season 5/Lost - 5 x 05.mkv

V0.2 - 08/05/2009
TPZ matches now require season folder. Fixes some false positives.

V0.1 - 05/05/2009
Initial Upload

#######################################################################################
This REGEX is UNOFFICIAL/EXPERIMENTAL and may require a strict folder structure.

*Use at your own risk*

We use multiple REGEX rather than try to build one REGEX to rule them all.
This wastes CPU cycles but allows easier bug finding, refining and end user understanding.
The order they run is important. It will never catch all episodes.
Since were trying to deal with bad naming it could result in false positives.
Comments and submissions welcomed but try to keep it simple. If in doubt use two simple REGEX rather than one complex one.

To install see: http://www.xbmc.org/wiki/?title=AdvancedSettings.xml

Tested against Dharma onwards only but MAY be backwards compatible.
########################################################################################
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply


Messages In This Thread
[No subject] - by xexe - 2009-06-04, 10:32
[No subject] - by xexe - 2009-06-06, 11:58
[No subject] - by xexe - 2009-06-10, 12:44
[No subject] - by xexe - 2009-06-28, 13:00
[No subject] - by havix - 2009-08-10, 22:22
[No subject] - by jmarshall - 2009-08-11, 00:07
[No subject] - by xexe - 2009-08-16, 12:16
[No subject] - by j3ff - 2009-09-10, 04:37
[No subject] - by dc_williamson - 2009-09-10, 15:54
[No subject] - by locust - 2009-09-14, 23:41
[No subject] - by locust - 2009-09-22, 01:56
[No subject] - by EvilMatt666 - 2009-11-07, 01:03
[No subject] - by jmarshall - 2009-11-07, 04:18
[No subject] - by xexe - 2009-11-10, 14:57
[No subject] - by xexe - 2009-11-11, 14:22
[No subject] - by xexe - 2009-11-16, 12:06
[No subject] - by biggles - 2009-11-17, 11:29
[No subject] - by xexe - 2009-11-17, 12:25
[No subject] - by outleradam - 2009-11-20, 02:22
[No subject] - by Hjord - 2009-11-23, 18:40
[No subject] - by xexe - 2009-11-23, 18:50
[No subject] - by Hjord - 2009-11-23, 18:55
[No subject] - by xexe - 2009-11-23, 19:23
[No subject] - by jpf55 - 2009-11-23, 19:39
[No subject] - by outleradam - 2009-11-23, 20:36
[No subject] - by Hjord - 2009-11-23, 21:19
[No subject] - by Hjord - 2009-11-23, 21:55
[No subject] - by xexe - 2009-11-23, 22:22
[No subject] - by Hjord - 2009-11-23, 22:45
[No subject] - by xexe - 2009-11-23, 23:20
[No subject] - by Hjord - 2009-11-23, 23:41
[No subject] - by xexe - 2009-11-24, 09:45
[No subject] - by WaRSTeaM - 2009-11-27, 16:33
[No subject] - by Faustus - 2009-11-27, 21:21
[No subject] - by tomkiley - 2009-11-28, 03:38
[No subject] - by xexe - 2009-11-28, 09:11
[No subject] - by jrubenol - 2009-11-28, 09:16
[No subject] - by xexe - 2009-11-29, 00:50
[No subject] - by tomkiley - 2009-11-29, 01:05
[No subject] - by outleradam - 2009-11-29, 21:33
[No subject] - by xexe - 2009-11-29, 21:35
No TV Shows Appearing - by jrubenol - 2009-11-29, 23:34
[No subject] - by xexe - 2009-11-30, 13:23
[No subject] - by xexe - 2009-11-30, 13:31
[No subject] - by jrubenol - 2009-11-30, 19:41
[No subject] - by xexe - 2009-11-30, 20:09
[No subject] - by outleradam - 2009-11-30, 20:25
[No subject] - by xexe - 2009-11-30, 22:04
[No subject] - by jrubenol - 2009-11-30, 23:01
[No subject] - by outleradam - 2009-11-30, 23:47
[No subject] - by xexe - 2009-11-30, 23:55
[No subject] - by jrubenol - 2009-12-01, 01:00
[No subject] - by jrubenol - 2009-12-01, 05:17
[No subject] - by xexe - 2009-12-01, 11:06
[No subject] - by xexe - 2009-12-05, 12:05
[No subject] - by xexe - 2009-12-06, 14:31
[No subject] - by outleradam - 2009-12-10, 07:00
[No subject] - by xexe - 2009-12-11, 12:02
[No subject] - by xexe - 2009-12-13, 10:45
[No subject] - by xexe - 2009-12-13, 13:46
[No subject] - by xexe - 2009-12-16, 12:20
[No subject] - by xexe - 2009-12-21, 11:49
[No subject] - by wookietv - 2009-12-30, 09:35
[No subject] - by xexe - 2009-12-30, 11:57
[No subject] - by mrt2 - 2010-01-01, 21:59
[No subject] - by jpf55 - 2010-01-01, 22:09
[No subject] - by xexe - 2010-01-03, 12:48
[No subject] - by n3rdyguy - 2010-01-04, 22:39
[No subject] - by xexe - 2010-01-05, 02:47
[No subject] - by n3rdyguy - 2010-01-05, 20:25
hmm - by n3rdyguy - 2010-01-05, 21:53
[No subject] - by xexe - 2010-01-05, 22:12
[No subject] - by n3rdyguy - 2010-01-05, 23:26
[No subject] - by xexe - 2010-01-06, 01:44
[No subject] - by _Shorty - 2010-01-07, 13:31
[No subject] - by xexe - 2010-01-16, 12:20
[No subject] - by _Shorty - 2010-01-16, 15:04
[No subject] - by xexe - 2010-01-18, 14:16
[No subject] - by tofen - 2010-01-24, 19:14
[No subject] - by xexe - 2010-01-24, 22:08
[No subject] - by tofen - 2010-01-25, 12:53
[No subject] - by gipper - 2010-04-14, 07:19
[No subject] - by Handa - 2010-06-06, 17:18
[No subject] - by CrimsonIdol8 - 2010-06-15, 20:00
[No subject] - by Flomaster - 2010-06-16, 05:30
[No subject] - by Handa - 2010-06-16, 07:37
[No subject] - by Biznitch - 2010-06-21, 09:31
[No subject] - by xexe - 2010-06-24, 10:11
[No subject] - by Biznitch - 2010-06-27, 16:09
[No subject] - by Varazir - 2010-07-14, 18:54
[No subject] - by Varazir - 2010-07-17, 11:45
[No subject] - by Faldaani - 2010-07-17, 22:35
[No subject] - by Faldaani - 2010-07-18, 12:20
[No subject] - by gaborm - 2010-07-25, 04:54
don't scan sample folders - by Kringlan - 2010-08-07, 17:35
[No subject] - by rbrohman - 2010-08-14, 20:35
[No subject] - by snyft - 2010-08-15, 18:05
[No subject] - by snyft - 2010-09-02, 00:57
[No subject] - by Ebany - 2010-09-03, 18:35
[No subject] - by Ebany - 2010-09-03, 19:11
[No subject] - by xexe - 2010-09-04, 18:51
[No subject] - by zwat - 2010-09-05, 23:13
[No subject] - by Ebany - 2010-09-06, 09:20
[No subject] - by xexe - 2010-09-06, 09:33
[No subject] - by zwat - 2010-09-06, 12:39
Suggestion for 1.9 - by Kringlan - 2010-09-06, 21:25
[No subject] - by xexe - 2010-09-07, 10:09
[No subject] - by Kringlan - 2010-09-07, 22:44
[No subject] - by xexe - 2010-09-08, 15:10
[No subject] - by ZERO &lt;ibis&gt; - 2010-09-09, 09:51
[No subject] - by xexe - 2010-09-09, 11:20
[No subject] - by zwat - 2010-09-09, 20:25
[No subject] - by ZERO &lt;ibis&gt; - 2010-09-09, 21:55
[No subject] - by xexe - 2010-09-10, 08:32
[No subject] - by xexe - 2010-09-10, 08:53
[No subject] - by snyft - 2010-09-11, 14:32
[No subject] - by xexe - 2010-09-12, 00:14
[No subject] - by Kringlan - 2010-09-12, 12:28
[No subject] - by xexe - 2010-09-14, 13:29
[No subject] - by Kringlan - 2010-09-14, 18:03
[No subject] - by xexe - 2010-09-20, 16:38
[No subject] - by buskul - 2010-09-21, 14:35
[No subject] - by xexe - 2010-09-21, 23:00
[No subject] - by zwat - 2010-09-22, 21:26
[No subject] - by xexe - 2010-09-22, 22:04
[No subject] - by kim1406 - 2010-09-23, 10:14
[No subject] - by SoWErA - 2010-09-23, 11:15
[No subject] - by xexe - 2010-09-23, 22:16
[No subject] - by kim1406 - 2010-09-23, 23:57
[No subject] - by xexe - 2010-09-24, 00:45
[No subject] - by Stormin8 - 2010-09-24, 17:56
[No subject] - by kim1406 - 2010-09-24, 20:15
[No subject] - by Marvis - 2010-09-25, 22:57
[No subject] - by xexe - 2010-09-26, 10:52
[No subject] - by xexe - 2010-09-26, 11:38
[No subject] - by snyft - 2010-09-26, 11:48
[No subject] - by xexe - 2010-09-26, 12:03
[No subject] - by snyft - 2010-09-27, 02:21
[No subject] - by xexe - 2010-09-29, 10:55
[No subject] - by snyft - 2010-09-29, 14:47
[No subject] - by xexe - 2010-09-29, 15:05
[No subject] - by snyft - 2010-10-04, 20:17
[No subject] - by zwat - 2010-10-05, 08:53
[No subject] - by xexe - 2010-10-05, 21:48
[No subject] - by xexe - 2010-10-06, 09:29
[No subject] - by snyft - 2010-10-11, 00:00
[No subject] - by xexe - 2010-10-14, 08:37
[No subject] - by anub1s - 2010-10-15, 20:29
[No subject] - by xexe - 2010-10-16, 09:15
[No subject] - by anub1s - 2010-10-16, 12:32
[No subject] - by xexe - 2010-10-16, 18:04
[No subject] - by anub1s - 2010-10-17, 01:53
[No subject] - by xexe - 2010-10-17, 09:07
[No subject] - by xexe - 2010-10-17, 09:54
[No subject] - by anub1s - 2010-10-17, 14:28
[No subject] - by xexe - 2010-10-17, 15:30
[No subject] - by anub1s - 2010-10-17, 18:36
[No subject] - by xexe - 2010-10-17, 19:50
[No subject] - by wookietv - 2010-10-24, 08:55
[No subject] - by xexe - 2010-10-26, 23:45
[No subject] - by valvet - 2010-10-27, 00:50
[No subject] - by xexe - 2010-10-27, 14:26
[No subject] - by xexe - 2010-10-30, 10:50
[No subject] - by Buttink - 2010-10-31, 08:27
[No subject] - by xexe - 2010-11-02, 11:25
[No subject] - by snyft - 2010-11-04, 11:40
[No subject] - by xexe - 2010-11-05, 12:33
[No subject] - by Buttink - 2010-11-07, 00:43
[No subject] - by xexe - 2010-11-08, 10:29
[No subject] - by Buttink - 2010-11-08, 11:08
[No subject] - by xexe - 2010-11-08, 11:15
[No subject] - by Buttink - 2010-11-09, 06:36
[No subject] - by snyft - 2010-11-09, 09:12
[No subject] - by Buttink - 2010-11-09, 10:16
[No subject] - by xexe - 2010-11-09, 11:44
[No subject] - by moeru - 2010-11-13, 16:02
[No subject] - by xexe - 2010-11-13, 18:12
[No subject] - by outleradam - 2010-11-14, 04:28
[No subject] - by Buttink - 2010-11-20, 07:53
[No subject] - by viriiguy - 2010-11-22, 15:53
[No subject] - by xexe - 2010-11-22, 20:32
[No subject] - by xexe - 2010-11-24, 11:52
[No subject] - by xexe - 2010-11-27, 13:18
[No subject] - by moeru - 2010-12-05, 20:08
Frasier season 11 not showing up - by rimster - 2010-12-05, 23:46
[No subject] - by xexe - 2010-12-06, 10:14
[No subject] - by xexe - 2010-12-06, 10:17
[No subject] - by rimster - 2010-12-06, 20:47
[No subject] - by snyft - 2010-12-07, 10:56
[No subject] - by moeru - 2010-12-15, 03:02
[No subject] - by xexe - 2010-12-15, 09:36
[No subject] - by rimster - 2010-12-15, 09:47
append and prepend - by pcvii - 2010-12-20, 18:17
[No subject] - by geearf - 2010-12-27, 09:48
[No subject] - by Tak0r - 2010-12-29, 22:18
[No subject] - by costi - 2011-01-03, 00:09
[No subject] - by josz - 2011-01-03, 11:51
[No subject] - by xexe - 2011-01-18, 17:34
[No subject] - by xexe - 2011-02-12, 01:59
[No subject] - by armadillo - 2011-02-27, 01:40
[No subject] - by josephdebono - 2011-02-27, 17:17
[No subject] - by Deebster - 2011-03-04, 00:31
[No subject] - by SoWErA - 2011-03-14, 04:39
[No subject] - by Utterstrom - 2011-04-16, 01:44
[No subject] - by zmalex - 2011-04-23, 22:43
[No subject] - by Deebster - 2011-04-27, 16:09
[No subject] - by moeru - 2011-04-27, 22:32
Date based shows - by erolosty - 2011-05-08, 17:55
[No subject] - by David91 - 2011-05-13, 18:20
[No subject] - by Jani - 2011-06-02, 10:08
[No subject] - by TechLife - 2011-09-03, 06:20
[No subject] - by jsimmons - 2011-09-04, 18:39
[No subject] - by xexe - 2011-09-05, 11:13
[No subject] - by xexe - 2011-09-05, 11:25
[No subject] - by Benwolf7 - 2011-09-30, 20:34
[No subject] - by dumpydooby - 2011-11-01, 19:12
[No subject] - by Mooorgul - 2011-11-10, 01:08
[No subject] - by dumpydooby - 2011-11-20, 04:21
[No subject] - by Mooorgul - 2011-11-30, 17:53
[No subject] - by jadog - 2011-12-07, 23:54
[No subject] - by bwqbbq - 2011-12-10, 22:48
Netflix crash - by alvychris - 2011-12-20, 04:12
[No subject] - by NEOhidra - 2011-12-28, 19:25
[No subject] - by snyft - 2011-12-29, 01:51
Need some help with regexp - by User 29005 - 2012-01-10, 02:06
regexp wanted - by andzinsan - 2012-01-16, 10:45
[No subject] - by Killerc - 2012-01-17, 23:32
[No subject] - by Sha43Gal - 2012-01-18, 05:53
[No subject] - by LehighBri - 2012-01-23, 04:23
[No subject] - by LehighBri - 2012-01-26, 03:56
[No subject] - by Cupid - 2012-02-03, 20:53
[No subject] - by roth2006 - 2012-02-04, 04:19
[No subject] - by jenskristian - 2012-02-15, 12:00
[No subject] - by j3tang - 2012-02-22, 03:36
[No subject] - by xexe - 2012-03-08, 13:04
RE: - by j3tang - 2012-04-02, 00:48
[No subject] - by xexe - 2012-03-08, 13:07
[No subject] - by xexe - 2012-03-08, 13:09
[No subject] - by MasterCATZ - 2012-03-11, 05:08
Logout Mark Read Team Forum Stats Members Help
Extra REGEX for TV Show Episode matching19