Kodi Community Forum

Full Version: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could someone please help with a regex that would work for this please
foo.Part.1...........
Renamed to:

Foo S01E01

works here.
if i wanted to rename it, i wouldnt be wanting a regex
Try:
Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>[\._ \-]p(?:ar)?t[._ -]()([0-9]+)([\._ \-][^\\/]*)</regexp>
  </tvshowmatching>
</advancedsettings>
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).
gave those a shot, but still wont give it up. thanks for trying though Wink