[Web Interface Addon] wTouch - Web Based Gesture Remote Control

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
oneadvent Offline
Fan
Posts: 404
Joined: May 2011
Reputation: 1
Post: #46
I really like this plugin but it is having some trouble getting images, where does it find them?

Code:
http://192.168.1.192:8080/thumb/DefaultAddonVideo.png.jpg

or

Code:
http://192.168.1.192:8080/thumb//home/oneadvent/.xbmc/addons/plugin.video.cartoon.network/icon.png.jpg

(The first one is supposed to be to go into Addons, the second is once I'm there and one of the plugins.)

I like how I can use plugins remotely with this interface. A+
find quote
DaniB1980 Offline
Junior Member
Posts: 11
Joined: Sep 2010
Reputation: 0
Post: #47
First of all: Appreciate the work done on this web interface!
Not sure if you are aware but with the latest release of XBMC some major changes have been done to the JSON interface.
Due to this changes some of the funtcionality of wtouch, such as playing a song, will not work anymore. Is this somehting that is going to be fixed?

Cheers
find quote
Robotica Offline
Posting Freak
Posts: 1,277
Joined: Aug 2010
Reputation: 5
Post: #48
Yes, this webinterface need some changes to meed latest XBMC version. Dharma (and also 10.1) should still work.

But https://github.com/xbmc/xbmc/pull/238 is about playing via webinterface
find quote
peprasetya Offline
Member
Posts: 52
Joined: Aug 2009
Reputation: 0
Post: #49
Hi All,

Sorry for never make any update nor information about the wTouch.
And really sorry that I could not make any progress in moment, as I have to focus on another project and was really could not keep updated with the changed based on the GIT Source Code.

So I may (again may) only work if Eden finalized, and it's really depend on my another project. But as far as my last test, the gesture control is still work.
Media Browser is broken, and cover image and information of playing media also broken.

But you still can use the gesture, left, right, up, down, tap, left-right and right-left.
There is an issue with Eden update too, that the default theme is become horizontal, while Dharma was vertical menu. This rather conflicted with the wTouch, as multiple action is happen for up and down only, while left and right just happen once per gesture as we need to enable extended left-right and right-left gesture.

I do hope someone else use my code/idea about the gesture and implement in more supporting progress
find quote
peprasetya Offline
Member
Posts: 52
Joined: Aug 2009
Reputation: 0
Post: #50
Time for Update.....

Umh... well not so much update for the new version 0.4.1
There is no performance tuning, and just:
1. Update compatibility for Eden, so you need the Beta 1 of Eden to use this version.
2. Add new gyroscope base gesture, just tap and hold and conduct your phone in front your your TV.
3. Gyroscope also used to pause the media while playing with just turn your device up-side-down, with screen facing your table. Turn it up will automatically play the media again.

BTW the gyroscope base gesture is only supported on device that the browser support the API, such iPhone 4/4s, iPad 2 (but the layout is not designed for iPad, and might be weird to conducting the XBMC with a big device), and iPod touch 4th generation.

I do not know what will be happen with Android any version, 2.x i think still not support the gyroscope api in its browser, version 4 never able to try at the moment.

Still to be note, i made wTouch primarily to remoting. Yes there is media browser, and honestly, i'm never use that, except on testing the features, so that part is not my focus.
I'm welcomed for any comment and suggestion. But as previously, it's hard to make progress more than a year, as I'm bound to another long and real job for me
(This post was last modified: 2012-01-11 11:35 by peprasetya.)
find quote
m0v1em4n Offline
Fan
Posts: 414
Joined: Aug 2011
Reputation: 0
Location: Derby UK
Post: #51
peprasetya Wrote:Time for Update.....

Umh... well not so much update for the new version 0.4.1


BTW the gyroscope base gesture is only supported on device that the browser support the API, such iPhone 4/4s, iPad 2 (but the layout is not designed for iPad, and might be weird to conducting the XBMC with a big device), and iPod touch 4th generation.

Hi peprasetya,

thanks for a great interface, works great on my ipad 2.

One thing, would it be possible to scale the cover to fit between the top and bottom bar, think it would look more polished, See image below

[Image: photoak.png]

Uploaded with ImageShack.us

Thanks for all your hard work
find quote
lubitsch_fan Offline
Junior Member
Posts: 6
Joined: Jun 2012
Reputation: 0
Location: Paris, France
Post: #52
Hello peprasetya,

with the http api disappearing from the recent releases of XBMC/Kodi, the wTouch web addon was not working lately.

I did a small update to it, so it can work exclusively with jsonrpc
Here is the changelog :
Quote:Changes to make wTouch compatible with newer versions of XBMC/Kodi, that do not support HTTP API anymore:

- changed the way actions are sent (jsonrpc input.action() instead of http sendkey)
- added the recently mandatory Content-Type header to the jsonrpc requests
- changed the soft keyboard behaviour : send the full text field when return is pressed, instead of individual keystrokes (doesn't seem possible with jsonrpc)

There is still one call left to the HTTP API (in browseLibrary() ), but everything seems to work anyway

You'll find the modified index.html on my github account :
https://github.com/RedjV/wtouch-web-xbmc...index.html
Raw file : https://raw.githubusercontent.com/RedjV/...index.html

I changed the addon.xml and changelog.txt accordingly (made a bump to 0.4.2), and made a pull request to what
appears as the original repo on github (https://github.com/amoose/wtouch-web-xbmc) - not sure if it is managed by you.


Best regards
Redj
(This post was last modified: 2015-04-22 13:58 by lubitsch_fan.)
find quote
peprasetya Offline
Member
Posts: 52
Joined: Aug 2009
Reputation: 0
Post: #53
(2015-04-22 13:06)lubitsch_fan Wrote:  Hello peprasetya,

with the http api disappearing from the recent releases of XBMC/Kodi, the wTouch web addon was not working lately.

I did a small update to it, so it can work exclusively with jsonrpc
Here is the changelog :
Quote:Changes to make wTouch compatible with newer versions of XBMC/Kodi, that do not support HTTP API anymore:

- changed the way actions are sent (jsonrpc input.action() instead of http sendkey)
- added the recently mandatory Content-Type header to the jsonrpc requests
- changed the soft keyboard behaviour : send the full text field when return is pressed, instead of individual keystrokes (doesn't seem possible with jsonrpc)

There is still one call left to the HTTP API (in browseLibrary() ), but everything seems to work anyway

You'll find the modified index.html on my github account :
https://github.com/RedjV/wtouch-web-xbmc...index.html
Raw file : https://raw.githubusercontent.com/RedjV/...index.html

I changed the addon.xml and changelog.txt accordingly (made a bump to 0.4.2), and made a pull request to what
appears as the original repo on github (https://github.com/amoose/wtouch-web-xbmc) - not sure if it is managed by you.


Best regards
Redj
Hello lubitsch_fan,

I'm really sorry that I'm not make any update to this add-ons.
Actually I had working one with gotham, and just today make some rebranding from XBMC to Kodi.
I'm not sure if the rebranding may work as it is, as the add-ons.xml is not tested yet.

The github by amoose is not mine, but seem amoose just make a backup.

I'm just created a new repository under my account:
https://github.com/peprasetya/wTouch

Then changes is about like the same as you did, change from http sendkey to json, content-type issue with new JSON, and same send full text input.
But I'm adding WebSocket too, to let it have faster communication especially on control.

Please take a look, if you interested.

Anyway in future, I may remove the browse function, as now Kodi/XBMC Gotham already support multiple webinterface addons. While primarily I made wTouch just for control, and were adding the media browse because XBMC was only support 1 addons.

Further, please expect the development much much slower if not said no progress, because right now, primarily I use Raspberry-Pi with HDMI CEC. So I even very rarely use my own wTouch to control Kodi
find quote
lubitsch_fan Offline
Junior Member
Posts: 6
Joined: Jun 2012
Reputation: 0
Location: Paris, France
Post: #54
(2015-04-24 14:58)peprasetya Wrote:  Hello lubitsch_fan,

I'm really sorry that I'm not make any update to this add-ons.
Actually I had working one with gotham, and just today make some rebranding from XBMC to Kodi.
I'm not sure if the rebranding may work as it is, as the add-ons.xml is not tested yet.

The github by amoose is not mine, but seem amoose just make a backup.

I'm just created a new repository under my account:
https://github.com/peprasetya/wTouch

Then changes is about like the same as you did, change from http sendkey to json, content-type issue with new JSON, and same send full text input.
But I'm adding WebSocket too, to let it have faster communication especially on control.

Please take a look, if you interested.

Anyway in future, I may remove the browse function, as now Kodi/XBMC Gotham already support multiple webinterface addons. While primarily I made wTouch just for control, and were adding the media browse because XBMC was only support 1 addons.

Further, please expect the development much much slower if not said no progress, because right now, primarily I use Raspberry-Pi with HDMI CEC. So I even very rarely use my own wTouch to control Kodi

Great news, thank you for you great work, peprasetya, I'm gonna try your new version very soon.

Best regards
find quote
Post Reply