• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 17
Regular Expressions
Paradise Regained.

Handy tip: Put the advancedsettings.xml in

c:\documents and settings\<login>\Application Data\XBMC\UserData

Thank you, thank you, thank you
Reply
Can anyone help me modify the expression to match this:

example...
The Sopranos/S01/The Sopranos S01 E01.avi

Been trying to do it myself, but can't seem to get it to work...

Thanks in advance.
Reply
Narfotic Wrote:Can anyone help me modify the expression to match this:

example...
The Sopranos/S01/The Sopranos S01 E01.avi

Been trying to do it myself, but can't seem to get it to work...

Thanks in advance.

Try this one

S([0-9]+)[^\\/]*
Reply
I would like some help with my config to match this:

TV/Name.S05E01.DSR.XviD-GROUP/

or

TV/Season 05/Name.S05E01.DSR.XviD-GROUP/
Reply
Welcome to the forums Valpen.

Said naming is supported by default if it's part of the filename, though you appear to have individual files in separate folders? What are the filenames called?
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
Reply
jmarshall Wrote:Welcome to the forums Valpen.

Said naming is supported by default if it's part of the filename, though you appear to have individual files in separate folders? What are the filenames called?

Thx. Smile

It's RAR archives.

TV/Name.S05E01.DSR.XviD-GROUP/*.rar
Reply
If you have transparent rar's enabled it may work out of the box, but it would depend on what they're named.
Reply
It dont. I tried that already. Tha filenames can be pretty mutch anything.
Reply
You might have to alter the regexp so that the / and \\ are ignored, so that it takes the season and episode numbers from the folder names.

Cheers,
Jonathan
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
Reply
How do I do that? I'm a complete newbie at this. Smile
Reply
Hi, I have now browsed this forum, wiki and all over internet for answer the same issue than Valpen has.

My directory structure is:
TVSeries
-SeriesX.S12E10.DSR.XviD-0TV
--SeriesX.s12e10.dsr.xvid-0tv.avi
-SeriesY.S02E03.HDTV.XviD-XOR
--SeriesY.s02e03.hdtv.xvid-xor.avi

All my series are downloaded to this TVSeries -folder without any further moving to different folder and i delete those when i have watched them. I dont keep my xbox on all the time, so every time i watch something i put it on and my library is updated.

Tried to figure out how to form proper scraper, but i cant figure it out and if someone has solution it would be great.. Tho i think that i need to start debugging my xbmc and start to read what logs says about that.

This is great forum and here is tons of useful stuff.. good community going on here thanks for that.
Reply
Unfortunately I must join the crowd not getting these things to work at all. I've spent a couple of days with the tutorials, read the entire thread, tried various tricks, but nothing seems to work.

Examples of my filing system:

\Sopranos s1\The Sopranos - 105 - College.avi
\Rome\Rome - 101- The Stolen Eagle.avi

So, \series (with or without s+season#)\series - s#e## - episode name.avi

From what I've gathered, this SHOULD do the trick:

<tvshowmatching>
<regexp>([0-9]+)([0-9][0-9])[^\\/]*</regexp>
</tvshowmatching>

(and yes, <advancedsettings> is included).

However, nothing turns up in any scans. Though I have a feeling there must be something I've overlooked and haven't noticed anywhere. Just for a test I tried renaming some of my stuff according to formulas supported by default, and scans still wouldn't find anything.

Any ideas appreciated.
Reply
try using <tvshowmatching action="append">.

So it will look like:

Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>([0-9]+)([0-9][0-9])[^\\/]*</regexp>
  </tvshowmatching>
</advancedsettings>
Reply
my directory structure and file naming is:
Code:
\TV Shows\[TV_Show_name]\Season [Season_Number]\[TV_Show_name] - [Ss][Season_Number][Ee][Episode_Number] [Other_stuff].ext
example:
1. \TV Shows\Battlestar Galactica 2003\Season 4\Battlestar Galactica - s04e09 [720p.HDTV.x264] [2HD].mkv
2. \TV Shows\STAR WARS The Clone Wars\Season 1\STAR WARS the Clone Wars - S01E10 - The Lair of General Grievous.mkv

I tried the following expression but it doesn't work.

Code:
<advancedsettings>
   <tvshowmatching>
      <regexp>Season[\._ ]([0-9]+) - [Ss]([0-9]+)[Ee]([0-9]+)[^\\/]*</regexp>
   </tvshowmatching>
</advancedsettings>

I don't know what's wrong. Please help me. I'm willing to make small adjustments to the way I name my files (spacing, case, order) but I need all the components because if I forgot where I put the file at some point it is nice to be able to search tor it.

Thanks.
Reply
both of those examples works just fine with the standard expressions. no reason to customize anything
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 17

Logout Mark Read Team Forum Stats Members Help
Regular Expressions1