Posts: 65
Joined: Oct 2018
Reputation:
3
Hi everybody
since kodi 18 beta 4 my substitute path for sources.xml not working anymore.
am i alone with this problem ? no one talk about this in the forum
thank you
Posts: 3,575
Joined: Mar 2011
Reputation:
194
There's a note in the wiki to say pathsubs for sources are broken and won't be fixed.
I'm not sure exactly what's broken, as mine still work.
Posts: 10,678
Joined: Oct 2011
Reputation:
657
jjd-uk
Team-Kodi Member
Posts: 10,678
If the sources.xml is on a password protected share then it's unlikely to work anymore, if you want to continue to do use a shared sources.xml then you'll have to put it on an share with no password protection.
Posts: 138
Joined: Nov 2012
Reputation:
10
I've found this but only on the Windows build. If I run on Libreelec it's fine. Realised this was happening when my library scan started prompting for missing sources.
KODI Nexus - CoreELEC everywhere on Ugoos AM6 Plus&Pro, Plex Server, HDHomerun with TVHeadend on my NAS.
Posts: 4
Joined: Nov 2018
Reputation:
0
2018-11-30, 16:26
(This post was last modified: 2018-11-30, 17:07 by palindrom.)
Same issue. Still existing with 18.RC1. Windows 6 Android builds.
<pathsubstitution>
<substitute>
<from>special://masterprofile/sources.xml</from>
<to>nfs://192.168.1.250/_kodi/sources.xml</to>
</substitute>
</pathsubstitution>
Posts: 4
Joined: Nov 2018
Reputation:
0
2018-11-30, 17:11
(This post was last modified: 2018-11-30, 17:15 by palindrom.)
I need an alternative to pathsubstitution, because I am using Kodi shared PC/Android TV/Android Tablets.
Scanning the library and changing sources on the PC and sharing it to all devices (incl. MySYL DB) is essential to me.
An alternative could be:
<system>
<sourcepath>nfs://192.168.1.250/Videos/_kodi</sourcepath>
</system>
Posts: 138
Joined: Nov 2012
Reputation:
10
Agree on the fact that all updating has to occur on one machine - I've seen doubles in the library otherwise. I tend to now just use FreeFileSync to make sure the latest files are on all clients so I don't need them centrally any more.
KODI Nexus - CoreELEC everywhere on Ugoos AM6 Plus&Pro, Plex Server, HDHomerun with TVHeadend on my NAS.
Posts: 65
Joined: Oct 2018
Reputation:
3
so you think i can delete sources.xml on the "slave" kodi ?
Posts: 15
Joined: Mar 2013
Reputation:
1
robvh
Junior Member
Posts: 15
kodi.log illustrates why path substitution won't work for sources.xml. Message
NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
occurs before processing of special://xbmc/system/advancedsettings.xml and special://profile/advancedsettings.xml
15:22:11.147 T:139916419999872 NOTICE: -----------------------------------------------------------------------
15:22:11.147 T:139916419999872 NOTICE: Starting Kodi (18.0-RC5 Git:18.0rc5.2-Leia). Platform: Linux x86 64-bit
15:22:11.147 T:139916419999872 NOTICE: Using Release Kodi x64 build
15:22:11.147 T:139916419999872 NOTICE: Kodi compiled 2019-01-16 by GCC 8.2.0 for Linux x86 64-bit version 4.19.14 (267022)
15:22:11.147 T:139916419999872 NOTICE: Running on LibreELEC (official): 8.95.003 9.0, kernel: Linux x86 64-bit version 4.19.14
15:22:11.147 T:139916419999872 NOTICE: FFmpeg version/source: 4.0.3-Kodi
15:22:11.147 T:139916419999872 NOTICE: Host CPU: AMD E-350 Processor, 2 cores available
15:22:11.147 T:139916419999872 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi/
15:22:11.147 T:139916419999872 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
15:22:11.147 T:139916419999872 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
15:22:11.147 T:139916419999872 NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
15:22:11.147 T:139916419999872 NOTICE: special://envhome/ is mapped to: /storage
15:22:11.147 T:139916419999872 NOTICE: special://home/ is mapped to: /storage/.kodi
15:22:11.147 T:139916419999872 NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
15:22:11.147 T:139916419999872 NOTICE: special://logpath/ is mapped to: /storage/.kodi/temp
15:22:11.147 T:139916419999872 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
15:22:11.147 T:139916419999872 NOTICE: Local hostname: LibreELEC
15:22:11.148 T:139916419999872 NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
15:22:11.148 T:139916419999872 NOTICE: -----------------------------------------------------------------------
15:22:11.156 T:139916419999872 INFO: loading settings
15:22:11.157 T:139916419999872 NOTICE: special://profile/ is mapped to: special://masterprofile/
15:22:11.190 T:139916419999872 DEBUG: CSkinSettings: no <skinsettings> tag found
15:22:11.190 T:139916419999872 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
15:22:11.191 T:139916419999872 DEBUG: CMediaSourceSettings: Setting <default> source to : tvrecordings
15:22:11.198 T:139916419999872 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
15:22:11.198 T:139916419999872 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<?xml version="1.0" encoding="utf-8" ?>
<advancedsettings>
<cputempcommand>/usr/bin/cputemp</cputempcommand>
<gputempcommand>/usr/bin/gputemp</gputempcommand>
<showexitbutton>false</showexitbutton>
<remotedelay>1</remotedelay>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<video>
<latency>
<delay>0</delay>
<refresh>
<min>23</min>
<max>24</max>
<delay>175</delay>
</refresh>
</latency>
</video>
</advancedsettings>
15:22:11.198 T:139916419999872 WARNING: CSettingsManager: missing version attribute
15:22:11.200 T:139916419999872 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
15:22:11.201 T:139916419999872 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/keymaps/</from>
<to>smb://sat.lan/KodiClient/userdata/keymaps/</to>
</substitute>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://sat.lan/KodiClient/userdata/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/addon_data/</from>
<to>smb://sat.lan/KodiClient/userdata/addon_data/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
15:22:11.201 T:139916419999872 DEBUG: Configuring path substitutions
15:22:11.201 T:139916419999872 DEBUG: Registering substitution pair:
15:22:11.201 T:139916419999872 DEBUG: From: [/storage/.kodi/userdata/keymaps/]
15:22:11.201 T:139916419999872 DEBUG: To: [smb://sat.lan/KodiClient/userdata/keymaps/]
15:22:11.201 T:139916419999872 DEBUG: Registering substitution pair:
15:22:11.201 T:139916419999872 DEBUG: From: [/storage/.kodi/userdata/sources.xml]
15:22:11.201 T:139916419999872 DEBUG: To: [smb://sat.lan/KodiClient/userdata/sources.xml]
15:22:11.201 T:139916419999872 DEBUG: Registering substitution pair:
15:22:11.201 T:139916419999872 DEBUG: From: [/storage/.kodi/userdata/addon_data/]
15:22:11.201 T:139916419999872 DEBUG: To: [smb://sat.lan/KodiClient/userdata/addon_data/]