Advertisement
Guest User

xbmc advanced settings

a guest
Feb 4th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.78 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.     <pathsubstitution>
  13.         <substitute>
  14.             <from>special://masterprofile/Thumbnails</from>
  15.             <to>\\MYNAS\Qmultimedia\Thumbnails</to>
  16.         </substitute>
  17.     </pathsubstitution>
  18.    
  19.     <videodatabase>
  20.             <type>mysql</type>
  21.             <host>192.168.16.17</host>
  22.             <port>3306</port>
  23.             <user>xbmc</user>
  24.             <pass>xbmc</pass>
  25.             <name>xbmc_video</name>
  26.     </videodatabase>
  27.  
  28.     <musicdatabase>
  29.             <type>mysql</type>
  30.             <host>192.168.16.17</host>
  31.             <port>3306</port>
  32.             <user>xbmc</user>
  33.             <pass>xbmc</pass>
  34.             <name>xbmc_music</name>
  35.     </musicdatabase>
  36.  
  37.     <!-- Customise/remove/comment this section to your personal preferences -->
  38.  
  39.     <useddsfanart>true</useddsfanart> <!-- Enable GPU accelerated fanart-->
  40.     <navigatevirtualkeyboard>true</navigatevirtualkeyboard> <!-- Activates virtual keyboard navigation, default is false -->
  41.     <cputempcommand>cputemp</cputempcommand> <!-- OpenELEC Specific -->
  42.     <gputempcommand>gputemp</gputempcommand> <!-- OpenELEC Specific -->
  43.  
  44.     <samba>
  45.         <clienttimeout>30</clienttimeout> <!-- Set a sensible SAMBA timeout -->
  46.     </samba>
  47.  
  48.     <videolibrary>
  49.         <hideallitems>true</hideallitems>  <!-- Remove the "*All" items from the video library -->
  50.         <hideemptyseries>false</hideemptyseries>  <!-- Dont hide empty series in the video library -->
  51.         <hiderecentlyaddeditems>false</hiderecentlyaddeditems> <!-- Dont remove the "Recently added ..." items from the video library. -->
  52.         <recentlyaddeditems>100</recentlyaddeditems> <!-- Increase number of recently added items from default 25 -->
  53.         <backgroundupdate>false</backgroundupdate> <!-- Set to hide the video scanner dialog from the gui -->
  54.         <flattentvshows>0</flattentvshows> <!-- Never flatten TV show seasons, 0=never 1=if one season (default) 2=all -->
  55.     </videolibrary>
  56.  
  57.     <musiclibrary>
  58.         <backgroundupdate>false</backgroundupdate> <!-- set to hide the music scanner dialog from the gui -->
  59.     </musiclibrary>
  60.  
  61.     <myvideos>
  62.         <extractthumb>false</extractthumb> <!-- Dont create random thumbnails. Either scrape them from the internet or dont have them -->
  63.     </myvideos>
  64.  
  65.     <sorttokens>
  66.         <token separators="">&quot;</token> <!-- Ignore " when sorting. Senisble due to IMDB naming policy -->
  67.     </sorttokens>
  68.  
  69.     <video> <!-- Stop XBMC indexing some unwanted common items -->
  70.         <excludefromscan action="prepend">
  71.             <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  72.             <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  73.             <regexp>(?i)subs</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  74.         </excludefromscan>
  75.         <excludetvshowsfromscan action="prepend">
  76.             <regexp>(?i)extras</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  77.             <regexp>(?i)sample</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  78.             <regexp>(?i)subs</regexp> <!-- Greedy, whole path, case insensitive ignore -->
  79.         </excludetvshowsfromscan>
  80.     </video>
  81.  
  82.     <tvshowmatching action="prepend"> <!-- Catch some troublesome formats before XBMC -->
  83.  
  84.         <!-- DIRFIX Handling -->
  85.             <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-->
  86.  
  87.         <!-- Edge case scene handling -->
  88.         <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 -->
  89.         <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi    -->
  90.         <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-->
  91.         <regexp>(?i)[/\\]tpz-\D*(\d)(\d{2})(\d{2})?(?:r|fix|dc|-repack|int|d)?\.</regexp> <!-- tzp-show12324.avi    -->
  92.         <regexp>(?i)[.a-z](\d{1,2})(\d\d)-notv([^/\\]*)</regexp> <!-- frng101-notv.avi  -->
  93.         <regexp>(?i)[/\\]\w+-\w+(\d)(\d\d)\.</regexp> <!-- mtn-tts104.avi  -->
  94.  
  95.         <!-- Anime specific matching. YMMV with this one as anime naming is oddball. REQUIRES CRC in name -->
  96.         <regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-f]{8}[])}]</regexp> <!--  [Doki]_Asobi_ni_Iku_yo!_-_03v2_(1280x720_h264_AAC)_[B5B9C6F3].mkv -->
  97.  
  98.     </tvshowmatching>
  99.  
  100.     <tvshowmatching action="append"> <!-- XBMC has tried, now its our turn again -->
  101.  
  102.         <!-- Use the season number from the folder name and ep number from video file -->
  103.         <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  -->
  104.         <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 -->
  105.         <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  -->
  106.         <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  -->
  107.         <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  -->
  108.         <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 -->
  109.         <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  -->
  110.         <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?\1\W?x\W?(\d{1,2})([^/\\]*)</regexp> <!-- /season 5/Lost - 5 x 05.mkv  -->
  111.         <regexp>(?i)[/\\](?:s|season)\W?(\d{1,2})\D*[/\\].*?s0?\1[ex.]{0,2}(\d{1,2})([^/\\]*)</regexp> <!-- /Season 1/Grange Hill S01xE01.avi  -->
  112.  
  113.     </tvshowmatching>
  114.  
  115.     <moviestacking> <!-- Tokens - (Title)(Volume)(Ignore)(Extension). If you have a "one pile file" system of movie organization then DONT run these -->
  116.  
  117.         <regexp>(?i)(.*-done[\. _-])(\d)(\.)(\w{3})$</regexp> <!-- movie name.blah.DVDRip.XviD-DoNE.1.avi -->
  118.         <regexp>(?i)(.*?[\. _-]cd)(\d)([\. _-].*?\.)(\w{3})$</regexp> <!-- movie name.blah.iNTERNAL.DVDRip.XViD.CD1-TWiST.avi -->
  119.         <regexp>(?i)(.*?[\. _-]cd)(\d)(\.)(\w{3})$</regexp> <!-- group-40yearoldv-cd1.avi -->
  120.         <regexp>(?i)(.*?cd)(\d)(\.)(\w{3})$</regexp> <!-- group-30doncd1.avi -->
  121.         <regexp>(?i)(.*[\. _-])([abc])(\.)(\w{3})$</regexp> <!-- group-310ty-a.avi -->
  122.         <regexp>(?i)(.*?)([abc123])(\.)(\w{3})$</regexp> <!-- group-outa.avi -->
  123.         <regexp>(?i)(.*?)([abc123])([\. _-](?:xvid|divx|int)\.)(\w{3})$</regexp> <!-- group-moviea-xvid.avi -->
  124.         <regexp>(?i)(.*)(\d{1,2})(\.)(\w{3})$</regexp> <!-- group-movie2.avi -->
  125.         <regexp>(?i)(.*)(\d{1,2})([\. _-]\w{3,10}\.)(\w{3})$</regexp> <!-- movie1-grp.avi -->
  126.         <regexp>(?i)(.*?[\. _-])(\d{1,2})(\.)(\w{3})$</regexp> <!-- movie-name-01.avi.avi -->
  127.         <regexp>(?i)(.*?[\. _-]part)(\d{1,2})([\. _-].*?\.)(\w{3})$</regexp> <!-- Movie.name.DvDrip.Part1-group.avi -->
  128.         <regexp>(?i)(.*[\. _-])([123abc])([\. _-].*\.)(\w{3})$</regexp> <!-- the.movie.dual.audio-a-group.avi -->
  129.         <regexp>(?i)(.*)(\w)(Of[123].*\.)(\w{3})$</regexp> <!-- the movie - blah1Of2-.avi -->
  130.         <regexp>(?i)(.*)([123abc])(-int\.)(\w{3})$</regexp> <!-- group-movie4a-int.avi -->     
  131.        
  132.     </moviestacking>
  133.  
  134. </advancedsettings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement