NeTV local UI
The starting point for playing with the UI is to edit files found in /usr/share/netvserver/docroot This is translated to http://localhost
The overlay effect is done using chroma key compositing.
Any color that is (240,0,240 or #F000F0) will take on the color of the background video stream.
The browser executable is located at /usr/bin/NeTVBrowser To start/stop/restart the browser, use a helper script
To point the browser at a different URL
Note that, however, a keep-alive timer will kick in within 1 minute and switch it back to http://localhost/
NeTVBrowser SetUrl http://www.yoururl.com
The recommended way to keep a page on screen without losing the Control Panel is to use the browser's multi-tab feature
NeTVBrowser Tab hideall (hide all tabs except tab 0, will keep the tabs running) NeTVBrowser Tab destroyall (destroy all tabs except tab 0) NeTVBrowser Tab 1 http://www.yoururl.com NeTVBrowser Tab 1 load http://www.yoururl.com NeTVBrowser Tab 1 hide (will keep the tab running) NeTVBrowser Tab 1 show (will not destroy other tabs) NeTVBrowser Tab 1 close (destroy the tab)
Where the '1' argument is the index of the tab. Maximum 10 tabs are supported (index 9).
Tab 0 is reserved for NeTV UI, can be changed but do keep in mind there's a keep-alive timer.
A keep-alive timer is responsible to keep it pointing to http://localhost at 1 minute interval.
To turn off the keep-alive timer
NeTVBrowser KeepAlive off
Night mode (Tab 0 only)
NeTVBrowser InvertColor on NeTVBrowser InvertColor off
Make the browser fullscreen / NOT fullscreen
NeTVBrowser Fullscreen NeTVBrowser SetBox 100 100 400 300 //xx yy width height
NeTVBrowser Rotate 0/90/180/270
mount -o remount,rw / vi /etc/init.d/chumby-netvbrowser
Replace NeTVBrowser > /dev/null 2>&1 & with NeTVBrowser &
mount -o remount,ro /
Simulate a keyboard event
NeTVBrowser Key valid_key_name
Some commonly used key names are: cpanel,widget,up,down,left,right,enter,center,esc,del,backspace,space & alphanumeric keys
Example: Hold the control panel button on IR remote for more than 3 seconds & release it will reload/reset the Control Panel.
NeTVBrowser Nativekb On
The above mentioned reset functionality will be lost.
More interesting stuffs to come...