2013-10-17, 04:29
Quote:pre-emptive TL;dr
pathsubstitution isn't working to point to a new profile-specific sources.xml. the advancedsettings.xml for that profile is below
Hello all,
I have come seeking help with syncing libraries and profiles. I have my main desktop (A) set up with mysql, sharing databases, it all works dandy. Now I'm trying to have multiple accounts on each of my other computers (focus on M). I set up XBMC on M, made a separate profile (M), created its own database in my MySQL database using a different database name (Mvideos instead of Avideos) and accessed the files through SMB. I have since gone back onto A to add a new profile also called M, made a special advancedsettings for it so that it will access Ms database, and am now trying to pathsubstitute the sources file to the shared file that the computer M is accessing and editing. Here is the issue:
M (computer) can access my MySQL server, it's specific database, and it's specific SMB shared sources file (Msources.xml). When I make the advancedsettings file for the M profile on A it properly logs into the correct database that M (computer) is scraping through, and can access those videos and play them. HOWEVER, I have tried pathsubstituting in the M profile advancedsettings on A (computer) so that it to sees the Msources and can scrape for it, and despite it reading the <videodatabase> information for MySQL log in correctly, it will not pathsubstitute to the sources file.
Below is the advancedsettings file for the M profile on my A computer. Please, if you have any suggestions as to what is not XBMC from performing pathsubstitute with Msources properly, please tell me. FYI: In the A advancedsettings, pathsubstitute is working and substitutes sources.xml to the shared A.xml.
Code:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host></host>
<port></port>
<user></user>
<pass></pass>
<name>sVideo</name>
</videodatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
</videolibrary>
<pathsubstitution>
<substitute>
<from>special://profiles/S/sources.xml</from>
<to>smb://A/xbmcData/ssources.xml</to>
</substitute>
<substitute>
<from>special://profiles/S/mediasources.xml</from>
<to>smb://A/xbmcData/ssources.xml</to>
</substitute>
</pathsubstitution>
</advancedsettings>