2014-10-30, 17:47
I tried to use path substitution for sources.xml to use the same sources with multiple Gotham 13.2 devices.
A NUC with Openelec installed can use the sources.xml but Windows Clients can´t.
The debug log on windows clients shows:
16:34:18 T:3328 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
16:34:32 T:3328 ERROR: XFILE::CWINFileSMB::Open: Unable to open file smb://xbmc:xbmc@medvnas/xbmc/Settings/sources.xml/ Error: 123
16:34:32 T:3328 ERROR: CMediaSourceSettings: error loading special://masterprofile/sources.xml: Line 0, Failed to open file
My Settings in advancedsettings.xml are:
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://xbmc:xbmc@nasname/xbmc/Settings/sources.xml/</to>
</substitute>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://xbmc:xbmc@nasname/xbmc/AllUserData/Thumbnails/</to>
</substitute>
</pathsubstitution>
The Windows PCs have full read/write access to the share
User xbmc with pass xbmc even has full read/write access to the share
Thumbnails are even stored at this share and are accessible from windows Clients - so the Access to the share is working.
Thanks in advance for any further hints
A NUC with Openelec installed can use the sources.xml but Windows Clients can´t.
The debug log on windows clients shows:
16:34:18 T:3328 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
16:34:32 T:3328 ERROR: XFILE::CWINFileSMB::Open: Unable to open file smb://xbmc:xbmc@medvnas/xbmc/Settings/sources.xml/ Error: 123
16:34:32 T:3328 ERROR: CMediaSourceSettings: error loading special://masterprofile/sources.xml: Line 0, Failed to open file
My Settings in advancedsettings.xml are:
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://xbmc:xbmc@nasname/xbmc/Settings/sources.xml/</to>
</substitute>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://xbmc:xbmc@nasname/xbmc/AllUserData/Thumbnails/</to>
</substitute>
</pathsubstitution>
The Windows PCs have full read/write access to the share
User xbmc with pass xbmc even has full read/write access to the share
Thumbnails are even stored at this share and are accessible from windows Clients - so the Access to the share is working.
Thanks in advance for any further hints