2013-02-11, 16:55
I have upgraded both my XBMC boxes running XBMCBuntu to Frodo.
Since I'd like to share my library between the two, I've set up a MySql server and edited my advancedsettings.xml as described on the wiki.
I'd like my sources.xml, addon-data and playlists shared, so I created a dedicated share on my WHS2011 server for XBMC to access.
I adjusted my advancedsettings.xml as follows (database section omitted):
When I use this, the sources get populated properly but I get the following errors for the other entries:
The add-on screen is then inaccessible (because it can't load settings?).
It seems xbmc can't write to the shares, even though the username/password are correctly stored in the passwords.xml file (and if they were wrong it wouldn't be able to read the sources.xml).
So I also tried a different route: mounting the share at boot time and setting the substitution to that local mount:
With this, I don't get any errors in the log but the sources don't show up and I can't access the add-ons (probably because it can't access them?).
I can read files, create directories and write files on the mounted share (/home/xbmc/xbmc-share) with the xbmc user, so there doesn't seem to be a permission problem.
The fstab I added (docs) is:
Does anybody have any ideas as to what could be wrong?
Many thanks!
Since I'd like to share my library between the two, I've set up a MySql server and edited my advancedsettings.xml as described on the wiki.
I'd like my sources.xml, addon-data and playlists shared, so I created a dedicated share on my WHS2011 server for XBMC to access.
I adjusted my advancedsettings.xml as follows (database section omitted):
Code:
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>SMB://servername/xbmc/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/playlists/</from>
<to>SMB://servername/xbmc/playlists/</to>
</substitute>
<substitute>
<from>special://profile/addon_data/</from>
<to>SMB://servername/xbmc/addon_data/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
When I use this, the sources get populated properly but I get the following errors for the other entries:
Code:
15:45:41 T:3007715136 ERROR: Create - Error( Connection timed out )
15:45:41 T:3007715136 ERROR: Create - Error creating /home/xbmc/.xbmc/userdata/playlists/
15:45:41 T:3007715136 ERROR: Create - Error creating special://profile/playlists/
The add-on screen is then inaccessible (because it can't load settings?).
It seems xbmc can't write to the shares, even though the username/password are correctly stored in the passwords.xml file (and if they were wrong it wouldn't be able to read the sources.xml).
So I also tried a different route: mounting the share at boot time and setting the substitution to that local mount:
Code:
<substitute>
<from>special://profile/sources.xml</from>
<to>/home/xbmc/xbmc-share/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/playlists/</from>
<to>/home/xbmc/xbmc-share/playlists/</to>
</substitute>
<substitute>
<from>special://profile/addon-data/</from>
<to>/home/xbmc/xbmc-share/addon-data/</to>
</substitute>
With this, I don't get any errors in the log but the sources don't show up and I can't access the add-ons (probably because it can't access them?).
I can read files, create directories and write files on the mounted share (/home/xbmc/xbmc-share) with the xbmc user, so there doesn't seem to be a permission problem.
The fstab I added (docs) is:
Code:
//servername/xbmc /home/xbmc/xbmc-share cifs credentials=/home/xbmc/.smbcredentials,iocharset=utf8,file_mode=07$
Does anybody have any ideas as to what could be wrong?
Many thanks!