2006-03-10, 02:12
XBMC AJAX Interface (BETA 2)
by liquidice
[email="[email protected]"][email protected][/email]
Download XBMC AJAX Interface BETA 2 version here: http://trac.xbmc.org/ticket/2691
(the old BETA 2 version can still be found http://trac.xbmc.org/ticket/2623)
-------------
installation:
-------------
just unzip and upload the ajax folder into your xbmc/web/ directory
once uploaded navigate mozilla firefox over to /ajax/]http://[xboxip]/ajax/
please use the firefox browser, ie does not like my css or scripts.
-------
changes
-------
version notes - beta 2
-fixed some issues with local file paths being escaped incorrectly
-fixed lots of css problems with text wrapping and buttons being pushed off screen.
-tried and failed to get thumbnails from local folders- when i send an escaped directory name (ex. f:\\my%20music\\eminem%20-%20marshal%20mathers%20lp) it does not return the correct crc, or the image path it returns is invalid. album art works perfectly from smb paths though unless there are special characters in the directory $%^&*() .. what is the correct way to escape these directories for the getthumb command?
-initial support for ie. if you ignore the error popups, most features seem to work ok. i honestly don't know if this will get fixed soon. i have already developed a custom firefox skin for this project which makes the scrollbars bigger. this skin along with the latest firefox release (1.5.0.1) works consistantly on several computers both windows and linux for me.
-updated gui graphics
-cleaned up drag and drop code.
-lowered polling interval to prevent timeouts in javascript and the script execution delay bug.
-added javascript to disable right click
-added javascript to disable text selection
-added volume control for xbmc (optional code for controlling a/v reciever through external ip control system)
there is still more to come, just wanted to get another release out there since this is much more useable than the first release. i always welcome feedback and feature requests, and if anyone wants to use all or parts of my code, feel free to make modifications as long as you contribute your changes back to the community.
---
version notes - beta 1
This is the first release of the ajax interface for xbmc. it is a touchpanel friendly web-based gui written completely in javascript which makes use of the prototype framework and script.aculo.us effects.
It uses XBMC's Web Server HTTP API:
http://wiki.xbmc.org/?title=Web_Server_HTTP_API
This gui has drag and drop functionality. to add a song or album to your playlist, simply drag it from the music library column on the left to the playlist on the right. you can also add and play songs by single clicking and using the button interface.
i have also implemented some functions to download album art and would like to get feedback if this is working for others. i have been doing most of my testing with mp3's located on an smb share.
if no songs are playing it will take a screenshot and display it in the browser., if you click on the screenshot it will refresh. i am probably going to add a 'controller' interface so that it will be easy to navigate the tv interface remotely.
huge thanks to everyone in #xbmc, pike, nad, kraqh3d, and everyone else who has contributed to the HTTP API and XBMC Media Center!
by liquidice
[email="[email protected]"][email protected][/email]
Download XBMC AJAX Interface BETA 2 version here: http://trac.xbmc.org/ticket/2691
(the old BETA 2 version can still be found http://trac.xbmc.org/ticket/2623)
-------------
installation:
-------------
just unzip and upload the ajax folder into your xbmc/web/ directory
once uploaded navigate mozilla firefox over to /ajax/]http://[xboxip]/ajax/
please use the firefox browser, ie does not like my css or scripts.
-------
changes
-------
version notes - beta 2
-fixed some issues with local file paths being escaped incorrectly
-fixed lots of css problems with text wrapping and buttons being pushed off screen.
-tried and failed to get thumbnails from local folders- when i send an escaped directory name (ex. f:\\my%20music\\eminem%20-%20marshal%20mathers%20lp) it does not return the correct crc, or the image path it returns is invalid. album art works perfectly from smb paths though unless there are special characters in the directory $%^&*() .. what is the correct way to escape these directories for the getthumb command?
-initial support for ie. if you ignore the error popups, most features seem to work ok. i honestly don't know if this will get fixed soon. i have already developed a custom firefox skin for this project which makes the scrollbars bigger. this skin along with the latest firefox release (1.5.0.1) works consistantly on several computers both windows and linux for me.
-updated gui graphics
-cleaned up drag and drop code.
-lowered polling interval to prevent timeouts in javascript and the script execution delay bug.
-added javascript to disable right click
-added javascript to disable text selection
-added volume control for xbmc (optional code for controlling a/v reciever through external ip control system)
there is still more to come, just wanted to get another release out there since this is much more useable than the first release. i always welcome feedback and feature requests, and if anyone wants to use all or parts of my code, feel free to make modifications as long as you contribute your changes back to the community.
---
version notes - beta 1
This is the first release of the ajax interface for xbmc. it is a touchpanel friendly web-based gui written completely in javascript which makes use of the prototype framework and script.aculo.us effects.
It uses XBMC's Web Server HTTP API:
http://wiki.xbmc.org/?title=Web_Server_HTTP_API
This gui has drag and drop functionality. to add a song or album to your playlist, simply drag it from the music library column on the left to the playlist on the right. you can also add and play songs by single clicking and using the button interface.
i have also implemented some functions to download album art and would like to get feedback if this is working for others. i have been doing most of my testing with mp3's located on an smb share.
if no songs are playing it will take a screenshot and display it in the browser., if you click on the screenshot it will refresh. i am probably going to add a 'controller' interface so that it will be easy to navigate the tv interface remotely.
huge thanks to everyone in #xbmc, pike, nad, kraqh3d, and everyone else who has contributed to the HTTP API and XBMC Media Center!