![]() |
|
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) |
- snyft - 2010-12-07 10:56 http://pastebin.com/rVWbVAs8 Hope that this is enough for you xe. - moeru - 2010-12-15 03:02 I'm having trouble getting my anime files working with the custom regexp I have in my advancedsettings.xml. It did work mostly prior to adding xe's custom regexp so I'm not sure if this is the issue or the regexp is not what it is looking for. I'm using the AniDB scraper or alternatively, the TVDB Scraper set to Absolute Numbering mode Files are named as such: <showname> - <epnumber>.ext Debug Log: http://pastebin.com/tXaH1apP - xexe - 2010-12-15 09:36 Apologies. IRL i am working 14 hour * 7 days a week this now. Will be back soon - rimster - 2010-12-15 09:47 xexe Wrote:Apologies. IRL i am working 14 hour * 7 days a week this now. Will be back soon no worries mate, it's not going anywhere
append and prepend - pcvii - 2010-12-20 18:17 I don't think append and prepend are working correctly. As I was playing with your advancedsettings xml in xbmc 10. It kept not detecting anything that it should. So I removed the append and prepend and put xbmc's default matching in the middle of those and then it started working. I'm not sure why. - geearf - 2010-12-27 09:48 Hey, I'm using your latest regex and have some stuff not working. I am running Dharma. debug log at : http://pastebin.com/avU6nraZ It does have "DEBUG: could not enumerate file" for certain anime "movies", but for Devil May Cry episodes it does not, yet they do not show in my tv shows in xbmc (the show does but not the episodes). Any idea what I should look at? Thanks! - Tak0r - 2010-12-29 22:18 I Made a regex for the anidb default naming scheme of the webclient. <regexp>(?i)() - ([\d]{1,3}) -</regexp> This One Matches Files Named like Major 6th Season - 14 - Responsibility of the Ace - [umai](6a06ba34).mkv Or More Generic Series Name - Ep Nr - Ep Title - [Group Short](CRC32) But anyhow it doesen't work the debug just says can't enumerate file http://pastebin.com/uDuv4fCR Edit: Problem fixed ... it had to do with those cleaning regex which disturbed xbmc processing afterwards ![]() Removed the whole tvshows prepend section and now it works like a charm =) - costi - 2011-01-03 00:09 Tak0r Wrote:Edit: Problem fixed ... it had to do with those cleaning regex which disturbed xbmc processing afterwards I confirm: commenting out the prepend section makes XBMC suddenly reconize anime files. Before removing that no episodes were found. So it seems something in the prepend section breaks the anidb regexp. I'm using v2.2 of the file here with no changes. - josz - 2011-01-03 11:51 ---EDIT--- Nevermind, got it fixed as it seems! Actually removing the prepend section as mentioned above me did the trick! ---EOF EDIT --- I'm quite a noob with XBMC and all, so forgive me for doing something dumb. I downloaded the advancedsettings.xml from the first post but it did not work for me as I'd expect it. The shows popup in library mode but (at least most of the) episodes do not. My filenaming convention is as followed; Single episode: Quote:\\nas\TVSeries (E)\Band of Brothers\Season 01\01.mkvOR Quote:\\nas\TVSeries (E)\Band of Brothers\Season 01\01 - episodename.mkv Double episodes Quote:\\nas\TVSeries (E)\Band of Brothers\Season 01\01 & 02.mkvOR Quote:\\nas\TVSeries (E)\Band of Brothers\Season 01\01 & 02 - episodename.mkv There can be spaces around the dash ("-") and around the ampersand ("&"). Any help with this would be awesome! - xexe - 2011-01-18 17:34 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 Big thanks to Savi on IRC for pointing out some method mismatches and other bugs. This is a relatively big change and it is all but untested due to my continued work pressures. Please test and feedback. |