Commit Graph

27 Commits

Author SHA1 Message Date
zenyd 60d5e6f681 Accept non empty sub-text like we did previously 2017-10-01 00:03:12 +02:00
zenyd 7556942813 Revert "restore normal speed when no subtitles is selected"
This reverts commit d873898409.
2017-10-01 00:00:33 +02:00
zenyd 781a42b664 Revert "Fix Reset early when seeking to a different speedup zone in the past"
This reverts commit 759bd191c0.
2017-10-01 00:00:19 +02:00
zenyd 759bd191c0 Fix Reset early when seeking to a different speedup zone in the past
When seeking from one speedup zone to a different speedup zone, which
lies in the past, the code would not reset early. So check for this case
and update the corresponding variables.
2017-09-30 20:25:32 +02:00
zenyd d873898409 restore normal speed when no subtitles is selected 2017-09-30 18:14:00 +02:00
zenyd f480c14de9 Write subtitle names as utf-8 byte stream to stdout
non ascii characters seem to conflict with lua/mpv when writing the
filename to stdout, which leads to failure in loading the subtitle. This
fixes that.
2017-09-30 01:54:46 +02:00
zenyd 9c82eea4b3 Fix further regression in check_position
this has slipped by as the timers where purged from the code
2017-09-29 02:38:21 +02:00
zenyd 586734094e Fix previous commit 2c75a7ba1e 2017-09-28 20:10:01 +02:00
zenyd 2c75a7ba1e Complete the previous functionality of add_timers in check_position 2017-09-28 04:00:32 +02:00
bitingsock 6d62d857b2 all changes from https://github.com/zenyd/mpv-scripts/pull/3 2017-09-28 03:52:02 +02:00
zenyd 5793184c2d Minimize frame drops on resuming normal speed
Introduces slight a-v desynchronisation in speedup state, which is not
really noticeable. On resuming normalspeed a-v gets synchronized once
again.
2017-09-26 15:36:50 +02:00
zenyd bd746aa3dd forgot this 2017-09-24 21:44:52 +02:00
bitingsock 883859f91c attempts to add my optional leadin (#2)
* attempts to add my optional leadin

speed will return to normal an optional number of seconds before the subs appear. Has worked for me so far, would you mind testing?

* Update speed-transition.lua

* Update speed-transition.lua
2017-09-24 21:40:41 +02:00
zenyd ee31ae58b6 Focus on the input box upon start 2017-09-24 16:34:55 +02:00
zenyd 97d5a122a2 bind return key to search 2017-09-24 16:30:31 +02:00
zenyd 4f271f1892 Fix search for empty Input 2017-09-24 16:27:44 +02:00
zenyd 457836399c Decouple initialization from script invokation 2017-09-24 15:42:57 +02:00
zenyd 80d23f99cd fix tab width (sigh) and update readme 2017-09-24 04:56:35 +02:00
zenyd 348749e6ce Add subselect script 2017-09-24 03:15:02 +02:00
zenyd 025a419e63 Update Readme 2017-09-15 15:20:34 +02:00
zenyd 8ffbca487b Add ability to hide subtitles 2017-09-15 14:50:32 +02:00
zenyd fd6c5056c1 Add ability to dynamically change speedup 2017-09-15 14:45:55 +02:00
zenyd d11b8af6bf Refactor 2017-09-15 14:42:47 +02:00
zenyd f428b3f6b3 Properly handle delayed subtitles
Delayed subtitles where working properly for negative values. Positive delay values wheren't handled correctly.
2017-09-14 20:27:40 +02:00
zenyd 087b031e75 push script 2017-09-06 00:26:27 +02:00
zenyd 05a31b2e53 Update README.md 2017-09-06 00:25:13 +02:00
zenyd 6f294f6c85 Initial commit 2017-09-05 18:48:07 +02:00