Can't get substitute of passwords to work.
#1
I'm trying to make my sharing between my devices as easy and dynamic as possible. Therefor I have set up the substitutions as descriped here:

http://wiki.xbmc.org/index.php?title=HOW...ts_of_XBMC

It seems like everything is working fine, except the substitution of the passwords.xml file. My guess is that the issue it with the network share the shared files are located, has a password. Can't seem to create it without any access control (limitation to my NAS server). My idea on the solution for this was that I could put the following in my advancedsettings-file:

<substitute>
<from>special://profile/passwords.xml</from>
<to>smb://user:password@NAS-SERVER-IP/XBMCShare/passwords.xml</to>
</substitute>

This is also how all my other substitutions (as descriped on XBMC-wiki) are made, but for some reason, XBMC crashes when loading the sources.xml, when the passwords.xml is part of the substitution:

http://xbmclogs.com/show.php?id=69587

If I instead copy the passwords.xml to my ATV2, and have it include the path to the share, where the substitution files are located, and remove the substitution of passwords.xml in the advancesettings.xml, it works great:

http://xbmclogs.com/show.php?id=69586

My guess is that XBMC maybe removes the user and password from to "to" option in the above XML code, since the password are to be located in the substituted password-file. And since the user and password is required in order to read the password-fil, this can't be done.
I'm aware that the log indicates that there still is an issue with the sharing of the Thumbnails. It correct that there's no such directory on the share, even through the thumbnail-substitution also is set on my PC, whitch are were the update of the library is made. However, it didn't seem to make the syncronization of the thumbnails correctly, before I included this substitution.

I really hope the above make sense, cause I find it a bit difficult to explain.

But again, the above is just a guess on why it isn't working, but was hoping it somehow was possible to substitute the password file as well and that someone could help me and explain exactly why the above isn't working.
Reply
#2
I don't think it will work. I'll ask around, but I think the passwords.xml file just needs to be manually copied for the time being.
Reply
#3
Or passwords.xml should be hosted by a source which doesn't need authentication ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Oh, passwords.xml is on the password protected SMB share! Chicken and the egg :D
Reply

Logout Mark Read Team Forum Stats Members Help
Can't get substitute of passwords to work.0