Win libraries won't sync
#1
Hello,

Currently i'm trying to setup a sync between multiple xbmc installations.

This is what i have so far:
Code:
<advancedsettings>
<videodatabase>
    <type>mysql</type>
    <host>192.168.1.2</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
</videodatabase>

<musicdatabase>
    <type>mysql</type>
    <host>192.168.1.2</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
</musicdatabase>

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.1.2/xbmc/Thumbnails/</to>
</substitute>

<substitute>
<from>special://masterprofile/playlists/</from>
<to>smb://192.168.1.2/xbmc/Settings/playlists/</to>
</substitute>

<substitute>
<from>special://masterprofile/addon_data/</from>
<to>smb://192.168.1.2/xbmc/Settings/addon_data/</to>
</substitute>

<substitute>
<from>special://masterprofile/sources.xml</from>
<to>smb://192.168.1.2/xbmc/Settings/sources.xml</to>
</substitute>

<substitute>
<from>special://masterprofile/mediasources.xml</from>
<to>smb://192.168.1.2/xbmc/Settings/mediasources.xml</to>
</substitute>

<substitute>
<from>special://masterprofile/RssFeeds.xml</from>
<to>smb://192.168.1.2/xbmc/Settings/RssFeeds.xml</to>
</substitute>

<substitute>
<from>special://masterprofile/favourites.xml</from>
<to>smb://192.168.1.2/xbmc/Settings/favourites.xml</to>
</substitute>

<substitute>
<from>special://masterprofile/profiles.xml</from>
<to>smb://192.168.1.2/xbmc/Settings/profiles.xml</to>
</substitute>
</pathsubstitution>
</advancedsettings>

The problem is, none of this is working.
Mysql doesn't get populated when i scan the db, nor the thubnails are created.


Result in xbmc.log
Code:
13:35:23 T:3132  NOTICE: -----------------------------------------------------------------------
13:35:23 T:3132  NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 32-bit Service Pack 1 build 7601. Built on Mar 21 2012 (compiler 1600)
13:35:23 T:3132  NOTICE: Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
13:35:23 T:3132  NOTICE: Desktop Resolution: 1280x1024 32Bit at 85Hz
13:35:23 T:3132  NOTICE: Running with administrator rights
13:35:23 T:3132  NOTICE: Aero is disabled
13:35:23 T:3132  NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
13:35:23 T:3132  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
13:35:23 T:3132  NOTICE: special://masterprofile/ is mapped to: C:\Users\brantje\AppData\Roaming\XBMC\userdata
13:35:23 T:3132  NOTICE: special://home/ is mapped to: C:\Users\brantje\AppData\Roaming\XBMC\
13:35:23 T:3132  NOTICE: special://temp/ is mapped to: C:\Users\brantje\AppData\Roaming\XBMC\cache
13:35:23 T:3132  NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
13:35:23 T:3132  NOTICE: Local hostname: brantjelaptop
13:35:23 T:3132  NOTICE: Log File is located: C:\Users\brantje\AppData\Roaming\XBMC\xbmc.log
13:35:23 T:3132  NOTICE: -----------------------------------------------------------------------
13:35:23 T:3132  NOTICE: Setup SDL
13:35:23 T:3132  NOTICE: Found screen: Algemeen PnP-beeldscherm on NVIDIA GeForce G 105M, adapter 0.
13:35:23 T:3132  NOTICE: Found screen: Algemeen niet-PnP-beeldscherm on ZoneScreen Virtual Display Driver, adapter 5.
13:35:23 T:3132  NOTICE: Primary mode: 1280x1024 @ 85.00 - Full Screen
13:35:23 T:3132  NOTICE: load settings...
13:35:23 T:3132  NOTICE: special://profile/ is mapped to: special://masterprofile/
13:35:23 T:3132  NOTICE: loading special://masterprofile/guisettings.xml
13:35:23 T:3132  NOTICE: Getting hardware information now...
13:35:23 T:3132  NOTICE: Checking resolution 12
13:35:23 T:3132  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
13:35:23 T:3132  NOTICE: Loaded playercorefactory configuration
13:35:23 T:3132  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
13:35:23 T:3132  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
13:35:23 T:3132  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
13:35:23 T:3132  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
13:35:23 T:3132  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.2</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </videodatabase>
                                              <musicdatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.2</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </musicdatabase>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>special://masterprofile/Thumbnails/</from>
                                                  <to>smb://192.168.1.2/xbmc/Thumbnails/</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/playlists/</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/playlists/</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/addon_data/</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/addon_data/</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/sources.xml</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/sources.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/mediasources.xml</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/mediasources.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/RssFeeds.xml</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/RssFeeds.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/favourites.xml</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/favourites.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://masterprofile/profiles.xml</from>
                                                  <to>smb://192.168.1.2/xbmc/Settings/profiles.xml</to>
                                                </substitute>
                                              </pathsubstitution>
                                            </advancedsettings>
