Substitution [need some clarity]
#1
Hi all,

I am looking to substitute my sources.xml file on a couple of XBMC boxes.


Code:
<substitute>
    <from>special://profile/sources.xml</from>
    <to>PROTOCOL://YOUR_NETWORK_SHARE/xbmc/userdata/sources.xml</to>
  </substitute>
  <substitute>
    <from>special://profile/mediasources.xml</from>
    <to>PROTOCOL://YOUR_NETWORK_SHARE/xbmc/userdata/mediasources.xml</to>
  </substitute>

In this case, I am using Windows for one of the boxes, so for the *from* tag, should my directory be "C:\Users\Username\AppData\Roaming\XBMC\userdata\", or am I supposed to keep the "special://profile..."?

The *to* is simple enough, as I point to the new sources.xml folder, but what about the *from* directories?

(Windows 7 & Ubuntu installs)
Reply
#2
You need to use special I believe.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
The <from> should be exactly as the example shows, special://profile/sources.xml

Reply
#4
is it possible to change the location of sources.xml to a webserver instead of local smb:// share ?

for example this is what i am trying to accomplish

<substitute>
<from>special://profile/sources.xml</from>
<to>http://website/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/mediasources.xml</from>
<to>http://website/mediasources.xml</to>
</substitute>

in simple words i want kodi to read sources.xml from a remote location as i have 4 devices at 2 different locations, i tried the above it doesn't work
i did read http://kodi.wiki/view/Path_substitution and http://kodi.wiki/view/advancedsettings.xml and didn't find what i'm doing wrong


any help would be appreciated.thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Substitution [need some clarity]0