- <!--For support, see here: http://forum.xbmc.org/showthread.php?t=96097 -->
- <root>
- <!--Logging Levels: This controls how verbose the logs will be.
- Available Levels: ERROR, WARNING, NOTICE, INFO, DEBUG
- expiredays - optional attribute, default=30, Logs older than this many days will be deleted. -->
- <LoggingLevel expiredays="14">INFO</LoggingLevel>
- <!--ThumbnailDir - This is the directory where XBMC store its thumbs. It is named "Thumbnails" under your userdata folder.
- The location of the userdata directory differs if you are running in portable mode.
- If you need help finding your userdata folder, check you platform's FAQ here: http://wiki.xbmc.org/index.php?title=Frequently_Asked_Questions-->
- <ThumbnailDir>C:\users\oggy\AppData\Roaming\XBMC\userdata\Thumbnails</ThumbnailDir>
- <!--Simulation settings -->
- <Simulation>true</Simulation><!--If true, no thumbnails/fanart will be deleted, so the program can be tested -->
- <SpotCheck max="150">C:\ThumbCleaner-SpotCheck</SpotCheck><!--If simulation is true, images that are believed to be no longer needed will be copied here (randomly, up to the max), so you can check and make sure they really should be deleted -->
- <!--
- Database config. Either MySQL or SQLLite can be used. One of these must be enabled for this program to work.
- Set enabled = true for the one you would like to use. If you don't know which to use, then use SQLLite as that is the XBMC default.
- -->
- <XBMCDatabase><!--Enable either SQLite OR MySQL -->
- <SQLite enabled="true">
- <VideoDBPath>C:\users\oggy\AppData\Roaming\XBMC\userdata\Database\MyVideos58.db</VideoDBPath><!--Cannot be a UNC path. If the .db file is not local, map a drive to it-->
- <MusicDBPath>C:\users\oggy\AppData\Roaming\XBMC\userdata\Database\MyMusic18.db</MusicDBPath><!--Cannot be a UNC path. If the .db file is not local, map a drive to it-->
- </SQLite>
- <MySQL enabled="false">
- <host>192.168.1.64</host><!--Name or IP address-->
- <VideoSchema>xbmc_video</VideoSchema>
- <MusicSchema>xbmc_music</MusicSchema>
- <username>xbmc</username>
- <password>xbmc</password>
- <port>3306</port>
- <CharacterSet>utf8</CharacterSet><!-- latin1 is recommended for Dharma. utf8 is recommended for Eden -->
- </MySQL>
- </XBMCDatabase>
- <!--
- JSONRPC - JSON-RPC API connectivity is required for this program to work. It is built into XBMC's Dharma/Eden releases.
- XBMCName - The Name or IP Address of the XBMC instance to connect to. XBMC must be running in order for the JSON-RPC API to work.
- method - The method used to connect to JSON-RPC
- HTTP -Uses HTTP to communicate with XBMC's Webserver
- -Faster than Raw method, and usually more reliable if you experience trouble with the Raw method
- -Requires going to Settings, Network, Services, and checking "Allow control of XBMC via HTTP" and setting the Port/Username/Password you desire.
- <port> - The XBMC Webserver port, default 8080
- <username> - The XBMC Webserver username, default none
- <password> - The XBMC Webserver password, default none
- Raw -Uses Raw TCP/IP "telnet" type of an interface.
- -Uses TCP port 9090 (not configurable)
- -Slower than HTTP, but simpler to set up (no authentication is used).
- -Requires going to Settings, Network, Services, and checking "Allow Programs on this/others systems to control XBMC"
- -->
- <JSONRPC>
- <XBMCName>192.168.1.64</XBMCName><!--Either name or ip, address of XBMC instance that has PlayOn added as a source. Do not include :port here. -->
- <timeout>90</timeout><!--The time in seconds to wait for JSON-RPC to start returning data after a request has been made -->
- <method>raw</method> <!--Either HTTP or Raw -->
- <!--These options are only used if HTTP is specified as the method-->
- <port>80</port>
- <username>xbmc</username>
- <password>xbmc</password>
- </JSONRPC>
- <!--
- XBMCTextures - Texture cleanup configuration
- Textures are the images in the Thumbnails\[0-f] folders. They are stored in a SQLite Database named Textures.db.
- Specify the path to the SQLite textures database, and specify the thresholds to use to determine which textures should be cleaned.
- -->
- <XBMCTextures>
- <TextureDBPath>C:\users\oggy\AppData\Roaming\XBMC\userdata\Database\Textures6.db</TextureDBPath><!--Cannot be a UNC path. If the .db file is not local, map a drive to it-->
- <!--Configure the thresholds for deleting textures. If you don't know what to use, the defaults of 21 days or 2 uses should be OK -->
- <LastUsedThresholdDays>21.0</LastUsedThresholdDays><!-- Clean textures that have NOT been used by XBMC in the past X many days. Set to 0.0 to disable. -->
- <AndOr>OR</AndOr><!-- If "and", then the texture will be deleted only if it exceeds both thresholds.
- If "or", then the texture will be deleted if it exeeds either threshold -->
- <UseCountThreshold>2</UseCountThreshold><!-- Clean textures that have been used LESS THAN this many times. Set to 0 to disable -->
- </XBMCTextures>
- <!--
- ConfirmPathExist
- This can be used to find even more images that should be deleted. This will delete images if their corresponding media file no longer exists.
- XBMC can be bad at cleaning out old file entries from the database, this setting will circumvent that problem by checking if the file actually exists.
- ****You should only set this to true if:****
- You are running this program on Windows, and on the same computer than XBMC is on (so the filepaths match XBMC's paths).
- You regularily use the clean function on XBMC's library.
- -->
- <ConfirmPathsExist>false</ConfirmPathsExist>
- </root>