Win Path substitution not working with sources.xml
#1
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
Reply
#2
is this your complete "advancedsettings.xml"? If not...could you post it please?
Reply
#3
Here is the complete Advancedsettings xml:

<advancedsettings>
<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>

<videodatabase>
<type>mysql</type>
<host>192.168.17.251</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.17.251</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>


Regards
Reply

Logout Mark Read Team Forum Stats Members Help
Path substitution not working with sources.xml0