2010-12-14, 19:42
This problem is known but not solved yet, so here is my solution:
in the file XBMControl.js, function getDirectoryPaths find line:
and edit to:
in the same file, function addDirectoryContent find line:
and edit to:
May be there are another AJAX calls where ampersand can make problems, but these two are essential.
Drop a note if you find some other function influenced by the '&'.
in the file XBMControl.js, function getDirectoryPaths find line:
Code:
var inputUrl = '/xbmcCmds/xbmcHttp?command=GetDirectory(' + url + ')';
and edit to:
Code:
var inputUrl = '/xbmcCmds/xbmcHttp?command=GetDirectory(' + url.replace(/&/g, "%26") + ')';
in the same file, function addDirectoryContent find line:
Code:
var inputUrl = '/xbmcCmds/xbmcHttp?command=AddToPlayList(' + folderPath + p + m + r + ')';
and edit to:
Code:
var inputUrl = '/xbmcCmds/xbmcHttp?command=AddToPlayList(' + folderPath.replace(/&/g, "%26") + p + m + r + ')';
May be there are another AJAX calls where ampersand can make problems, but these two are essential.
Drop a note if you find some other function influenced by the '&'.