2015-03-09, 21:42
Hi,
I'm facing a problem where Kodi won't load the sources from a network share using the path subtitution.
Kodi boots on Windows startup and then sources are not loaded properly.
If a restart Kodi then there's no problem.
I have enabled the logs and when the sources are loaded correctly, the following line is displayed. But if they aren't the line is simply gone and no related error is displayed (believe me, I checked).
The library works fine but the sources aren't there.
This is my advancedsettings.xml
Thanks.
I'm facing a problem where Kodi won't load the sources from a network share using the path subtitution.
Kodi boots on Windows startup and then sources are not loaded properly.
If a restart Kodi then there's no problem.
I have enabled the logs and when the sources are loaded correctly, the following line is displayed. But if they aren't the line is simply gone and no related error is displayed (believe me, I checked).
Code:
NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
The library works fine but the sources aren't there.
This is my advancedsettings.xml
Code:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>IP</host>
<port>PORT</port>
<user>USER</user>
<pass>PASS</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>IP</host>
<port>PORT</port>
<user>USER</user>
<pass>PASS</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://SERVER/xbmc/sources.xml</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Thanks.