Demo for controlling XBMC using the JSON-RPC Protocol with CommandFusion's JavaScript API using HTTP via XBMC's webserver.
- Windows Workstation, Windows XP Professional, XBMC Nightly version Oct 25
- Windows HTPC, Windows 7 Ultimate 64-bit, XBMC Nightly version Oct 26
- Mac Mini, Mac OS X 10.7, XBMC Nightly version Oct 26
- Latest XBMC 11.0 Eden beta version installed on both Windows Workstation and HTPC.
- Make sure the XBMC is setup first before loading the gui file.
- Make sure that the latest nightlies are used. The latest XBMC 11.0 Eden beta version can also be used.
- Please use minimum iViewer 4 for this module.
- Go to System -> Settings -> Network -> Services
- Select the options "Allow control of XBMC via HTTP" and "Allow programs on this systems to control XBMC".
Automatically, the "Allow programs on other systems to control XBMC" will be enabled as well. - Default port is usually 8080. Change the port if other applications are using the same port i.e. Apache webserver, etc. Else, can leave it as it is.
- Change the username and password if needed. By default it's "xbmc" for both username and password. Leaving both blank is also fine.
-
The recommended and fastest way is to load the GUI file and go to the "Settings" dropdown menu. Clicking the top right button with the gear icon.
- Enter the settings that's under the "Network -> Services" settings on the dropdown menu.
- Once "Done" is pressed on the keyboard, the lists for Recently Added Episodes, Movies and Albums will be loaded and should be visible on the Main Menu. The delay will depend on the amount of items being loaded from the databases.
-
The second option is to enter the IP settings of the XBMC machine into the GUI file via the global token manager.
- Go to Edit -> Project Properties -> Global Token Manager
- Change the values as required and save the file.
- Load the GUI file and the lists of data should be visible if connected correctly.
-
The third option is to manually hardcode the settings in the JS file.
- Go to the XBMCGUIapp.js file.
- Scroll all the way down to the CF.userMain function.
- Search for the commented out line "Manually assign IP address and settings of the system".
- Enter the required settings, save the file and load the project.
- Make sure the settings used are correct. Use the same settings as under the XBMC's "Network -> Services".
- Make sure that the port used is not being used by other programs or being blocked by firewall. Try changing the port number to a less commonly used port.
- Make sure the options "Allow control of XBMC via HTTP" and "Allow programs on this system to control XBMC" are selected.
- Try to send some JSON commands directly using tools like Google Chrome's Simple Rest Client to test for feedback and connectivity.
Since this is only a beta version of the module, not all the features are implemented yet.
- Buttons for "Video Player Options" and "Audio Player Options" under the Playing Now page are not assigned actions yet.
- Gestures are only available on Main Menu page in portrait mode at the moment.
<<<<<<< HEAD Please help to post any bug/issues that is encountered using this module. Any inputs or suggestions are also welcomed. * Bug fixes for the current beta version will be pushed to the master branch. * New features / additional requests will be pushed to the developemental branch.
======= Please help to post any bug/issues that is encountered using this module. Any inputs or suggestions are also welcomed.
5a28b97c36af80488e55f30c73e0e389a38ecc6a Use the issues tab of this GitHub repo to report your bugs/feature requests