Kodi Community Forum
LCD/VFD-like screen on mobile device - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Web Interfaces (https://forum.kodi.tv/forumdisplay.php?fid=156)
+---- Thread: LCD/VFD-like screen on mobile device (/showthread.php?tid=159042)

Pages: 1 2


RE: LCD/VFD-like screen on mobile device - reddy - 2013-03-15

(2013-03-15, 14:00)Ned Scott Wrote: which forum do you want it moved to?

The one mentioned by Memphiz, for web interfaces:
http://forum.xbmc.org/forumdisplay.php?fid=156


RE: LCD/VFD-like screen on mobile device - Ned Scott - 2013-03-15

done


RE: LCD/VFD-like screen on mobile device - reddy - 2013-03-18

So, any chance somebody will catch the idea and make it reality? Smile


RE: LCD/VFD-like screen on mobile device - danmedhurst - 2013-03-18

So you want a web page that just displays what's being played currently? And it updates when something changes?

The way i'd do it is use the JSON_RPC API to grab the info and display it on a webpage.. then refresh every 20 seconds or whatever...

simple really... or is there more to this request that i don't understand.


RE: LCD/VFD-like screen on mobile device - reddy - 2013-03-19

Yes, it would be a page like that but instead refreshing it every x seconds (frankly any refresh rate slower than a couple of hundreds milliseconds would feel sluggish) I'd like to get it updated (or relevant part of the page) whenever user makes some action on XBMC.
I think it can be done with some AJAX push. Quick Google search suggests e.g. http://en.wikipedia.org/wiki/AJAX_Push_Engine


RE: LCD/VFD-like screen on mobile device - danmedhurst - 2013-03-19

(2013-03-19, 16:37)reddy Wrote: Yes, it would be a page like that but instead refreshing it every x seconds (frankly any refresh rate slower than a couple of hundreds milliseconds would feel sluggish) I'd like to get it updated (or relevant part of the page) whenever user makes some action on XBMC.
I think it can be done with some AJAX push. Quick Google search suggests e.g. http://en.wikipedia.org/wiki/AJAX_Push_Engine

What you're asking for isn't possible from XBMC.. XBMC does not push out anything like this and you're unlikely to get them to do so.. What you need is to use the API to read the data you want.

if you are using the device to control the actions, then it will work as once you have selected play you can call the Currently Playing item.. other than that, you may want to look at another media center because you're unlikely to get what you want here..

Why don't you just buy a case with an LCD in it?


RE: LCD/VFD-like screen on mobile device - Mizaki - 2013-03-19

Websocket or TCP on port 9090 for notifications.


RE: LCD/VFD-like screen on mobile device - reddy - 2013-03-20

(2013-03-19, 17:16)danmedhurst Wrote: What you're asking for isn't possible from XBMC.. XBMC does not push out anything like this and you're unlikely to get them to do so.. What you need is to use the API to read the data you want.

Hmm, so this might be a new feature for XBMC.
Idea for a workaround - a service on the same machine where XBMC works which pulls this data every x milliseconds and, if something has changed, push this to the remote page.

(2013-03-19, 17:16)danmedhurst Wrote: Why don't you just buy a case with an LCD in it?

I'd prefer to re-use the stuff I have. I use recycled laptop for XBMC already. Buying a case with LCD means replacing virtually all components. Besides, those cases aren't cheap...

(2013-03-19, 21:18)Mizaki Wrote: Websocket or TCP on port 9090 for notifications.

Do you mean something like http://wiki.xbmc.org/index.php?title=JSON-RPC_API#Notifications ? Is it documented somewhere? So it is actually possible to get notifications and translate them into changes of remote web page?


RE: LCD/VFD-like screen on mobile device - Mizaki - 2013-03-20

I mean exactly that Smile http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6#Notifications_2