13:35:23 T:3132 WARNING: VIDEO database configuration is experimental.
13:35:23 T:3132  NOTICE: Getting hardware information now...
13:35:23 T:3132  NOTICE: Checking resolution 12
13:35:23 T:3132  NOTICE: Default DVD Player: dvdplayer
13:35:23 T:3132  NOTICE: Default Video Player: dvdplayer
13:35:23 T:3132  NOTICE: Default Audio Player: paplayer
13:35:23 T:3132  NOTICE: Disabled debug logging due to GUI setting. Level 0.
13:35:23 T:3132  NOTICE: Log level changed to 0
13:35:23 T:3132  NOTICE: Loading media sources from special://masterprofile/sources.xml
13:35:23 T:3132   ERROR: CWINFileSMB: Unable to open file '\' Error '3
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\playlists\
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://profile/playlists/
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\playlists\music
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://profile/playlists/music
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\playlists\video
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://profile/playlists/video
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\playlists\mixed
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://profile/playlists/mixed
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\Thumbnails\Music
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://masterprofile/Thumbnails/Music
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\Thumbnails\Music\Artists
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating special://masterprofile/Thumbnails/Music/Artists
13:35:23 T:3132   ERROR: XFILE::CDirectory::Create - Error creating C:\Users\brantje\AppData\Roaming\XBMC\userdata\Thumbnails\Music\LastFM
13:35:25 T:3132  NOTICE: initializing playlistplayer
13:35:25 T:3132  NOTICE: DONE initializing playlistplayer
13:35:25 T:3132   ERROR: CWINFileSMB: Unable to open file for writing '\' Error '3
13:35:25 T:3132   ERROR: Unable to open database: MyVideos60 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos59 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos58 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos57 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos56 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos55 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))
13:35:25 T:3132   ERROR: Unable to open database: MyVideos54 [1045](Access denied for user 'xbmc'@'192.168.1.6' (using password: YES))

Why does xbmc wants to connect 192.168.1.6.. Thats his own ip...
Also why does the directory create fails? I have it for about 50 times in the log..

Complete log here: http://pastebin.com/bxUHpQHS

Regards,
Brantje
Reply
#2
Check your firewall and be sure XBMC is not being blocked. It looks like it is.
Reply
#3
I would shut off the firewall on both computers and try that. I have never had a problem with XBMC and firewalls but I have with MySQL, you will have allow access through the firewalls for MySQL to work. I would also look at how you have you account setup in MySQL for the XBMC user and make sure it has all the permissions that it needs. I usually just use the root user for my xbmc stuff since that is all I use MySQL for and then I don't have to worry about the permissions. You also seem to have a lot of errors for the items you set up path substitution for so that may also be a firewall issue. What I would do is take out all of the path substitution from your advanced settings file and get the MySQL stuff working first and then setup up a path substitution for your thumbnails and get that one working. Once you have those working then the rest should as well.

Also if XBMC cant get the settings in your advancedsettings to work then it should default to the normal settings and ignore what is in your advanced settings file which is probably why nothing is syncing up.
Reply

Logout Mark Read Team Forum Stats Members Help
libraries won't sync0