Skip to content

CommandFusion/XBMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommandFusion XBMC Control (Beta version)

Demo for controlling XBMC using the JSON-RPC Protocol with CommandFusion's JavaScript API using HTTP via XBMC's webserver.

XBMC TV Shows
XBMC Movies

Test Setup that was used to run this module:

  1. Windows Workstation, Windows XP Professional, XBMC Nightly version Oct 25
  2. Windows HTPC, Windows 7 Ultimate 64-bit, XBMC Nightly version Oct 26
  3. Mac Mini, Mac OS X 10.7, XBMC Nightly version Oct 26
  4. Latest XBMC 11.0 Eden beta version installed on both Windows Workstation and HTPC.

Basic setup for module usage:

  • 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.

Setup Video

XBMC Settings

Setting up XBMC to allow control by CF

  1. Go to System -> Settings -> Network -> Services
  2. 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.
  3. 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.
  4. Change the username and password if needed. By default it's "xbmc" for both username and password. Leaving both blank is also fine.

Setting up the module for use

  1. 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.
  2. 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.
  3. 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.

Some troubleshooting ideas

  1. Make sure the settings used are correct. Use the same settings as under the XBMC's "Network -> Services".
  2. 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.
  3. Make sure the options "Allow control of XBMC via HTTP" and "Allow programs on this system to control XBMC" are selected.
  4. Try to send some JSON commands directly using tools like Google Chrome's Simple Rest Client to test for feedback and connectivity.

Additional notes

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.

Bug Reporting/Feature Requests

<<<<<<< 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

About

Control XBMC with CommandFusion via JSON-RPC Protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •