1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/test/subtimes.js

8 lines
270 B
JavaScript
Raw Normal View History

function subtimes() {
mp.msg.info("sub-start: " + mp.get_property_number("sub-start"));
mp.msg.info("sub-end: " + mp.get_property_number("sub-end"));
mp.msg.info("sub-text: " + mp.get_property_native("sub-text"));
}
mp.add_key_binding("t", "subtimes", subtimes);