regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MidKnight Offline
Senior Member
Posts: 220
Joined: Jun 2004
Reputation: 0
Post: #1
Could someone please help with a regex that would work for this please
foo.Part.1...........
(This post was last modified: 2012-06-04 17:18 by joebrady.)
find quote
live4ever Offline
Fan
Posts: 556
Joined: Sep 2006
Reputation: 3
Post: #2
Renamed to:

Foo S01E01

works here.
(This post was last modified: 2012-06-04 17:19 by joebrady.)
find quote
MidKnight Offline
Senior Member
Posts: 220
Joined: Jun 2004
Reputation: 0
Post: #3
if i wanted to rename it, i wouldnt be wanting a regex
find quote
scudlee Offline
Team-XBMC Member
Posts: 584
Joined: Jul 2011
Reputation: 45
Post: #4
Try:
Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>[\._ \-]p(?:ar)?t[._ -]()([0-9]+)([\._ \-][^\\/]*)</regexp>
  </tvshowmatching>
</advancedsettings>
(This post was last modified: 2012-05-31 17:14 by scudlee.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,001
Joined: Jan 2011
Reputation: 132
Location: Arizona, USA
Post: #5
In addition to the above regex, you will also probably need absolute ordering turned on. Set content on the specific show folder, change/set content, click "Settings" and enable "Absolute ordering"

That way it will detect shows without season numbers (and thus have only one season).

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
MidKnight Offline
Senior Member
Posts: 220
Joined: Jun 2004
Reputation: 0
Post: #6
gave those a shot, but still wont give it up. thanks for trying though Wink
find quote