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)
Extra REGEX for TV Show Episode matching - TechLife - 2014-01-11 06:34
(2013-08-11 06:07)JaKXz Wrote: Please let me know if I can clarify this question better, thanks in advance!
I just saw your post. Did you get this sorted? That's exactly how I have my stuff. I can post my regexes if you still need help...
RE: Extra REGEX for TV Show Episode matching - holmen - 2014-01-13 09:12
I'll post this here also and see you guys know.
I need som help with <excludefromscan> and <excludetvshowsfromscan>.
Anyone got a working .xml going that excludes subpack folders that are named like tv show episodes?
I have tried with:
RE: Extra REGEX for TV Show Episode matching - reckon2 - 2014-01-13 09:37
Decent guide. Thanks.
RE: Extra REGEX for TV Show Episode matching - djhifi - 2014-01-13 14:28
Can anyone help me about one problem?
I wanted to include a regex to TVDB avoid "season" and "year" expressions which i use on individual series folders across my HDD's.
Im lost because i dont know what to do to make tvdb plugin avoid using those last two expressions so im not being able to scrape anything.
PS: Changing filestructures is impossible i have nearly 70 series with 120 seasons and more databases (popcorn hour)
RE: Extra REGEX for TV Show Episode matching - uNiversal - 2014-01-13 23:18
(2014-01-13 14:28)djhifi Wrote: Can anyone help me about one problem?
I have already gave you the solution in quite a lot of detail...., in fact both nickr and me have tried to help you across threads so you come to yet another thread and you plainly just refuse to take a hint. If you just want to waste peoples time by saving your own, you are in wrong place laddie.
Your particular situation without changing your structure wont work with regex because you storing seasons on their onenesses outside any required scraper structure with other content thats not tv shows (yes I read your other threads).... A regex does indeed clean unwanted portions but the remainder portions also must be correctly setup and no regex can do that for you, you will end up with 4 times more work, because you will have to MANUALLY set the scraper to mark This folder only has one tv show in each season.
I gave you the fastest way to do your job all you have to do is follow it, it should take you a whole hour to do this.
You either create 70 Show folders and wack each respective seasonSSS as you have them now inside each and then those 70 folder inside one named tvshows with content set for that content type.
Or you go at it your crazy way and have to set content on 120 individual seasons (thats just what you admit for tv shows) What about movies.... what about when you start getting content scraped you dont have -- yes because you are storing mixed content in each source... Without wanting to separate it in any way.
You dont understand how XBMC can add multiple sources from multiple paths for one content type. As long as you follow a couple of rules... Kinda ironic, dont you think?
In any case Im out... you had your chance...
RE: Extra REGEX for TV Show Episode matching - genuinefafa - 2014-01-21 10:11
Hi there, I'm unable to find a suitable answer anywhere. I know I'm a newbie, but what I want to do should be plain simple.
I have tv shows directories like this
(Show Title) is the name of the show, without the parentheses. Usually is standard titled, like: "Almost.Human.S01", f.e.
What I found is that the directory name including the season number in that way "S01" is giving the matcher a hard time excluding the entire folder. Any idea how to fix it? Maybe strip the "SNN" part?
RE: Extra REGEX for TV Show Episode matching - holmen - 2014-01-21 10:15
I don't understand. You want to exclude the folder?
RE: Extra REGEX for TV Show Episode matching - _Shorty - 2014-01-21 12:26
Wouldn't it be easier simply to rename your folders so they don't contain the season info? It's redundant anyway.
RE: Extra REGEX for TV Show Episode matching - genuinefafa - 2014-01-21 14:45
What I need is help the marcher understand that is redundant information, but it should scan it as it were without the season information in the folder.
Renaming the folder is against my storage criteria. If the tv show has many many episodes, the directory is too overcrowded and I don't like it that way.
RE: Extra REGEX for TV Show Episode matching - hellohello - 2014-02-22 16:02
hi, i have an unusual request but i think it might be useful for those of us using XBMC.MyLibrary tool to scrape shows from external sources like Hulu, Netflix & Amazon. While Hulu and Netflix play "nice" with presenting their shows with a standard structure, Amazon however doesn't. Here's an example:
so basically i am wondering, what regex expression would give me this result:
(essentially ignoring anything between the SHOW NAME and the standard SxxExx format)
is this possible?
RE: Extra REGEX for TV Show Episode matching - hellohello - 2014-02-22 18:53
Ok, using an online regex tester, i can SELECT the problematic Season(s):
now the question is, how do i select the OPPOSITE?
RE: Extra REGEX for TV Show Episode matching - hellohello - 2014-02-22 19:13
AHA! is this right? and if so, how do i incorporate it in advancesettings.xml?
RE: Extra REGEX for TV Show Episode matching - scudlee - 2014-02-22 21:53
@hellohello: Have a look at this thread
RE: Extra REGEX for TV Show Episode matching - hellohello - 2014-02-23 02:50
@scudlee: ah, awesome. deleted my previous response: once i looked up the function of clean string i was able to make the necessary changes to cover other variations. thanks again much.
RE: Extra REGEX for TV Show Episode matching - SerFabry - 2014-03-09 12:50
Hello you guys, i have come across this thread in my Epic quest for finding my perfect Regexp.
I have access to a fileserver, but only readonly access, so i cant rename the directories. The naming Pattern goes something like this:
I have come up with something like this:
but i have no idea where to go from now.
I am an absolute Regexp-Noob, and apologize in advance for any cringing that my post may have induced
Edit: The Naming of the episode is a whole other can of worms. but there are mostly season and episode numbers around, so i will cross that bridge, when i get the whole Language-thing worked out
Thank you very much in advance