SHARE
TWEET

Untitled

a guest Jan 18th, 2011 4,247 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.3
  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.                 <!-- DIRFIX Handling -->
  68.     <regexp>(?i)[\. _-]s(\d{1,2})[\. _-]?e(\d{1,2})(.*)dirfix</regexp> <!-- DIRFIX Handling show.name.S01E10E11.ep.name.here.DiRFiX.PROPER.HDTV.XviD-XEE-->
  69.  
  70.                 <!-- Edge case scene handling -->
  71.                 <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 -->
  72.                 <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi        -->
  73.                 <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-->
  74.                 <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi        -->
  75.                 <regexp>(?i)[.a-z](\d{1,2})(\d\d)-notv([^/\\]*)</regexp> <!-- frng101-notv.avi  -->
  76.                 <regexp>(?i)[/\\]\w+-\w+(\d)(\d\d)\.</regexp> <!-- mtn-tts104.avi  -->
  77.  
  78.                 <!-- Anime specific matching. YMMV with this one as anime naming is oddball. REQUIRES CRC in name -->
  79.                 <regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-f]{8}[])}]</regexp> <!--  [Doki]_Asobi_ni_Iku_yo!_-_03v2_(1280x720_h264_AAC)_[B5B9C6F3].mkv -->
  80.  
  81.         </tvshowmatching>
  82.  
  83.         <tvshowmatching action="append"> <!-- XBMC has tried, now its our turn again -->
  84.  
  85.                 <!-- Use the season number from the folder name and ep number from video file -->
  86.                 <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  -->
  87.                 <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 -->
  88.                 <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  -->
  89.                 <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  -->
  90.                 <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  -->
  91.                 <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 -->
  92.                 <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  -->
  93.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\1\W?x\W?(\d{1,2})([^/\\]*)</regexp> <!-- /season 5/Lost - 5 x 05.mkv  -->
  94.                 <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?s0?\1[ex.]{0,2}(\d{1,2})([^/\\]*)</regexp> <!-- /Season 1/Grange Hill S01xE01.avi  -->
  95.  
  96.         </tvshowmatching>
  97.  
  98.         <moviestacking> <!-- Tokens - (Title)(Volume)(Ignore)(Extension). If you have a "one pile file" system of movie organization then DONT run these -->
  99.  
  100.                 <regexp>(?i)(.*-done[\. _-])(\d)(\.)(\w{3})$</regexp> <!-- movie name.blah.DVDRip.XviD-DoNE.1.avi -->
  101.                 <regexp>(?i)(.*?[\. _-]cd)(\d)([\. _-].*?\.)(\w{3})$</regexp> <!-- movie name.blah.iNTERNAL.DVDRip.XViD.CD1-TWiST.avi -->
  102.                 <regexp>(?i)(.*?[\. _-]cd)(\d)(\.)(\w{3})$</regexp> <!-- group-40yearoldv-cd1.avi -->
  103.                 <regexp>(?i)(.*?cd)(\d)(\.)(\w{3})$</regexp> <!-- group-30doncd1.avi -->
  104.                 <regexp>(?i)(.*[\. _-])([abc])(\.)(\w{3})$</regexp> <!-- group-310ty-a.avi -->
  105.                 <regexp>(?i)(.*?)([abc123])(\.)(\w{3})$</regexp> <!-- group-outa.avi -->
  106.                 <regexp>(?i)(.*?)([abc123])([\. _-](?:xvid|divx|int)\.)(\w{3})$</regexp> <!-- group-moviea-xvid.avi -->
  107.                 <regexp>(?i)(.*)(\d{1,2})(\.)(\w{3})$</regexp> <!-- group-movie2.avi -->
  108.                 <regexp>(?i)(.*)(\d{1,2})([\. _-]\w{3,10}\.)(\w{3})$</regexp> <!-- movie1-grp.avi -->
  109.                 <regexp>(?i)(.*?[\. _-])(\d{1,2})(\.)(\w{3})$</regexp> <!-- movie-name-01.avi.avi -->
  110.                 <regexp>(?i)(.*?[\. _-]part)(\d{1,2})([\. _-].*?\.)(\w{3})$</regexp> <!-- Movie.name.DvDrip.Part1-group.avi -->
  111.  
  112.         </moviestacking>
  113.  
  114. </advancedsettings>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top