User:C4: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>C4
(added my own regex)
(delink so it doesn't show up on wanted pages)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==My Pages==
==My Pages==


[[Library mode different views per level]]
Library mode different views per level


==My Advanced settings Regex==
==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.
'''This is my own personal REGEX posted as a courtesy only. It is not supported in any way by XBMC'''.
 
It assumes that you use the strict 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>
<code><pre>


<advancedsettings>   
<advancedsettings>   
   <tvshowmatching append="yes">
   <tvshowmatching append="yes">
 
<!-- #######################################################################################-->
    <!-- Season from folder. Then extract ep from avi ep naming format 101 -->
<!-- This REGEX is EXPERIMENTAL and relies on strict folder structures. Use at your own risk-->
     <regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ][0-9]([0-9][0-9])[\._ ]</regexp>
<!-- #######################################################################################-->
   
<!-- 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: Some Random Stuff 1 more random stuff.avi-->
<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 or Some.random.stuff.e01.dvdrip.xvid-xyz.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>  
      
      
    <!-- Season from folder. Then extract ep from first number in avi name -->
<!-- File name format: Some.random.stuff.part.1.hdtv.xvid-xyz.avi -->
    <regexp>Season[\._ ]?([0-9]+)[^0-9]+[\._ ]([0-9]+)[\._ ]</regexp>
<regexp>Season[\._ ]?([0-9]+)\/[^0-9]+([0-9]?[0-9])of[0-9]?[0-9]</regexp>      
      
      
    <!-- Season and ep from avi name. Format s01e01 -->
<!-- This section takes the season number and the ep number from the video file-->
    <regexp>s([0-9]+)e([0-9]+)</regexp>
<!-- ##########################################################################-->   
 
       
<!-- File name format: s01e01 -->
<regexp>s([0-9]+)e([0-9]+)</regexp>      
   </tvshowmatching>
   </tvshowmatching>
</advancedsettings>
</advancedsettings>


</pre></code>
</pre></code>

Latest revision as of 20:27, 25 September 2011

My Pages

Library mode different views per level

My Advanced settings Regex

This is my own personal REGEX posted as a courtesy only. It is not supported in any way by XBMC.

It assumes that you use the strict 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 REGEX is EXPERIMENTAL and relies on strict folder structures. Use at your own risk-->
		<!-- #######################################################################################-->
  	  
		<!-- 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: Some Random Stuff 1 more random stuff.avi-->
		<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 or Some.random.stuff.e01.dvdrip.xvid-xyz.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> 
    
		<!--  File name format: Some.random.stuff.part.1.hdtv.xvid-xyz.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>