summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/subtimes.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/subtimes.js b/test/subtimes.js
index 7821e0b5c0..be6940ad3b 100644
--- a/test/subtimes.js
+++ b/test/subtimes.js
@@ -5,3 +5,11 @@ function subtimes() {
}
mp.add_key_binding("t", "subtimes", subtimes);
+
+function secondary_subtimes() {
+ mp.msg.info("secondary-sub-start: " + mp.get_property_number("secondary-sub-start"));
+ mp.msg.info("secondary-sub-end: " + mp.get_property_number("secondary-sub-end"));
+ mp.msg.info("secondary-sub-text: " + mp.get_property_native("secondary-sub-text"));
+}
+
+mp.add_key_binding("T", "secondary_subtimes", secondary_subtimes); \ No newline at end of file