AdvancedSettings.XML File
#1
hi folks,

i created an 'advancesettings.xml' file based on the online documentation.  i couldn't quite figure out how to upload the file so i figured i would at least post it here.

advanced appologies for using this method; i'm off on assignment tomorrow and wanted to get this up in case others need it.

i commented everything in the file and created a 'settings' and 'gui' heading for each item for faster searching.

cheers,

kz

:kickass:

** updated: accidentally forgot to close a 'comment' **
** updated: added 'playlistasfolders' **

Quote:<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<advancedsettings>

 <!-- all bookmarks can be locked by adding lockmode/lockcode values as follows:   !-->
 <!-- this file, which may be created by a user in their home/userdata folder can !-->
 <!-- contain additional settings, and can contain pre-defined values for the          !-->
 <!-- settings available in the gui (thus removing them from the gui settings          !-->
 <!-- screens.) useful for advanced users and for installers.                  !-->

 <!-- xbmc will not write to this file, so any settings you define will never be       !-->
 <!-- overwritten by xbmc. all the settings available outside of the gui are           !-->
 <!-- documented on this page.                                                         !-->



 <!-- setting: logging level                                                           !-->
 <!-- the logging level that xbmc will use to log errors and information.              !-->
 <!-- available values are:                                                            !-->
 <!-- 0 normal logging, only logging errors (default)                                  !-->
 <!-- 1 debug logging.                                                                 !-->
 <!-- 2 debug logging with freemem shown on screen.                                    !-->
 <!-- 3 debug logging with freemem and full smb logging.                               !-->

 <!-- <loglevel>0</loglevel> !-->



 <!-- setting: online cddb database                                                    !-->
 <!-- the address of the online cddb database. you may set this to another freedb      !-->
 <!-- mirror if there is a more suitable one. defaults to freedb.freedb.org            !-->

 <!-- <cddbaddress>freedb.freedb.org</cddbaddress> !-->



 <!-- setting: online imdb database                                                    !-->
 <!-- the address of the online imdb database. you may set this to another of imdb's   !-->
 <!-- servers for more localized results. defaults to akas.imdb.com                    !-->

 <!-- <imdbaddress>akas.imdb.com</imdbaddress> !-->



 <!-- setting: autodetect f and g partitions                                           !-->
 <!-- set to false if you have an old bios that can't handle the auto-detection of     !-->
 <!-- the f and g partitions of the xbox hard disk drive. defaults to true.            !-->

 <!-- <autodetectfg>true</autodetectfg> !-->



 <!-- setting: use f and g partitions                                                  !-->
 <!-- set to true if you have an f partition.  set to true if you have an f partition. !-->
 <!-- only read if <autodetectfg> is set to false.                                     !-->

 <!-- <usefdrive>yes</usefdrive> !-->
 <!-- <usegdrive>yes</usegdrive> !-->



 <!-- setting: playlist as folders                                                     !-->
 <!-- set to false to revert to the old playlist method                                !-->
 
 <!-- <playlistasfolders>false</playlistasfolders> !-->



 <!-- setting: use pc dvd-rom                                                          !-->
 <!-- set to true if you have replaced the xbox dvd-rom drive with a standard          !-->
 <!-- pc dvd-rom. expect performance to be somewhat variable. defaults to false.       !-->
 
 <!-- <usepcdvdrom>false</usepcdvdrom> !-->



 <!-- setting: cache path                                                              !-->
 <!-- set to the path on the xbox harddisk that xbmc should use for when it caches     !-->
 <!-- files (such as when caching subtitles or for unzipping or unrarring).            !-->
 <!-- defaults to z:\                                                                  !-->

 <!-- <cachepath>z:\</cachepath> !-->



 <!-- setting: picture extensions                                                      !-->
 <!-- a list of additional file extensions to allow in the my pictures window.         !-->  

 <!-- <pictureextensions>.ex1|.ex2|.ex3</pictureextensions> !-->



 <!-- setting: music extensions                                                        !-->
 <!-- a list of additional file extensions to allow in the my music windows.           !-->  

 <!-- <musicextensions>.ex1|.ex2|.ex3</musicextensions> !-->



 <!-- setting: video extensions                                                        !-->
 <!-- a list of additional file extensions to allow in the my video windows.           !-->  

 <!-- <videoextensions>.ex1|.ex2|.ex3</videoextensions> !-->



 <!-- setting: language codes                                                          !-->
 <!-- translation table for subtitle and audio names. contains entries of the form     !-->

 <!-- <code><short>alt</short><long>alternate</long></code> !-->



 <!-- setting: video stacking                                                          !-->
 <!-- contains regular expressions for use in matching filenames in a “stack” of       !-->
 <!-- video files. the regular expression must have a (...) surrounding the volume     !-->
 <!-- label portion. text matching is compared case-insensitive. anything matched      !-->
 <!-- by the regular expression will be removed from the titlename. if more than       !-->
 <!-- one (...) section is used, the first one will be the prefix, the second          !-->
 <!-- one the volume label, and the third one (if it exists) will be the suffix.       !-->
 <!-- use this to keep extensions after matching. if more than one expression          !-->
 <!-- matches a particular filename, the first one will be used.                       !-->
 <!-- default stacking:                                                                !-->

 <!-- <videostacking> !-->
      <!-- <regexp>[ _\.-]+cd[ _\.-]*([0-9a-d]+)</regexp> !-->
      <!-- <regexp>[ _\.-]+dvd[ _\.-]*([0-9a-d]+)</regexp> !-->
      <!-- <regexp>[ _\.-]+part[ _\.-]*([0-9a-d]+)</regexp> !-->
      <!-- <regexp>()[ _\.-]+([0-9]*[abcd]+)(\....)$</regexp> !-->
      <!-- <regexp>()[\^ _\.-]+([0-9]+)(\....)$</regexp> !-->
      <!-- <regexp>([a-z])([0-9]+)(\....)$</regexp> !-->
 <!-- </videostacking> !-->



 <!-- setting: path substitution                                                       !-->
 <!-- path substitutions for use with playlist loading. these are processed in         !-->
 <!-- order, and are useful for substituting an absolute path on a pc with a path      !-->
 <!-- suitable for xbmc to handle. default is no path substitutions defined.           !-->
 <!-- an example is:                                                                   !-->

 <!-- <pathsubstitution> !-->
      <!-- <substitute> !-->
      <!-- <from>g:\dvds\</from> !-->
      <!-- <to>smb://somecomputer/g-share/dvds/</to> !-->
      <!-- </substitute> !-->
 <!-- </pathsubstitution> !-->



 <!-- setting: remote repeat                                                           !-->
 <!-- the repeat delay for the infrared remote control, in milliseconds. length        !-->
 <!-- of time a remote button needs to be held before it will start repeating          !-->
 <!-- (ie continuously sending button pushes while it's held down). defaults to 480.   !-->

 <!-- <remoterepeat>480</remoterepeat> !-->



 <!-- setting: controller dead zone                                                    !-->
 <!-- deadzone for controller thumb sticks. 0 indicates no deadzone at all.            !-->
 <!-- a 1 indicates all deadzone (ie no movement will be detected). defaults to 0.2    !-->

 <!-- <controllerdeadzone>0.20</controllerdeadzone> !-->



 <!-- setting: display remote codes                                                    !-->
 <!-- set to true to have xbmc display the infrared remote's button codes (obc's)      !-->
 <!-- on screen when you press buttons. useful for assigning functions to the          !-->
 <!-- buttons on a universal remote control. defaults to false.                        !-->

 <!-- <displayremotecodes>false</displayremotecodes> !-->



 <!-- setting: thumb size                                                              !-->
 <!-- size of the square in pixels that xbmc will use to cache thumbnail images.       !-->
 <!-- if the thumb is smaller than this size it will be cached as-is. if it is         !-->
 <!-- larger it will be scaled to within this square. default is 128.                  !-->

 <!-- <thumbsize>128</thumbsize> !-->



 <!-- setting: master lock                                                             !-->
 <!-- if you enable any masterlock settings below, they will be removed from ui.       !-->
 <!-- code needs to be md5'd, and you can use this site to hash it.                    !-->

 <!-- <masterlock> !-->

      <!--                                                                             !-->
      <!-- 0 - disabled.                                                               !-->
      <!-- 1 - numeric, enter a numerical value to unlock.                             !-->
      <!-- 2 - gamepad combo, enter gamepad key combo and finish with pressing start.  !-->
      <!-- 3 - fulltext, enter normal textstring to unlock.                            !-->
      <!--                                                                             !-->

      <!-- <lockmode>0</lockmode> !-->

       
      <!--                                                                             !-->
      <!-- code is dependant on lockmode of course. an easier approach is probably     !-->
      <!-- to set code using gui in xbmc then copy the value from guisettings.xml.     !-->
      <!-- # = md5 hashed value.                                                       !-->
      <!--                                                                             !-->

      <!-- <lockcode>#</lockcode> !-->


      <!--                                                                             !-->
      <!-- true enables lock for my music section                                      !-->
      <!--                                                                             !-->

      <!-- <lockmusic>false</lockmusic> !-->
   

      <!--                                                                             !-->
      <!-- true enables lock for my video section                                      !-->
      <!--                                                                             !-->

      <!-- <lockvideo>false</lockvideo> !-->


      <!--                                                                             !-->
      <!-- true enables lock for my pictures section                                   !-->
      <!--                                                                             !-->

      <!-- <lockpictures>false</lockpictures> !-->


      <!--                                                                             !-->
      <!-- true enables lock for programs section                                      !-->
      <!--                                                                             !-->

      <!-- <lockprograms>false</lockprograms> !-->
   
   
      <!--                                                                             !-->
      <!-- false disables lock for my files section                                    !-->
      <!--                                                                             !-->

      <!-- <lockfiles>true</lockfiles> !-->
   

      <!--                                                                             !-->
      <!-- false disables lock for my settings                                         !-->
      <!--                                                                             !-->

      <!-- <locksettings>true</locksettings> !-->

   
      <!--                                                                             !-->
      <!-- true enables user to set separate locks on shares                           !-->
      <!--                                                                             !-->

      <!-- <sharelocks>false</sharelocks> !-->

   
      <!--                                                                             !-->
      <!-- true prompts user for code upon startup                                     !-->
      <!--                                                                             !-->

      <!-- <startuplock>false</startuplock> !-->

   
      <!--                                                                             !-->
      <!-- true shuts down xbox after 3 failed attempts to enter correct code          !-->
      <!--                                                                             !-->

      <!-- <enableshutdown>false</enableshutdown> !-->

 
      <!--                                                                             !-->
      <!-- advancedsettings.xml only:                                                  !-->    
      <!-- enter the max number of retries to input code, 3 is default.                !-->
      <!--                                                                             !-->

      <!-- <maxretries>3<maxretries> !-->

 <!-- </masterlock> !-->



 <!-- setting: audio headroom                                                          !-->
 <!-- amount of headroom xbmc should use above the maximum volume level, in decibels.  !-->
 <!-- defaults to 0, valid values 0, 6, 12.                                            !-->

 <!-- <audio> !-->
      <!-- <headroom>0</headroom> !-->
 <!-- </audio> !-->



 <!-- setting: video                                                                   !-->
 <!-- use "videosettings" instead of "video" for builds prior to may 22, 2006          !-->

 <!-- <video> !-->
 
      <!--                                                                             !-->
      <!-- delay range for subtitles, in seconds.                                      !-->
      <!--                                                                             !-->

      <!-- <subsdelayrange>10</subsdelayrange> !-->


      <!--                                                                             !-->
      <!-- delay range for audio/video sync, in seconds.                               !-->
      <!--                                                                             !-->

      <!-- <audiodelayrange>10</audiodelayrange> !-->


      <!--                                                                             !-->
      <!-- length of the small skip back (normally the back button) when playing a     !-->
      <!-- video.                                                                      !-->
      <!--                                                                             !-->

      <!-- <smallstepbackseconds>7</smallstepbackseconds> !-->


      <!--                                                                             !-->
      <!-- small step back tries.                                                      !-->
      <!--                                                                             !-->

      <!-- <smallstepbacktries>3</smallstepbacktries> !-->


      <!--                                                                             !-->
      <!-- small step back delay.                                                      !-->
      <!--                                                                             !-->

      <!-- <smallstepbackdelay>300</smallstepbackdelay> !-->


      <!--                                                                             !-->
      <!-- whether to use time based or percentage based seeking.                      !-->
      <!--                                                                             !-->

      <!-- <usetimeseeking>true</usetimeseeking> !-->


      <!--                                                                             !-->
      <!-- time to seek forward in seconds when doing a short seek.  defaults to 30.   !-->
      <!--                                                                             !-->

      <!-- <timeseekforward>30</timeseekforward> !-->


      <!--                                                                             !-->
      <!-- time to seek backward in seconds when doing a short seek.  defaults to -30. !-->
      <!--                                                                             !-->

      <!-- <timeseekbackward>-30</timeseekbackward> !-->


      <!--                                                                             !-->
      <!-- time to seek forward in seconds when doing a long seek.                     !-->
      <!-- defaults to 600 (10 minutes).                                               !-->
      <!--                                                                             !-->

      <!-- <timeseekforwardbig>600</timeseekforwardbig> !-->


      <!--                                                                             !-->
      <!-- time to seek forward in seconds when doing a long seek.                     !-->
      <!-- defaults to -600 (10 minutes).                                              !-->
      <!--                                                                             !-->

      <!-- <timeseekbackwardbig>-600</timeseekbackwardbig> !-->


      <!--                                                                             !-->
      <!-- amount to seek forward as a percentage, when doing a short seek.            !-->
      <!-- defaults to 2.                                                              !-->
      <!--                                                                             !-->

      <!-- <percentseekforward>2</percentseekforward> !-->


      <!--                                                                             !-->
      <!-- amount to seek backward as a percentage, when doing a short seek.           !-->
      <!-- defaults to -2.                                                             !-->
      <!--                                                                             !-->

      <!-- <percentseekbackward>-2</percentseekbackward> !-->


      <!--                                                                             !-->
      <!-- amount to seek forward as a percentage, when doing a long seek.             !-->
      <!-- defaults to 10.                                                             !-->
      <!--                                                                             !-->

      <!-- <percentseekforwardbig>10</percentseekforwardbig> !-->


      <!--                                                                             !-->
      <!-- amount to seek forward as a percentage, when doing a long seek.             !-->
      <!-- defaults to -10.                                                            !-->
      <!--                                                                             !-->

      <!-- <percentseekbackwardbig>-10</percentseekbackwardbig> !-->

 <!-- </video> !-->




 <!-- setting: slideshow                                                               !-->

 <!-- <slideshow>  !-->

      <!--                                                                             !-->
      <!-- amount to pan images as a percentage of the screen                          !-->
      <!--                                                                             !-->

      <!-- <panamount>2.5</panamount> !-->


      <!--                                                                             !-->
      <!-- amount to zoom images as a percentage of the screen                         !-->
      <!--                                                                             !-->

      <!-- <zoomamount>5.0</zoomamount> !-->


      <!--                                                                             !-->
      <!-- amount to compensate (zoom) images to attempt to reduce black bars.         !-->
      <!-- results in cropping of the longer length of the image in order to reduce    !-->
      <!-- the black bars on the shorter length of the image.  defaults to 20.         !-->
      <!--                                                                             !-->

      <!-- <blackbarcompensation>20</blackbarcompensation> !-->

 <!-- </slideshow> !-->



 <!-- setting: lcd                                                                     !-->

 <!-- <lcd> !-->

      <!--                                                                             !-->
      <!-- number of rows to use for the lcd.                                          !-->
      <!--                                                                             !-->

      <!-- <rows>4</rows> !-->


      <!--                                                                             !-->
      <!-- number of columns to use for the lcd.                                       !-->
      <!--                                                                             !-->

      <!-- <columns>20</columns> !-->


      <!--                                                                             !-->
      <!-- memory address for row 1.                                                   !-->
      <!--                                                                             !-->

      <!-- <address1>0</address1> !-->


      <!--                                                                             !-->
      <!-- memory address for row 2.                                                   !-->
      <!--                                                                             !-->

      <!-- <address2>20</address2> !-->


      <!--                                                                             !-->
      <!-- memory address for row 3.                                                   !-->
      <!--                                                                             !-->

      <!-- <address3>64</address3> !-->


      <!--                                                                             !-->
      <!-- memory address for row 4.                                                   !-->
      <!--                                                                             !-->

      <!-- <address4>84</address4> !-->

 <!-- </lcd> !-->



 <!-- setting: network                                                                 !-->
 <!-- length in seconds between pinging the network to detect new xbox's.              !-->

 <!-- <network> !-->
      <!-- <autodetectpingtime>30</autodetectpingtime> !-->
 <!-- </network> !-->



 <!-- setting: play count minimum percent                                              !-->
 <!-- minimum percentage that has to be played of a video before it is marked          !-->
 <!-- as watched.                                                                      !-->

 <!-- <playcountminimumpercent>25</playcountminimumpercent> !-->




 <!-- setting: network                                                                 !-->
 <!-- you can also define the settings normally defined in the gui in                  !-->
 <!-- advanced settings.xml?. any gui based settings defined in advanced settings.xml  !-->
 <!-- will override the gui values, and the settings will be removed completely from   !-->
 <!-- the gui (ie only alterable by editting advanced settings.xml).                   !-->

 <!-- the easiest way to include a gui setting is to first make sure it is set in      !-->
 <!-- the gui to the value that you want, and then to open the settings.xml file       !-->
 <!-- (found in e:\tdata\0face008) and find the xml entry that corresponds to          !-->
 <!-- that setting. then just add that entry to the advanced settings.xml file.        !-->
 
 <!-- for example:                                                                     !-->
 <!-- the gui entry for the character set will no longer appear, and xbmc will         !-->
 <!-- always use the hebrew (windows) character set.                                   !-->


 <!-- gui: look and feel                                                               !-->
 <!-- <lookandfeel> !-->
      <!-- <charset>hebrew (windows)</charset> !-->
 <!-- </lookandfeel> !-->



 <!-- here are some special cases, if they aren't defined, user will be prompted       !-->
 <!-- first time he/she tries to access any of these paths:                            !-->
 <!-- (there are no default pre-set values)                                            !-->

 <!-- gui: trainer path                                                                !-->

 <!-- <myprograms> !-->
      <!-- <trainerpath>q:\system\trainers</trainerpath> !-->
 <!-- </myprograms> !-->



 <!-- gui: recording path                                                              !-->

 <!-- <mymusic> !-->
      <!-- <recordingpath>e:\recordings</recordingpath> !-->
 <!-- </mymusic> !-->



 <!-- gui: screen shot and playlist paths                                              !-->

 <!-- <system> !-->
      <!-- <screenshotpath>q:\screenshots</screenshotpath> !-->  
      <!-- <playlistspath>e:\playlists</playlistspath> !-->
 <!-- </system> !-->

</advancedsettings>



Reply
#2
Might want to update this LOL


**Yes, I am lame for firing up such an old thread
Image
Reply
#3
Hi HarshReality,

Be happy to; i'd like to post the file to the SVN afterwards but I'm not certain how to go about doing that.

Pike/Spiff ... assuming there's value in updating the file, how doyou suggest I get it to the project SVN and where?

Cheers,
KZ
Reply
#4
sorry, we have made a decision not to include a template file in svn.

1) we have to keep updating the file
2) conflicts with old files and new versions - compare to the xboxmediacenter.xml mess we had with e.g. file extensions.
3) you're not meant to have an advancedsettings.xml filled with other settings than those you intend to change - means no problems if we change defaults etc.
Reply

Logout Mark Read Team Forum Stats Members Help
AdvancedSettings.XML File0