This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---user settings--- | |
local WaitTime = 0.1 --how long until we try to enter "fast" mode | |
local lookAhead = 5 --how far ahead to look for subtitles when trying to enter "fast" mode | |
local fast = 6 --how fast "fast" mode is by default | |
local rewind = 0.2 --how far to rewind when entering normal mode; note that if this is more than or equal to WaitTime + lookAhead you will probably enter an infinite loop | |
--- | |
local searchtimer | |
local checktimer | |
local waitTimer | |
local normal = mp.get_property("speed") |
NewerOlder