![]() |
|
Extra REGEX for TV Show Episode matching - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +--- Thread: Extra REGEX for TV Show Episode matching (/showthread.php?tid=51614) |
24.S08E20.EXTENDED.720p.BluRay.X264-WASABi - MidKnight - 2011-02-07 03:06 any help with getting this to work when .EXTENDED. is part of the name? - xexe - 2011-02-12 01:59 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
- armadillo - 2011-02-27 01:40 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!
- josephdebono - 2011-02-27 17:17 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)[/\\](? |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.aviHelp would greatly be appreciated since this is driving me crazy. - Deebster - 2011-03-04 00:31 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 - SoWErA - 2011-03-14 04:39 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 - Utterstrom - 2011-04-16 01:44 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! - zmalex - 2011-04-23 22:43 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 ![]() 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. - Deebster - 2011-04-27 16:09 Deebster Wrote:I'm very comfortable with regexes but I'm not having any luck here. 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>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 - moeru - 2011-04-27 22:32 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. 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 |