Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2010
1,325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.77 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.2
  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.     <lcd> <!-- This is for my Antec LCD. Edit for your own -->
  18.         <rows>2</rows>
  19.         <columns>16</columns>
  20.         <scrolldelay>4</scrolldelay>
  21.         <dimonscreensave>true</dimonscreensave> <!-- Turns of the LCD/VFD backlight while screensaving. Defaults to false. -->
  22.     </lcd>
  23.  
  24.     <videolibrary>
  25.         <hideallitems>true</hideallitems>  <!-- Remove the "*All" items from the video library -->
  26.         <hideemptyseries>false</hideemptyseries>  <!-- Dont hide empty series in the video library -->
  27.         <hiderecentlyaddeditems>false</hiderecentlyaddeditems>  <!-- Dont remove the "Recently added ..." items from the video library. -->
  28.         <recentlyaddeditems>300</recentlyaddeditems> <!-- Increase number of recently added items from default 25 -->
  29.         <backgroundupdate>false</backgroundupdate> <!-- set to hide the video scanner dialog from the gui -->
  30.         <flattentvshows>0</flattentvshows> <!-- Flatten TV show seasons, 0=never 1=if one season (default) 2=all -->
  31.     </videolibrary>
  32.  
  33.   <musiclibrary>
  34.     <backgroundupdate>false</backgroundupdate> <!-- set to hide the music scanner dialog from the gui -->
  35.    </musiclibrary>
  36.  
  37.     <myvideos>
  38.         <extractthumb>false</extractthumb> <!-- Dont create random thumbnails. Either scrape them from the internet or dont have them -->
  39.     </myvideos>
  40.  
  41.     <sorttokens>
  42.     <token separators="">&quot;</token> <!-- Ignore " when sorting. Senisble due to IMDB naming policy -->
  43.     </sorttokens>
  44.  
  45.     <video> <!-- Stop XBMC indexing some unwanted common items -->
  46.         <excludefromscan action="prepend">
  47.             <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  48.             <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  49.             <regexp>(?i)uTorrentPartFile</regexp>  <!-- Ignore common scrap file -->
  50.         </excludefromscan>
  51.         <excludetvshowsfromscan action="prepend">
  52.             <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  53.             <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  54.             <regexp>(?i)uTorrentPartFile</regexp>  <!-- Ignore common scrap file -->
  55.         </excludetvshowsfromscan>
  56.     </video>
  57.  
  58.     <tvshowmatching action="prepend"> <!-- Catch some troublesome formats before XBMC -->
  59.  
  60.         <!-- DIRFIX Handling -->
  61.     <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-->
  62.  
  63.         <!-- Edge case scene handling -->
  64.         <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 -->
  65.         <regexp>(?i)[/\\]tpz-[^\d]*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi -->
  66.         <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-->
  67.         <regexp>(?i)[/\\]tpz-[^\d]*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi -->
  68.         <regexp>(?i)[.a-z](\d\d?)(\d\d)-notv([^/\\]*)</regexp> <!-- frng101-notv.avi  -->
  69.         <regexp>(?i)[/\\]\w+-\w+(\d)(\d\d)\.</regexp> <!-- mtn-tts104.avi  -->
  70.  
  71.     </tvshowmatching>
  72.  
  73.     <tvshowmatching action="append"> <!-- XBMC has tried not its our turn again -->
  74.  
  75.         <!-- Use the season number from the folder name and ep number from video file -->
  76.         <regexp>(?i)[/\\]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  -->
  77.         <regexp>(?i)[/\\]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 -->
  78.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\](\d\d?)[^\w]([^/\\]*)</regexp> <!-- /UFO/Season 1/02.Computer.Affair.divx e.g. lame sequntial numbering witout season  -->
  79.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?[^\w]ep?\.?(\d\d?)[^\w]([^/\\]*)</regexp> <!-- /Ulysses 31/Season 1/Ulysses 31 E12 Trapped.avi e.g. lame sequntial numbering witout season  -->
  80.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?[^\w]?episode[^\w]?(\d\d?)[^\w]([^/\\]*)</regexp> <!-- /The Chronicles/Season 1/Chronicles.Of.01.The.episode.6.DVDRip.DivX-movies.avi  -->
  81.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?[^\w]part[^\w]?(\d\d?)[^\w]([^/\\]*)</regexp> <!-- /NASA Missions/Season 1/nasa.missions.part.3.hdtv.xvid-fqm.avi -->
  82.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?[^\w]chapter[^\w]?(\d\d?)[^\w]([^/\\]*)</regexp>        <!-- /The Young /Season 1/The.Young.Chapter.01.My.First.Adventure.DVDRip.XviD-SAiNTS.avi  -->
  83.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?\1[^\w]?x[^\w]?(\d\d?)([^/\\]*)</regexp> <!-- /season 5/Lost - 5 x 05.mkv  -->
  84.         <regexp>(?i)[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*?s0?\1[ex]{0,2}(\d{1,2})([^/\\]*)</regexp> <!-- /Season 1/Grange Hill S01xE01.avi  -->
  85.  
  86.         <!-- Anime specific matching. YMMV with this one as anime naming is oddball. REQUIRES CRC in name -->
  87.         <regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-z]{8}[])}]</regexp> <!--  [Doki]_Asobi_ni_Iku_yo!_-_03v2_(1280x720_h264_AAC)_[B5B9C6F3].mkv -->
  88.  
  89.     </tvshowmatching>
  90.  
  91. </advancedsettings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement