Giter Site home page Giter Site logo

goldenratio / xbmc-web-remote Goto Github PK

View Code? Open in Web Editor NEW
43.0 11.0 17.0 43.9 MB

Kassi - Kodi/XBMC Remote Control using Web Sockets. Available as Web App, Firefox Addon, Chrome Extension and more..

Home Page: http://goldenratio.github.io/xbmc-web-remote/

License: MIT License

Shell 0.14% JavaScript 58.01% HTML 19.90% CSS 21.95%

xbmc-web-remote's Introduction

Kassi - Kodi/XBMC Remote Control (Unofficial)

XBMC Remote Control using Web Sockets. (Frodo v12 and above)

Live Web Demo: http://goldenratio.github.io/xbmc-web-remote/remote/remote.html

Chrome Extension: Install from Chrome WebStore, https://chrome.google.com/webstore/detail/xbmc-remote-control/jgannjdjlpnoibphpbmmfjkejcfhcmjp?hl=en-US

Firefox Browser Add-on: https://addons.mozilla.org/en-US/firefox/addon/xbmc-remote-control/

Firefox OS App: Install from Marketplace, https://marketplace.firefox.com/app/xbmc-remote-control

Opera 11-12 Extension (legacy): https://addons.opera.com/en/extensions/details/xbmc-remote/

Opera 15+ (Next) Extension: https://addons.opera.com/en/extensions/details/xbmc-remote-control/

Standalone Executable

  1. Linux 32 bit - https://www.dropbox.com/s/864763xzz1tarhw/linux_32.tgz?dl=1
  2. Windows - https://www.dropbox.com/s/xzotd1j9fjeo3ie/win.zip?dl=1

Requirements:

  1. Works with XBMC Frodo (v12) and above.
  2. You need to enable "Allow program on other system to control XBMC" option. You can find this under, System > Settings > Services > Remote Control

Building Project:

Compile Chrome Extension

  1. Run ant target "package_chrome-extension".
  2. Build files will be generated in target folder.
  3. Zip file in target folder is used for Chrome WebStore.
  4. target/chrome_extension/xbmc_remote can loaded directly to Chrome as unpacked extension in Developer mode.

Compile Firefox OS App

  1. Run ant target "package_firefox-OS_app".
  2. Build files will be generated in target folder.
  3. Zip file in target folder is used for Firefox OS Marketplace.
  4. target/fxosapp/xbmc_remote can loaded directly using Firefox OS simulator add-on.

Compile Firefox Browser Add-on

  1. Run ant target "package_firefox_addon".
  2. Build files will be generated in target folder.
  3. xpi file in target folder, is used for distribution.
  4. target/firefox_addon/xbmc_remote can be loaded directly to firefox using CFX command line tool, more details here
  5. Open terminal and enter source bin/activate
  6. Navigate to folder target/firefox_addon/xbmc_remote/
  7. Enter cfx run will run an instance of Firefox with add-on installed.

Compile Opera 11-12 extension

  1. Run ant target "package_opera-legacy_extension".
  2. Build files will be generated in target folder.
  3. oex file in target folder, is used for distribution.
  4. target/opera_legacy_extension/xbmc_remote can loaded directly to Opera. Just drag and drop config.xml to Opera.

Compile Opera 15+ extension

  1. Run ant target "package_opera-next_extension".
  2. Build files will be generated in target folder.
  3. zip file in target folder, is used for distribution.
  4. target/opera_next_extension/xbmc_remote can loaded directly to Opera as unpacked extension in Developer mode.

Compile Ubuntu Click App

  1. Run ant target "package_ubuntu-click_app".
  2. Build files will be generated in target folder.
  3. *.click file in "target/ubuntuapp" folder is used for distribution

xbmc-web-remote's People

Contributors

come-maiz avatar goldenratio avatar peterdavehello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xbmc-web-remote's Issues

Installed but not runable - Firefox 42

After installing the add-on in Firefox, I cannot run it.

It is not shown in any toolbar, or in the Customize Firefox list.
It is listed in Add-ons Manager, and it is enabled, but i cannot run it from the manager.

I've tried installing/uninstalling and restarting Firefox, but no success.

Any ideas?

I'm on Firefox 42 Windows 8.1 x64.

Add mouse-driven volume widget

It would be useful to have volume control with mouse. Mouse wheel would probably be the most comfortable from my side, but a slider would be also good to have. For the occasional reader: it's already possible to use CTRL-arrow (up / down) to control volume, but for setup in which you only have a mouse nearby it'd still be useful to have the possibility to do that with the mouse

Wrong size in BQ E4.5 Ubuntu Edition

Hi! Thanks for this awesome app!

In the BQ E4.5 Ubuntu Edition phone, the screen is more bigger that the phone. Please, take a look to my picture.
2015-02-14 10 42 02

Thanks in advance!

Cannot connect Raspbmc

So, Yatse on Android seems to work as a remote just fine, but neither media remote or your project works with my laptop or any other I tried it with. Is it something with my machine?

The ability to add multiple devices (Kodis) in the extension's settings.

I really like this extension. I use it a lot.

One feature I'm missing, though, is being able to add multiple devices in the settings: I have Kodi both in my living room and in my bedroom, and every time change room, I have to change the ip-adr. in the extension's settings. It would be really nice to be able to have multiple devices – and maybe even name them in the settings.

I'd really appreciate the feature.

Not working, FF Quantum Beta

Hi,

As per issue #42 I'm running FF 57.0b4. Does not work.

The extension is downloaded directly from https://addons.mozilla.org/en-US/firefox/addon/xbmc-remote-control/ and it's the only installed extension.

Handshake attempt from FF:

T 2017/09/30 00:41:06.544015 192.168.1.15:61421 -> 192.168.1.35:9090 [AP]
GET /jsonrpc HTTP/1.1..Host: 192.168.1.35:9090..User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0..Accept: text/html,application/xhtml
+xml,application/xml;q=0.9,/;q=0.8..Accept-Language: en-US,en;q=0.5..Accept-Encoding: gzip, deflate..Sec-WebSocket-Version: 13..Origin: moz-extension://c8ab1884-6342-4603-ac
05-05a6793ee04d..Sec-WebSocket-Extensions: permessage-deflate..Sec-WebSocket-Key: psikuW8BbOqEo4ha1Js6Dg==..Connection: keep-alive, Upgrade..Pragma: no-cache..Cache-Control: n
o-cache..Upgrade: websocket

No reply from Kodi (Krypton 17.4)

And this is the handshake under Chrome:

T 2017/09/30 00:44:13.434947 192.168.1.15:61518 -> 192.168.1.35:9090 [AP]
GET /jsonrpc HTTP/1.1..Host: 192.168.1.35:9090..Connection: Upgrade..Pragma: no-cache..Cache-Control: no-cache..Upgrade: websocket..Origin: chrome-extension://jgannjdjlpnoibph
pbmmfjkejcfhcmjp..Sec-WebSocket-Version: 13..User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36..A
ccept-Encoding: gzip, deflate..Accept-Language: es,en-US;q=0.8,en;q=0.6..Sec-WebSocket-Key: qgCAiKdiSKAPaI6boOVN0w==..Sec-WebSocket-Extensions: permessage-deflate; client_max_
window_bits....

T 2017/09/30 00:44:13.435472 192.168.1.35:9090 -> 192.168.1.15:61518 [AP]
HTTP/1.1 101 Switching Protocols..Upgrade: websocket..Connection: Upgrade..Sec-WebSocket-Accept: Y/gyhUQHzcKEIbM6zdzFpcr4q0s=....

Thanks,

Rubén.

Kodi Port 9090 Listens on TCP6 only in Ubuntu 14.10 64bit

Hi

So I have been reading that some of the users on Ubuntu 64bit are having problems connecting even if the allow remote control option is set in Services. I also had the same problem even after opening 9090 in Ubuntu Firewall. So this is what I saw in my box where for HTTP server I have manually chosen port 4040 (instead of the default 8080).

tifozi@tuxy:$ netstat -an|grep 4040
tcp 0 0 0.0.0.0:4040 0.0.0.0:* LISTEN
tcp6 0 0 :::4040 :::* LISTEN
tifozi@tuxy:
$

But when I search for 9090 I get this

tifozi@tuxy:~$ netstat -an|grep 9090
tcp6 0 0 :::9090 :::* LISTEN

Looks like port 9090 is not listening on TCP4. Could this be why some users are not able to connect even after opening it in firewall? Is this configurable?

Don't shutdown the computer without notice

Hi, I just installed this very nice addon but had a nasty surprise. When I clicked on the off button, my whole computer shut down (which is not a dedicated media server, is a multifunction home server, so shutting down is bad). What I expected was just for Kodi to exit.

I think there should be at least a one time warning about this, and ideally a submenu to pick what to do (like in Kodi itself and in Kore, the official Android remote control). If that's too complicated, maybe there could be a setting to choose what to do when the off button is clicked, or at least an option to hide that button (for me is really to risky to use this addon, I can't afford to press the off button accidentally).

Thanks!

Show player info

Show what video/audio file is playing, with:

  1. seekbar
  2. to change audio track
  3. to change subtitles
  4. show cover image with title
  5. volume control

Cannot connect to xbmc

Hi there,

for some reason i cannot get the chrome extension to work.
After completing the settings only "connecting please wait" appears.
The standalone Win32 (on the same machine) connects just fine.
I double checked the settings ;-)

Any clue/hint?

THX

App not showing up

I added the XBMC remote to Chrome from my Chromecast and it is not showing up there or on my PC in Chrome. How do I get it to show up.

Will not connect if use XBMC is on same machine

I can't seem to get this extension to connect. I have XBMC install on the same machine as Chrome but XBMC is set to display on a TV across the room. I would like to control when I'm sitting at my computer desk. Chrome extension "Play to XBMC" works but does not offer all the features of this extension.

Shouldn't use the absolute path to qmlscene

I get this error from the ubuntu click app: "desktop_Exec (xbmcwebremote)": "absolute path '/usr/bin/qmlscene $@ xbmcwebremote.qml' for Exec given in .desktop file."

This is the explanation from #ubuntu-app-devel: you need to not specify a path to qmlscene or your qml file as with confinement they can be in a relocated directory
just qmlscene instead of /usr/bin/qmlscene

Chrome extension>UI clipping with DPI above 100%

When DPI scaling is above 100% (125% in my use-case), the bottom portion of the visible Chrome extension is clipped - specifically the text labels for the bottom buttons. See picture attachment.

2016-01-02

Missing license information

There is no indication about the license of the project in the source tree. It would be nice to have a license on a file called COPYING on the root of the project.

Keyboard shortcuts

Please could you add support for arrow keys to skip forward and back when playing a video.

Also if the keyboard keymap from Kodi can be added to this app would be great.

Hope to hear from you.

Thanks

Add keyboard shortcuts for common features not in the ui

personally, adding a keyboard shortcut for:

w - mark as watched/unwatched

would make my life a lot easier for managing my library rather than having to hit the context menu button each time and then tapping down to the mark as watched option. however, i realise that not everyone would share my preference. so how about adding the http://kodi.wiki/view/Keyboard_controls and letting the users enable and set a keyboard shortcut for each one on that list.

Great addons, but stopped working

Hi,

This is a great addon, very handy, alas it has stopped working a little while back.
It coincided with upgrade to Kodi on my HTPC, but I think it has to do more with Firefox, running tcpdump on both my laptop as well as the HTPC indicates no traffic on port 9090 whatsoever.

Launching Firefox in a terminal spits out the following:

console.error: xbmc-remote:
DEPRECATED: The widget module is deprecated. Please consider using the sdk/ui module instead.
Traceback (most recent call last):
File "resource://gre/modules/Promise-backend.js", line 870, in Handler.prototype.process
nextValue = this.onResolve.call(undefined, nextValue);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 86, in startup/</<
run(options);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 145, in run
let program = main(options.loader, options.main);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 684, in main
return loader.load(loader, module).exports;
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 318, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 267, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://jid1-xjowf7m9ffgmvq-at-jetpack/xbmc-remote/lib/main.js", line 8, in null
var widgets = require("sdk/widget");
File "resource://gre/modules/commonjs/toolkit/loader.js", line 591, in require
freeze(load(loader, module));
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 318, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 267, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://gre/modules/commonjs/sdk/widget.js", line 59, in null
require("./util/deprecate").deprecateUsage(
File "resource://gre/modules/commonjs/sdk/util/deprecate.js", line 18, in deprecateUsage
let stack = get().slice(2);

Add File Manager

Ability to browse through files in video, movies, audio, etc.. sections.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.