Kodi Community Forum
regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? (/showthread.php?tid=132686)



regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - MidKnight - 2012-05-29

Could someone please help with a regex that would work for this please
foo.Part.1...........


RE: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - live4ever - 2012-05-29

Renamed to:

Foo S01E01

works here.


RE: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - MidKnight - 2012-05-30

if i wanted to rename it, i wouldnt be wanting a regex


RE: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - scudlee - 2012-05-30

Try:
Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>[\._ \-]p(?:ar)?t[._ -]()([0-9]+)([\._ \-][^\\/]*)</regexp>
  </tvshowmatching>
</advancedsettings>



RE: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - Ned Scott - 2012-05-30

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).


RE: regex Hatfields.and.McCoys.Part.1.2012.720p.HDTV.x264-2HD ? - MidKnight - 2012-06-04

gave those a shot, but still wont give it up. thanks for trying though Wink