2010-10-27, 21:43
To Kabooga:
Found that in the XBMControl.js there is something strange.
In the getMusicSharesSuccess, the received server response is:
while in the newNode.on call, the node.attributes.data contains:
Next, this path is sent by getDirectoryPaths to the server. Windows-based server accepts this, but Linux-based XBMC web server seems not accepting backslashes in the path as the response is:
The function getDirectorySuccess ignores this is an ERROR message and uses result as regular name.
I still don't understand fully the source so I didn't found where the slash conversion takes place. This is evidently a bug, just not sure where, as the Javascript should accept both slashes and backslashes as separators.
May be this will help you making the XBMControl-web more Linux-friendly?
Found that in the XBMControl.js there is something strange.
In the getMusicSharesSuccess, the received server response is:
Code:
<html>
<li>test;/home/test/
</html>
Code:
\home\test\
Code:
<html>
<li>Error: \home\test\Not folder
</html>
I still don't understand fully the source so I didn't found where the slash conversion takes place. This is evidently a bug, just not sure where, as the Javascript should accept both slashes and backslashes as separators.
May be this will help you making the XBMControl-web more Linux-friendly?