2012-01-02, 17:58
I have setup a central library database on my mediaserver with MySQL. I am having some problems with the advancedsettings.xml file though. I am trying to use Path substitution to redirect several configuration files, as to a share on my media server, including Thumbnails folder, sources.xml, favourites.xml, etc. However, after adding sources on one of my XBMC machines and scanning to library, I I check on the media share server and none of the config files were created, and nothing is in the thumbnails folder. Can somebody please take a look at my advancedsettings.xml and tell me what I'm doing wrong? Any help is appreciated. I also just checked MySQL and it appears that XBMC did not create the MySQL databases after I created the XBMC user and gave it full permissions. This advancedsettings.xml is in the root of my userdata folder.
Thanks for any help sorting this out.
-hogfan
Code:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/Thumbnails/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Playlists/</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/Playlists/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://masterprofile/RssFeeds.xml</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/RSSFeeds.xml/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://masterprofile/sources.xml</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/sources.xml/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://masterprofile/favourites.xml</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/favourites.xml/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://masterprofile/mediasources.xml</from>
<to>smb://192.168.1.5/media-raid/XBMC_DATA/mediasources.xml/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Thanks for any help sorting this out.
-hogfan