User:C4
Jump to navigation
Jump to search
My Pages
Library mode different views per level
My Advanced settings Regex
This is posted here as a courtesy only. It is not supported in any way by XBMC, rather it is my experimental regex that works for me. It assumes that you use the folder structure Show/Season number/show.avi If you don't use this format don't even try it. Get me on IRC to talk.
<advancedsettings>
<tvshowmatching append="yes">
<!-- This section takes the season number from the folder name and ep number from video file-->
<!-- #######################################################################################-->
<!-- File name format: 101 -->
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ][0-9]([0-9][0-9])[\._ ]</regexp>
<!-- File name format: -->
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ]([0-9]+)[\._ ]</regexp>
<!-- File name format: tzpshow123 e.g. Topaz DVD -->
<regexp>Season[\._ ]?([0-9]+)\/tpz-[^0-9]+[0-9]([0-9][0-9])[\._ ]</regexp>
<!-- File name format: aaaa-bbbb-ep1.avi -->
<regexp>Season[\._ ]?([0-9]+)\/[^0-9]+ep([0-9]?[0-9])</regexp>
<!-- File name format: Some.random.stuff.1of3.dvdrip.xvid.ac3.avi -->
<regexp>Season[\._ ]?([0-9]+)\/[^0-9]+([0-9]?[0-9])of[0-9]?[0-9]</regexp>
<!-- This section takes the season number and the ep number from the video file-->
<!-- ##########################################################################-->
<!-- File name format: s01e01 -->
<regexp>s([0-9]+)e([0-9]+)</regexp>
</tvshowmatching>
</advancedsettings>