2010-06-03, 16:07
I recently built XBMC from SVN (my last build was a few months old) and the Web Interface stopped working. By "stopped working" I mean some pages look normal, some look like I have an empty library, and clicking on items on any page takes me to Now Playing without actually queuing the item (or in the case of control buttons on Now Playing, nothing happens at all).
I looked at the error console in firefox and it was reporting some undefined javascript functions (CallPlay most predominant). I looked at the page source and saw that the functions were indeed defined. However, the script tag above said functions are closed XHTML style, which doesn't parse well (tried firefox 3.6 and chromuim).
Example:
<script type="text/javascript" src="json.js" />
<script type="text/javascript">
function CallPlay(movieid) {
Unless the web devs are planning to use html 5 or something, I think it should be this:
<script type="text/javascript" src="json.js"></script>
<script type="text/javascript">
function CallPlay(movieid) {
Patched all html files, and web interface is working for me again.
I looked at the error console in firefox and it was reporting some undefined javascript functions (CallPlay most predominant). I looked at the page source and saw that the functions were indeed defined. However, the script tag above said functions are closed XHTML style, which doesn't parse well (tried firefox 3.6 and chromuim).
Example:
<script type="text/javascript" src="json.js" />
<script type="text/javascript">
function CallPlay(movieid) {
Unless the web devs are planning to use html 5 or something, I think it should be this:
<script type="text/javascript" src="json.js"></script>
<script type="text/javascript">
function CallPlay(movieid) {
Patched all html files, and web interface is working for me again.