Ronny! Wrote:That's a good one, I run indeed a nightly (for the ATV2, I don't know if this is any different?). But I don't know if this nightly I'm running is newer than the 15th of Oct. I will update to the newest and test again.
I'm now running the latest nightly for the ATV2 (xbmc-20111024-c5758bf-master-atv2.deb).
Still got the same error
On my PC, running the latest nightly on windows 7, it seems to be working okay. So there is something different in the Darwin version..
Well I updated to the latest nightly and checked my sources. My sources are using host names instead of IP addresses. I added a share by IP and it looks like it's failing just like you said.
I messed around with the JSON-RPC call Files.GetDirectory which, when passed a folder, should give back the contents of that folder. Unfortunately it seems like it doesn't work with IP addresses.
I've posted in the JSON-RPC development thread to see if our code is doing something wrong or if it's designed that way. If the call is working as intended, then there's not much we can do.
Is there a reason that you're using IPs instead of host names?
Edit: I lied!
The problem isn't with Files.GetDirectory, it's with Files.GetSources. When I ask for a list of sources, it will give me back something like smb://192.168.1.100/share/ but that won't help me out when I need something like: smb://user: [email protected]
/share/ in order for Files.GetDirectory to work.