Regular Expressions

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
majestix Offline
Junior Member
Posts: 3
Joined: Mar 2007
Reputation: 0
Post: #41
Does anyone know of anyway to scan for Episodes inside of RAR files?
I've tried a number of different things and nothing has worked.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #42
yah, i'm pondering adding 'tvshow' as content type as well but i bet it wouldnt help a bit ;D

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #43
enable transparent archives.

required for any rarred content scanning.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
El Piranna Offline
Senior Member
Posts: 285
Joined: Nov 2006
Reputation: 0
Location: 01 - The city of the machines
Post: #44
I have found this page (http://www.xboxmediacenter.com/wiki/inde...e=TV_Shows) and it seems that it fails with me by the regexp. I have, for example, "Las chicas Girlmore\T1\01 - Capitulo piloto". It means i must to change "Season " by "T" to make it work? What file is it? How it would be possible to add several regexp? Season is english only, so here at spain we use more the "TvShow [season]x[chapter] - chapter name" for individual chapters and "TvShow/T[season]/[chapter] - chapter" for full TvShows...
find quote
TornSack Offline
Junior Member
Posts: 10
Joined: Oct 2006
Reputation: 0
Post: #45
If seen several comments about scanning recursively when "set content" = TV Shows, however, I don't have this option when I set content = TV Shows.

When I set content = Movies I do have the option to scan recursively.

What am I doing wrong? I'm running XBMC rev8582.
find quote
NProszkow Offline
Junior Member
Posts: 3
Joined: Apr 2007
Reputation: 0
Post: #46
OK.. I must be an idiot..

I am downloading my TV shows via RSS torrents.

I have them all separated by folders on my network share.

ex:
computer/D/TV/24

I have made an advancedsettings.xml file and have placed it in /C/UserData/ with the following info:

<advancedsettings>
<tvshowmatching>
<regexp>.*[Ss]([0-9]*).*[Ee]([0-9]*).*</regexp> % *.s01.*e01.*
<regexp>\[[Ss]([0-9]*)\]_\[[Ee]([0-9]*)[^\\/]*</regexp>
<regexp>[\._ \-]([0-9]*)x([0-9]*)[^\\/]*</regexp>
<regexp>[\._ \-][Ss]([0-9]*)[\.\-]?[Ee]([0-9]*)[^\\/]*</regexp>
<regexp>[\._ \-]([0-9]*)([0-9][0-9])[\._ \-][^\\/]*</regexp>
<regexp>[\\/][Ss]([0-9]+)[Ee]([0-9])+</regexp>
<regexp>[\._ \-][Ss]([0-9]+)[\.\-][Ee]([0-9]+)[^\\/]*</regexp>
<twopart>
<regexp>\[[Ss]([0-9]*)\]_\[[Ee][0-9][0-9]\-([0-9]*)\][^\\/]*</regexp>
<regexp>[\._ \-][Ss]([0-9]*)[^0-9]*[Ee]([0-9][0-9])[^\\/]*</regexp>
<regexp>[\._ \-][Ss]([0-9]*)[^0-9]*[Ee][0-9][0-9]\-([0-9]*)[^\\/]*</regexp>
<regexp>[\._ \-][0-9]*x[0-9]*[\._ \-]*([0-9]*)x([0-9]*)[^\\/]*</regexp>
</twopart>
</tvshowmatching>
</advancedsettings>

I have set that "TV" folder's SET CONTENT to TV Shows (TV.com)

all of the files I download are in the file format:

show.s01e01.res.source.ripgroup.avi

ex:
24.S06E19.HR.HDTV.XviD-CTU.avi

When I try TV Show information it just brings up the Enter TV Show Name window over and over. Scan for new content does something quickly (can't read it) then nothing.

What am I missing?! Thanks to whomever has the time to help.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #47
your advancedsettings.xml is broken - % is certainly no valid comment. that's one issue.

but why keep guessing? enable debug logging and see for yourself whats going on.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
mots Offline
Senior Member
Posts: 170
Joined: Apr 2007
Reputation: 0
Location: Austria
Post: #48
Hi, could you help me with my Prob?

That's what my shows' format looks like:
smb:\\10.0.0.2\Xbox\Series\Family Guy\Season 4\01- Peter Peter Caviar Eater.avi

(smb:\\10.0.0.2\Xbox\Series is mounted in XBMC and this is where i try to build a database from)

my advancedsettings.xml looks like this:
Code:
<tvshowmatching append="yes">
    <regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
    <regexp>Season([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
</tvshowmatching>

It seems to find a few shows, but it only shows the shows' names, not the seasons/episodes.
Help?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #49
You are missing <advancedsettings>

Please, please indicate how we can make this more obvious in the online manual!

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
mots Offline
Senior Member
Posts: 170
Joined: Apr 2007
Reputation: 0
Location: Austria
Post: #50
jmarshall Wrote:You are missing <advancedsettings>

Please, please indicate how we can make this more obvious in the online manual!

Thanks, worked fine now.
BUT: It doesn't find two (imo quite important) shows:
M.A.S.H and Hogan's Heroes (thats what their dirs are called)
any ideas?
find quote
Post Reply