![]() |
|
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) |
- wookietv - 2010-10-24 08:55 hi, i'm wondering if i can get assistance with my situation. my pastebin is here http://pastebin.com/aakH01pN as you can see in the log, it is calling out your regex, but the end result is not pulling in any tv show episodes (you may see in the log that i deleted some of the commenting out from your regex... i didn't narrow it down, but there was a comment that was giving me an error somewhere. something about a tag on line 69. after deleting some of the comments, it read the file. all of the "useful" portions of the file were left alone, i only deleted comments) i use a dvd folder structure on my home server as such: \\SERVER\Videos\TV Shows\Series Name\Season #\Episode # - Episode Name\VIDEO_TS\vob & ifo files here for example: \\SERVER\Videos\TV Shows\Wire\Season 1\01 - The Target\VIDEO_TS\ \\SERVER\Videos\TV Shows\The I.T. Crowd\Season 1\01 - Yesterday's Jam\VIDEO_TS\ it seems like it reads up to the series name and then stops (when i go into the tv shows section in xbmc, i see all the show titles, but there's 0 episodes in each one) this worked before in an older version of xbmc, but since i upgraded to this 10.0 beta 2 it has not. (i used your regex in the older version) any assistance would be appreciated, thanks for your help edit: nevermind, i was able to figure it out. it actually required a reboot and then updating library to get it to take... that should be worked on, if xbmc developers happen to see this. why does it take a reboot to get the library to update? - xexe - 2010-10-26 23:45 If you alter as.xml you need to reboot to have it take effect. however since it was loaded in your log file that should by definition mean it is loaded. I cant explain further its a mystery. as a general support note when someone posts a log file one of the first tings i do i copy and paste the as.xml and compare to mine looking for glitches. If its been edited I immediately lose interest and stop looking. TO many times in IRC PM I have wasted time when someone guesses at regex changes and then fails to tell me they removed a few dots etc.
- valvet - 2010-10-27 00:50 Hi there I'm having some problems getting the episodes of "Jail" matched. Here is my structure: http://pastebin.ca/1974070 I don't really see why it wouldn't return any information on the episodes, as the directory name of each episode follow the scene standards and they're just like for example "How I met your mother", unless there simply aren't any information to be retrieved? How can I see this? The problem is, I cannot see the files under TV shows unless some information is retrieved about each episode.. I'd settle for being able to play the episodes, without any information on them - but nothing is showing up as written above. Thanks for any help :-) - xexe - 2010-10-27 14:26 There is no season 3 of this show on tvdb. If you want more help that isnt me just wildly guessing see the OP for stuff i need. - xexe - 2010-10-30 10:50 Beta 4 is out and for us it contains one subtle bug fix. In beta 3 RAR scanning was changed from URL encoded to pain text however the logs still showed the URL encoded path. This was a bit of a pain. What this means is that you no longer need to cater for URL encoded paths with rars. This opens up a lot of opportunities for us and I will be releasing a new REGEX with the URL encoded RAR stuff removed soon. Since i don't have or use rars I will need good feedback if you peeps actually want this to work properly again. What is good feedback? See OP for the info i need which is primarily a compete log file. Please please dont post hand written anything... i NEED NEED logs. - Buttink - 2010-10-31 08:27 I'm a noob and should read more posts XP - xexe - 2010-11-02 11:25 V2.2 Released Big changes in this one principally surrounding layout, order and removal of URL encoding. This needs Dharma beta 4 or later. The good news is that now that URL encoding is gone I can now support RAR packs. If things are being missed by XBMC simple turn on debug log, do a full library update and post xbmc.log to pastebin. From that I can usually fix your problems. Dont post a log and i cant ![]() Usual suspects please test the ass out of this please i really want to get a new stable done for release with Dharma. - snyft - 2010-11-04 11:40 Movies seem to work really good also tv-shows. Havent noticed anything bad yet and i have rescanned my entire archive (3100 movies, and about 5000 episodes) Anime handling dosent work at all tho. debug log for all my anime using beta 4 on win 7 and 2.2: http://data.fuskbugg.se/dipdip/xbmc.old.rar - xexe - 2010-11-05 12:33 something odd is going on. my regex passes PCRE checks but XBMC isnt agreeing. investigation underway Update: try changing line 87 the anime regex to: <regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[\[({][\da-z]{8}[\])}]</regexp> and see if it works. if it does good for you and bad for me.. will explain later - Buttink - 2010-11-07 00:43 The default captures for xbmc stopped a lot of my anime from being found. Example: [subtitlegroup] Code Geass - Lelouch of the Rebellion R2 - 01 (1280x720 h264) [64ECBBAE].mkv This took the 1280 as season and 720 as ep ![]() The anime regex should probably be made way more strict but done before xbmc. Code: <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\]\[.+?\].*(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-z]{8}[])}]</regexp>I added a thing for seasons and a check at the beginning of the filename to search for "[subtitlegroup]". I haven't seen "[.*/]" at the beginning of normal TV shows, so yah. I don't know what the first "()" is for nor do I get how you have the group "(?:[\. _-]|ep)", so I just left these alone. It seems to work good for me. |