Advertisement
Guest User

Untitled

a guest
Nov 14th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.69 KB | None | 0 0
  1. <!--
  2. This REGEX is UNOFFICIAL/EXPERIMENTAL and may in places require a strict folder structure.
  3. See forum link for README, changelog and support.
  4.  
  5. Version:        V2.4
  6. Author:         Xe
  7. Link:           http://forum.xbmc.org/showthread.php?t=51614
  8.  
  9. ################################################################################-->
  10.  
  11. <advancedsettings>
  12.  
  13.         <!-- Customise/remove/comment this section to your personal preferences -->
  14.  
  15.         <useddsfanart>true</useddsfanart> <!-- Enable GPU accelerated fanart-->
  16.         <navigatevirtualkeyboard>true</navigatevirtualkeyboard> <!-- Activates virtual keyboard navigation, default is false -->
  17.         <cputempcommand>cputemp</cputempcommand> <!-- OpenELEC Specific -->
  18.   <gputempcommand>gputemp</gputempcommand> <!-- OpenELEC Specific -->
  19.  
  20.   <samba>
  21.     <clienttimeout>30</clienttimeout> <!-- Set a sensible SAMBA timeout -->
  22.   </samba>
  23.  
  24.         <lcd> <!-- This is for my Antec LCD. Edit for your own -->
  25.                 <rows>2</rows>
  26.                 <columns>16</columns>
  27.                 <scrolldelay>4</scrolldelay>
  28.                 <dimonscreensave>true</dimonscreensave> <!-- Turns of the LCD/VFD backlight while screensaving. Defaults to false. -->
  29.         </lcd>
  30.  
  31.         <videolibrary>
  32.                 <hideallitems>true</hideallitems>  <!-- Remove the "*All" items from the video library -->
  33.                 <hideemptyseries>false</hideemptyseries>  <!-- Dont hide empty series in the video library -->
  34.                 <hiderecentlyaddeditems>false</hiderecentlyaddeditems> <!-- Dont remove the "Recently added ..." items from the video library. -->
  35.                 <recentlyaddeditems>300</recentlyaddeditems> <!-- Increase number of recently added items from default 25 -->
  36.                 <backgroundupdate>false</backgroundupdate> <!-- Set to hide the video scanner dialog from the gui -->
  37.                 <flattentvshows>0</flattentvshows> <!-- Never flatten TV show seasons, 0=never 1=if one season (default) 2=all -->
  38.         </videolibrary>
  39.  
  40.   <musiclibrary>
  41.     <backgroundupdate>false</backgroundupdate> <!-- set to hide the music scanner dialog from the gui -->
  42.    </musiclibrary>
  43.  
  44.         <myvideos>
  45.                 <extractthumb>false</extractthumb> <!-- Dont create random thumbnails. Either scrape them from the internet or dont have them -->
  46.         </myvideos>
  47.  
  48.         <sorttokens>
  49.     <token separators="">&quot;</token> <!-- Ignore " when sorting. Senisble due to IMDB naming policy -->
  50.         </sorttokens>
  51.  
  52.         <video> <!-- Stop XBMC indexing some unwanted common items -->
  53.                 <excludefromscan action="prepend">
  54.                         <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  55.                         <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  56.                         <regexp>(?i)uTorrentPartFile</regexp>  <!-- Ignore common scrap files -->
  57.                 </excludefromscan>
  58.                 <excludetvshowsfromscan action="prepend">
  59.                         <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  60.                         <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  61.                         <regexp>(?i)uTorrentPartFile</regexp>  <!-- Ignore common scrap files -->
  62.                 </excludetvshowsfromscan>
  63.         </video>
  64.  
  65.         <tvshowmatching action="prepend"> <!-- Catch some troublesome formats before XBMC -->
  66.        
  67.                 <!-- Anime Code Below -->
  68.                
  69.          <tvshowmatching action="prepend">
  70.     <regexp> - ()(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$</regexp>
  71.     <regexp defaultseason="0"> - ()s(\d+)((?:-\d+)*)(?:v\d+)? - [^\\/]*$</regexp>
  72.   </tvshowmatching>
  73.  
  74.                 <!-- DIRFIX Handling -->
  75.     <regexp>(?i)[\. _-]s?(\d{1,2})[\. _-]?[e|x](\d{1,2})(.*)dirfix</regexp> <!-- DIRFIX Handling show.name.S01E10E11.ep.name.here.DiRFiX.PROPER.HDTV.XviD-XEE-->
  76.  
  77.                 <!-- Edge case scene handling -->
  78.                 <regexp>(?i)[/\\]tpz-(?:24|30rock|4400)(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tpz-SPECIFICSHOW12324.avi This attempts to cater for some odditys -->
  79.                 <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi        -->
  80.                 <regexp>(?i)[/\\]tpz-johnadams(\d).avi</regexp> <!-- tpz-johnadams2.avi. Another TPZ divergence from their own naming scheme. XBMC will assume Season 1 if only one match-->
  81.                 <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi        -->
  82.                 <regexp>(?i)[.a-z](\d{1,2})(\d\d)-notv([^/\\]*)</regexp> <!-- frng101-notv.avi  -->
  83.                 <regexp>(?i)[/\\]\w+-\w+(\d)(\d\d)\.</regexp> <!-- mtn-tts104.avi  -->
  84.  
  85.                 <!-- Anime specific matching. YMMV with this one as anime naming is oddball. REQUIRES CRC in name -->
  86.                 <regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-f]{8}[])}]</regexp> <!--  [Doki]_Asobi_ni_Iku_yo!_-_03v2_(1280x720_h264_AAC)_[B5B9C6F3].mkv -->
  87.  
  88.         </tvshowmatching>
  89.  
  90.         <tvshowmatching action="append"> <!-- XBMC has tried, now its our turn again -->
  91.  
  92.                 <!-- Use the season number from the folder name and ep number from video file -->
  93.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\]\D+[\. _-](\d{1,2})[\. _-]\D+</regexp> <!-- /Season 1/the_episode_8.avi HUGE potential for false positives. Comment out if you are unsure  -->
  94.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\D\1(\d\d)(?!.*])</regexp> <!-- /Action/Season 1/Action101 Pilot.avi  Last (?!.*]) helps with anime false positives. not a perfect solution -->
  95.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\](\d{1,2})\W([^/\\]*)</regexp> <!-- /UFO/Season 1/02.Computer.Affair.Divx e.g. lame sequntial numbering witout season  -->
  96.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\Wep?\.?(\d{1,2})\W([^/\\]*)</regexp> <!-- /Ulysses 31/Season 1/Ulysses 31 E12 Trapped.avi e.g. lame sequntial numbering witout season  -->
  97.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\W?episode\W?(\d{1,2})\W([^/\\]*)</regexp> <!-- /The Chronicles/Season 1/Chronicles.Of.01.The.episode.6.DVDRip.DivX-movies.avi  -->
  98.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\Wpart\W?(\d{1,2})\W([^/\\]*)</regexp> <!-- /NASA Missions/Season 1/nasa.missions.part.3.hdtv.xvid-fqm.avi -->
  99.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\Wchapter\W?(\d{1,2})\W([^/\\]*)</regexp> <!-- /The Young/Season 1/The.Young.Chapter.01.My.First.Adventure.DVDRip.XviD-SAiNTS.avi  -->
  100.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\1\W?x\W?(\d{1,2})([^/\\]*)</regexp> <!-- /season 5/Lost - 5 x 05.mkv  -->
  101.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?s0?\1[ex.]{0,2}(\d{1,2})([^/\\]*)</regexp> <!-- /Season 1/Grange Hill S01xE01.avi  -->
  102.  
  103.         </tvshowmatching>
  104.  
  105.         <moviestacking> <!-- Tokens - (Title)(Volume)(Ignore)(Extension). If you have a "one pile file" system of movie organization then DONT run these -->
  106.  
  107.                 <regexp>(?i)(.*-done[\. _-])(\d)(\.)(\w{3})$</regexp> <!-- movie name.blah.DVDRip.XviD-DoNE.1.avi -->
  108.                 <regexp>(?i)(.*?[\. _-]cd)(\d)([\. _-].*?\.)(\w{3})$</regexp> <!-- movie name.blah.iNTERNAL.DVDRip.XViD.CD1-TWiST.avi -->
  109.                 <regexp>(?i)(.*?[\. _-]cd)(\d)(\.)(\w{3})$</regexp> <!-- group-40yearoldv-cd1.avi -->
  110.                 <regexp>(?i)(.*?cd)(\d)(\.)(\w{3})$</regexp> <!-- group-30doncd1.avi -->
  111.                 <regexp>(?i)(.*[\. _-])([abc])(\.)(\w{3})$</regexp> <!-- group-310ty-a.avi -->
  112.                 <regexp>(?i)(.*?)([abc123])(\.)(\w{3})$</regexp> <!-- group-outa.avi -->
  113.                 <regexp>(?i)(.*?)([abc123])([\. _-](?:xvid|divx|int)\.)(\w{3})$</regexp> <!-- group-moviea-xvid.avi -->
  114.                 <regexp>(?i)(.*)(\d{1,2})(\.)(\w{3})$</regexp> <!-- group-movie2.avi -->
  115.                 <regexp>(?i)(.*)(\d{1,2})([\. _-]\w{3,10}\.)(\w{3})$</regexp> <!-- movie1-grp.avi -->
  116.                 <regexp>(?i)(.*?[\. _-])(\d{1,2})(\.)(\w{3})$</regexp> <!-- movie-name-01.avi.avi -->
  117.                 <regexp>(?i)(.*?[\. _-]part)(\d{1,2})([\. _-].*?\.)(\w{3})$</regexp> <!-- Movie.name.DvDrip.Part1-group.avi -->
  118.                 <regexp>(?i)(.*[\. _-])([123abc])([\. _-].*\.)(\w{3})$</regexp> <!-- the.movie.dual.audio-a-group.avi -->
  119.                 <regexp>(?i)(.*)(\w)(Of[123].*\.)(\w{3})$</regexp> <!-- the movie - blah1Of2-.avi -->
  120.                 <regexp>(?i)(.*)([123abc])(-int\.)(\w{3})$</regexp> <!-- group-movie4a-int.avi -->            
  121.                
  122.         </moviestacking>
  123.  
  124. </advancedsettings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement