Posts: 104
Joined: Jul 2007
Reputation:
0
Okay….. All my shows are in this format…
Series name\Season #\(###) Episode name
Example
The Wire\Season 3\(307) Back Burners
Since all my files are backed up to DVD and I don’t want to rename a couple hundred files and back those up again, I’ll try this….
I could match the first parentheses and return the next three digits.
The first digit is the season number and the next two is the episode number.
So…
[\(]([0-9])([0-9]+)
Could it be that simple?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Arrrgghhhh!
Both spiff and I gave you regexps that'll work just fine. Why do you insist on trying to roll your own when you clearly do NOT understand it.
Take some time to READ what we've said, READ some tutorial sites, and try the regexps that we've given you out for yourself on regexp tester sites. Keep going until you understand it.
Let this be the end of it.
Posts: 104
Joined: Jul 2007
Reputation:
0
I've never been much on forums.
Not real sure about the etiquette.
Sorry.
Posts: 104
Joined: Jul 2007
Reputation:
0
Sorry to be such a bother guys.
Seeing all the other posts (almost 100 now) I thought this was a place for this kind of assistance. I don’t know how my questions were different from other people’s questions.
I did see that the answers were different though.
I appreciate that you took the time to explain how the thing works.
Thanks.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
mind the <advancedsettings>
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, as is clearly stated on the wiki (at times i wonder why we bother with the wiki - nobody reads it anyway it seems)
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
2007-08-10, 17:21
(This post was last modified: 2007-08-10, 17:34 by spiff.)
xml is case sensitive.
<advancedsettings>...</advancedsettings>
furthermore, <tvshowmatching> is NOT a childtag of <videostacking>
and your expression wont match those names obviously as it doesnt describe that pattern.
'we start with a ., a _, a ' ', a -. then a S or a s, 0 or more numbers we want, then optionally either a ., a - or a x, then a E or e then 0 or more numbers we want before we can have any number of chars that aint a slash'.
does that fit your filenames?
Posts: 7
Joined: Jul 2006
Reputation:
0
Jumping into this thread here...
My TV shows are stored on a NAS as
/TV/Series Name/Season #/## - episode.*
I thought from reading the wiki that I could just set the contents of the /TV folder to tv shows, and the scraper would recursively find each series name from there. It's not working that way. I instead have to set the content for each series folder and then do the scrape for each series folder individually.
I'm using the regexp supplied in the wiki for my naming scheme. Is what I'm expecting not the way this is supposed to work?
Cheers
Fred
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, set the content of the tvshows folder making sure 'this folder contains a single tv show' is not ticked. that's how it is supposed to work and afaik thats how it works
Posts: 8
Joined: Apr 2007
Reputation:
0
Hi everyone,
I'm almos sure my XBMC's behavior is kind of strange... My tvshow path is:
TV\tvshow name\Season #\S##_E##. avi (ex.: TV\Life On Mars\Season 1|S01_E03.avi). Simple, ahn?! But doesnt work!
I made no changes to original tvshowmatching section, 'cause I believed that one of that expressions fits my situation, but dont work.
On the library, just the TV show name appear, with no season or even episodes inside it...
Can anyone help me with this? Thank you all!