2014-04-23, 15:15
(2014-04-22, 17:55)underworld123 Wrote:(2014-04-22, 16:16)kyoo Wrote: Hi folks.. I just put Gotham nightly on my FTV last night.. wow was that simple... it seems to work fairly well. I started to play around with the <pathsubstitution> features in an effort to make life easier for me when wiping the builds and adding new ones.. My goal being just to push advancedsettings.xml over and be done..
This is the pathsubstitution segment from the advancedsettings.xml file.. if I uncomment the passwords and/or the mediasources.xml sections, XBMC no longer starts.. the debug log doesn't show squat for a reason, either. What am I doing wrong? Thankfully, the sources substitution works.. I don't know if the profiles.xml subs actually does anything.. I was trying to figure out a way to read the "masterlock" info from a centralized config file.. not sure that's feasible though, since those settings appear to be strewn across lots of files.. one being the guisettings.xml, which shan't be centralized..
Thoughts on what I'm doing wrong here?
Code:<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://user:[email protected]/xbmc/userdata/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/profiles.xml</from>
<to>smb://user:[email protected]/xbmc/userdata/profiles.xml</to>
</substitute>
<!--
<substitute>
<from>special://profile/passwords.xml</from>
<to>smb://user:[email protected]/xbmc/userdata/passwords.xml</to>
</substitute>
<substitute>
<from>special://profile/mediasources.xml</from>
<to>smb://user:[email protected]/xbmc/userdata/mediasources.xml</to>
</substitute>
-->
</pathsubstitution>
Wondering if the special:// paths do not work on AFTV. Can you try something like
Code:/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
This will be a wonderful solution for a device with limited storage capacity. Let us know if you get this working.
BTW, here is another thread on the issue http://forum.xbmc.org/showthread.php?tid=181063
Direct paths like that don't seem to work on the FTV... I tried numerous combinations trying to get Thumbnails offloaded to my server. What worked for me (on Gotham) was to use the xbmc "special" protocol. In my case... special://thumbnails. That worked like a charm... however, when I tried to apply this same pathsub to a second profile it failed.
I tried special://thumbnails in the advancedsettings.xml on that profile as well as special://profile/thumbnails which, by their definition, should have pointed directly to the active profile.
NOTE: This does introduce a little lag when pulling up thumbnails/fanart while browsing. But to save a ton of space on a limited storage device... it's worth it to me.
If anyone knows how to get this working for a profile other than masterprofile, I'd really like to know.