Archive:Xbev: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(credit goes to bobo1on1)
 
>Bobo1on1
No edit summary
Line 1: Line 1:
xbev is a simple eventclient for XBMC written in Python, it creates a window using gtk and sends any keypresses received on that window to XBMC's eventserver.
xbev is a simple eventclient for XBMC, written in Python, it creates a window on the desktop using gtk and sends any keypresses received on that window to XBMC's eventserver.<br>
 
More info at https://github.com/bobo1on1/xbev/wiki
It also uses the JSON-RPC api to show a text input box when XBMC sends Input.OnInputRequested, the text entered there will be sent to XBMC using Input.SendText, this can be used to enter text in xbmc when needed.
<br><br>
 
[[File:xbev-connected.png]]
The entered text will be sent to XBMC immediately, when you press enter xbev will set the "done" parameter to true indicating that this is the final text. When the text input is active, xbev will not send any keypresses to XBMC except the escape key to abort the text input.
 
This feature is only supported in XBMC Frodo and higher.
 
usage: xbev [HOST]
 
If xbev is started without arguments, it will automatically try to detect the ip address using zeroconf.
 
<table class="wikitable">
<tr>
<td>When starting xbev without arguments, it will wait for XBMC to start.</td>
<td>When XBMC starts (or is already running), xbev will connect to XBMC's eventserver and JSON-RPC server.</td>
<td>If xbev can't connect to the JSON-RPC socket, it will show an error message.</td>
<td>If XBMC sends a Input.OnInputRequested message to xbev, xbev will show a text entry.
</tr>
<tr align="center">
<td>[[File:xbev-waiting.png]]</td>
<td>[[File:xbev-connected.png]]</td>
<td>[[File:xbev-error.png]]</td>
<td>[[File:xbev-textinput.png]]</td>
</tr>
</table>

Revision as of 19:56, 13 October 2012

xbev is a simple eventclient for XBMC, written in Python, it creates a window on the desktop using gtk and sends any keypresses received on that window to XBMC's eventserver.
More info at https://github.com/bobo1on1/xbev/wiki

Xbev-connected.png