User:C4: Difference between revisions
Jump to navigation
Jump to search
>C4 m (Page Tracker) |
>C4 (added my own regex) |
||
Line 2: | Line 2: | ||
[[Library mode different views per level]] | [[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. | |||
<code><pre> | |||
<advancedsettings> | |||
<tvshowmatching append="yes"> | |||
<!-- Season from folder. Then extract ep from avi ep naming format 101 --> | |||
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ][0-9]([0-9][0-9])[\._ ]</regexp> | |||
<!-- Season from folder. Then extract ep from first number in avi name --> | |||
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ]([0-9]+)[\._ ]</regexp> | |||
<!-- Season and ep from avi name. Format s01e01 --> | |||
<regexp>s([0-9]+)e([0-9]+)</regexp> | |||
</tvshowmatching> | |||
</advancedsettings> | |||
</pre></code> |
Revision as of 16:45, 24 September 2007
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">
<!-- Season from folder. Then extract ep from avi ep naming format 101 -->
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ][0-9]([0-9][0-9])[\._ ]</regexp>
<!-- Season from folder. Then extract ep from first number in avi name -->
<regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ]([0-9]+)[\._ ]</regexp>
<!-- Season and ep from avi name. Format s01e01 -->
<regexp>s([0-9]+)e([0-9]+)</regexp>
</tvshowmatching>
</advancedsettings>