Extra REGEX for TV Show Episode matching

  Thread Rating:
  • 11 Votes - 4.45 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MidKnight Offline
Senior Member
Posts: 220
Joined: Jun 2004
Reputation: 0
Post: #201
any help with getting this to work when .EXTENDED. is part of the name?
find quote
xexe Offline
Fan
Posts: 711
Joined: Sep 2008
Reputation: 1
Post: #202
MidKnight Wrote:any help with getting this to work when .EXTENDED. is part of the name?

See first post for how to ask for help in a way you can actually get some Smile


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
armadillo Offline
Junior Member
Posts: 1
Joined: Feb 2011
Reputation: 0
Post: #203
Hi, I'm running the complete V2.3 - 18/01/2011 regex and it helps me find most of my TV/anime without problems.

There are however a couple that don't get picked up.

I'm on the latest stable XBMC release (10.0).

My log: http://pastebin.com/swuwgzsh

Thanks for what you're doing! Nod
find quote
josephdebono Offline
Junior Member
Posts: 23
Joined: Feb 2011
Reputation: 0
Post: #204
Hi!

I'm running version 2.3 and I seem to have some trouble capturing TV shows. It almost seems like the append action regexes aren't working at all for me.

Trying to capture WWII in HD with filenames containing part.##

http://pastebin.com/sX8tAt9e

I tested the following regex on one of my file path and it got captured correctly in Espresso.
(?i)[/\\](?Confused|season)\W?(\d{1,2})\D*[/\\].*?\Wpart\W?(\d{1,2})\W([^/\\]*)

Edit2:

So something is really strange on my setup. Running W7x64 as you can see from the log above. I've always had a sneaking suspicion that the regexes weren't working correctly so what I've done is I've replicated folders and files from the comments in the file such that I had exactly the following structure
Code:
/NASA Missions/Season 1/nasa.missions.part.3.hdtv.xvid-fqm.avi
/The Chronicles/Season 1/Chronicles.Of.01.The.episode.6.DVDRip.DivX-movies.avi
The files were still not enumerated. I did this late last night and haven't got the logs yet but I'll upload them as soon as I get home from work.
Help would greatly be appreciated since this is driving me crazy.
(This post was last modified: 2011-03-02 16:06 by josephdebono.)
find quote
Deebster Offline
Junior Member
Posts: 4
Joined: Mar 2011
Reputation: 0
Location: UK
Post: #205
I'm very comfortable with regexes but I'm not having any luck here.

I've simplified one of the rules and got:
Code:
s(\d{1,2})/.*\Wep0?(\d{1,2})\W([^/]*)

However, I still see
DEBUG: VideoInfoScanner: Could not enumerate file /files/tv/How TV Ruined Your Life/s01/How TV Ruined Your Life ep01 Fear.WnA.avi

The regex matches the string (although this version doesn't have the initial slash). Does the regex match the whole path or does it do ^regex$ on the path after the episode folder?

(Full log is http://pastebin.com/0MFavVwy)

Thanks in advance
find quote
SoWErA Offline
Member
Posts: 68
Joined: Aug 2010
Reputation: 0
Post: #206
here is my debug log plz have a look why it's not adding 8e01 8e02 8e03 8e22 and specials 3 and 4 of That 70s show - says something about enumerating.

http://pastebin.com/Vfs8kdHH
find quote
Utterstrom Offline
Junior Member
Posts: 17
Joined: Mar 2008
Reputation: 0
Thumbs Up    Post: #207
Big thanks!
Been having problems with my shows for weeks now, mostly because I didn't think there was a solution to it.

Now all the shows were the releasegroup put their name first gets added automatically!

e.i tpz-30rock303.r00 -> .r11(.rar)

Thanks again!
find quote
zmalex Offline
Junior Member
Posts: 7
Joined: Mar 2011
Reputation: 0
Post: #208
I could need some help with regexp for the following setup:

\\NAS\media\TVseries\The Wire\Season 1\The Wire Season 1 Episode 01 - The Target.avi

I have two series like this. Sure I could rename them to SxxExx but that would be giving up Smile

Edit1 : I tried
Season (\d{1,2}) Episode (\d{1,2})(.*)
Season ([0-9]+) Episode ([0-9]+)[^\\/]*

Edit2: Ok I read the "Do not ask for random regexp help" on the first page. So could i rephrase to making it a request to handle the above syntax? I checked your existing regexp examples and couldn't find a regexp looks as it would be helpful for the above case.
(This post was last modified: 2011-04-25 08:34 by zmalex.)
find quote
Deebster Offline
Junior Member
Posts: 4
Joined: Mar 2011
Reputation: 0
Location: UK
Lightbulb    Post: #209
Deebster Wrote:I'm very comfortable with regexes but I'm not having any luck here.

I've simplified one of the rules and got:
Code:
s(\d{1,2})/.*\Wep0?(\d{1,2})\W([^/]*)

However, I still see
DEBUG: VideoInfoScanner: Could not enumerate file /files/tv/How TV Ruined Your Life/s01/How TV Ruined Your Life ep01 Fear.WnA.avi

The regex matches the string (although this version doesn't have the initial slash). Does the regex match the whole path or does it do ^regex$ on the path after the episode folder?

(Full log is http://pastebin.com/0MFavVwy)

Thanks in advance

Having looked at the source I see that the regex does operate on the full path.

More usefully, I have found that on my system* I cannot use \W. Replacing \W with [^\w] makes things work.

[Edit]Looking at the log, it seems that the file and the regex are converted to lower case, so \W and \w (and \D and \d, etc) are identical.

Eg:

Code:
<regexp>(?:ep?|pa?r?t)[\._ \-]?(\D+)[^\d]</regexp>
shouldn't work (because of the \D in the brackets), but it does:
Code:
DEBUG: VideoInfoScanner: Found episode match /files/tv/10 minute tales/10 minute tales e01.avi (s1e1) [(?:ep?|pa?r?t)[\._ \-]?(\d+)[^\d]]

Seems like a bug to me...


* Linux (Ubuntu 10.04.2 LTS, 2.6.32-26-generic i686). Built on Mar 9 2011 (Git:Unknown) installed from LiveCD
(This post was last modified: 2011-04-27 17:44 by Deebster.)
find quote
moeru Offline
Junior Member
Posts: 5
Joined: Nov 2009
Reputation: 0
Post: #210
armadillo Wrote:Hi, I'm running the complete V2.3 - 18/01/2011 regex and it helps me find most of my TV/anime without problems.

There are however a couple that don't get picked up.

I'm on the latest stable XBMC release (10.0).

My log: http://pastebin.com/swuwgzsh

Thanks for what you're doing! Nod

What might be a huge help is to use http://www.anidb.net

they have a renamer that works with this regexp

also: Is anyone having trouble getting shows with numbers in them to register using 2.3 of xexe's file? Shows like Ranma 1/2 (filename is listed as Ranma 12) or Gundam 00 do not show up in the library but nothing appears as failing in the logs when you try to add them to the library.
All I get is in the debug log: http://pastebin.com/9MScb6pW

I ran the refresh on the files in question @ 20:07 in the log
(This post was last modified: 2011-05-04 03:09 by moeru.)
find quote
Post Reply