Code: Select all
--- requests/status.xml.bak 2006-12-10 04:35:52.000000000 -0800
+++ requests/status.xml 2007-02-03 15:40:44.000000000 -0800
@@ -101,8 +101,27 @@
<vlc id="rpn" param1="val value vlc_seek" />
<vlc id="end"/>
+ <vlc id="if" param1="command value 'key' strcmp 0 =" />
+ <vlc id="if" param1="val value 'nav-left' strcmp 0 =" />
+ <vlc id="rpn" param1="keyid 65536 store" />
+ <vlc id="end"/>
+ <vlc id="if" param1="val value 'nav-right' strcmp 0 =" />
+ <vlc id="rpn" param1="keyid 131072 store" />
+ <vlc id="end"/>
+ <vlc id="if" param1="val value 'nav-up' strcmp 0 =" />
+ <vlc id="rpn" param1="keyid 196608 store" />
+ <vlc id="end"/>
+ <vlc id="if" param1="val value 'nav-down' strcmp 0 =" />
+ <vlc id="rpn" param1="keyid 262144 store" />
+ <vlc id="end"/>
+ <vlc id="if" param1="val value 'nav-activate' strcmp 0 =" />
+ <vlc id="rpn" param1="keyid 393216 store" />
+ <vlc id="end"/>
+ <vlc id="rpn" param1="keyid value key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
+ <vlc id="end"/>
<vlc id="end" />
<root>
+ <debug><vlc id="value" param1="key-pressed 'VLC_OBJECT_VLC' vlc_var_get" /></debug>
<volume><vlc id="value" param1="volume" /></volume>
<length><vlc id="value" param1="stream_length" /></length>
<time><vlc id="value" param1="stream_time" /></time>
Code: Select all
--- js/functions.js.bak 2006-12-10 04:35:52.000000000 -0800
+++ js/functions.js 2007-02-03 16:10:52.000000000 -0800
@@ -1054,3 +1054,15 @@
setTimeout( 'loop_refresh_playlist()', 1 );
}
+
+function box_seek(seek_val)
+{
+ if (!seek_val) { seek_val = value('seek_val'); }
+ seek(seek_val.replace('+','%2B'));
+}
+
+function dvd_nav(btn)
+{
+ var url = 'requests/status.xml?command=key&val=nav-' + btn;
+ loadXMLDoc(url, null);
+}
Code: Select all
--- dialogs/main.bak 2006-12-10 04:35:52.000000000 -0800
+++ dialogs/main 2007-02-03 16:11:05.000000000 -0800
@@ -95,6 +95,28 @@
<span class="btn_text">Increase Volume</span>
</button>
</div>
+ <div style="float:right; margin:5px; text-align:center;">
+ <input type="button" value="^" onclick="dvd_nav('up');"/>
+ <br/>
+ <input type="button" value="<" onclick="dvd_nav('left');"/>
+ <input type="button" value="*" onclick="dvd_nav('activate');"/>
+ <input type="button" value=">" onclick="dvd_nav('right');"/>
+ <br/>
+ <input type="button" value="v" onclick="dvd_nav('down');"/>
+ </div>
+ <div style="margin:5px;">
+ <input type="button" value="-10m" onclick="box_seek('-10m');"/>
+ <input type="button" value="-1m" onclick="box_seek('-1m');"/>
+ <input type="button" value="-10s" onclick="box_seek('-10s');"/>
+ <input type="button" value="+10s" onclick="box_seek('+10s');"/>
+ <input type="button" value="+1m" onclick="box_seek('+1m');"/>
+ <input type="button" value="+10m" onclick="box_seek('+10m');"/>
+ </div>
+ <div style="margin:5px;">
+ <input type="text" size="6" id="seek_val" onkeypress="if( event.keyCode == 13 ) box_seek();" />
+ <input type="button" value="seek" onclick="box_seek();"/>
+ <span style="font-size:67%;">( e.g. "-20sec", "12m42s", "01:13:43", "-12%" ... )</span>
+ </div>
<div id="status">
<span id="state">(?)</span>
-
Code: Select all
--- requests/status.xml.bak 2006-12-10 04:35:52.000000000 -0800
+++ requests/status.xml 2007-02-04 16:29:20.000000000 -0800
@@ -101,6 +101,9 @@
<vlc id="rpn" param1="val value vlc_seek" />
<vlc id="end"/>
+ <vlc id="if" param1="command value 'key' strcmp 0 =" />
+ <vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_VLC' vlc_var_get key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
+ <vlc id="end"/>
<vlc id="end" />
<root>
<volume><vlc id="value" param1="volume" /></volume>
Code: Select all
--- requests/status.xml.bak 2009-02-01 23:05:44.000000000 -0800
+++ requests/status.xml 2009-02-01 23:01:11.000000000 -0800
@@ -101,9 +101,8 @@
<vlc id="rpn" param1="val value vlc_seek" />
<vlc id="end"/>
<vlc id="if" param1="command value 'key' strcmp 0 =" />
- <vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_VLC' vlc_var_get key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
+ <vlc id="rpn" param1="'key-' val value strcat vlc_config_get key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
<vlc id="end"/>
-
<vlc id="end" />
<root>
<volume><vlc id="value" param1="volume" /></volume>
Code: Select all
--- dialogs/main.bak 2009-02-01 23:04:06.000000000 -0800
+++ dialogs/main 2009-02-02 00:24:47.000000000 -0800
@@ -95,6 +95,7 @@
<span class="btn_text">Increase Volume</span>
</button>
</div>
+ <div style="float:right; margin:5px; text-align:center;"><input type="button" value="^" onclick="hotkey('nav-up');"/><br/><input type="button" value="<" onclick="hotkey('nav-left');"/><input type="button" value="O" onclick="hotkey('nav-activate');"/><input type="button" value=">" onclick="hotkey('nav-right');"/><br/><input type="button" value="v" onclick="hotkey('nav-down');"/></div>
<div id="status">
<span id="state">(?)</span>
-
Can you send this to the main mailing list?
Users browsing this forum: No registered users and 19 guests