Pathsubstitution - what can be substituted?
#1
Apart from thumbnails, is there anything else that can be substituted?

Just tried addons & playlists but no luck.

Thanks
Reply
#2
Playlists should work.

Off the top of my head I can think of these:

--Yes
sources.xml
mediasources.xml
addon data
Playlists

--no
guisettings.xml - custom to each tv.
addons - too slow?


Can't recall other files at the moment. Will post more when I am on a real computer (on phone)
Reply
#3
Thanks
Reply
#4
addons, work, but yes, it is really really slow,
with that being said, if i have the same addons installed on 3 differnet pc's (2 slave and 1 master-running mysql and stores thumbnails) and point "addon data" of the 2 slaves to the "master" then should all 3 pc addons be synced? for instance: tv show next aired, hulu, amazon, etc? or do we need to share another folder in "userdata". Hope i havent lost anyone
Reply
#5
Yep, you have the right idea. /addon data/ should be enough to sync all your add-on settings.
Reply
#6
tks, will give it a go and report back
Reply
#7
Alright, finally got back to my laptop!

--Yes
/xbmc/userdata/sources.xml
/xbmc/userdata/mediasources.xml
/xbmc/userdata/RssFeeds.xml
/xbmc/userdata/addon_data/
/xbmc/userdata/keymaps/
/xbmc/userdata/playlists/

--Not sure
/xbmc/userdata/profiles.xml
/xbmc/userdata/upnpserver.xml
/xbmc/userdata/peripheral_data/

--No
/xbmc/addons/
/xbmc/userdata/advancedsettings.xml
/xbmc/userdata/guisettings.xml - Would be okay if each TV was the same resolution and uses the same calibration settings
/xbmc/userdata/Database/
Reply
#8
Is there any different syntax needed for files versus folder? For example,

Code:
<substitute>
    <from>special://masterprofile/Thumbnails/</from>
    <to>smb://TANK/htpc/XBMC/userdata/Thumbnails/</to>
  </substitute>

Works fine for me, but

Code:
<substitute>
    <from>special://masterprofile/sources.xml</from>
    <to>smb://TANK/htpc/XBMC/userdata/sources.xml</to>
  </substitute>

results in an error message
Code:
17:06:42 T:7664  NOTICE: Loading media sources from special://masterprofile/sources.xml
17:06:43 T:7664   ERROR: File::Open - unknown exception when opening C:\Users\htpc\AppData\Roaming\XBMC\userdata\sources.xml
17:06:43 T:7664   ERROR: CSettings::LoadSources Error loading special://masterprofile/sources.xml: Line 0, Failed to open file

This is on Windows 7.
Reply

Logout Mark Read Team Forum Stats Members Help
Pathsubstitution - what can be substituted?0