Commit Graph

310 Commits

Author SHA1 Message Date
Tomas Sardyha
8b47dcfc39 Fix updating open menus not working properly
fixes #29
2020-12-03 10:50:19 +01:00
Tomas Sardyha
6b3d32dcb3 Work around an mpv race condition bug during pause on windows builds
ref #44
2020-12-03 10:50:19 +01:00
Tomas Sardyha
755194352f Add persistency options
This enables elements to always be visible in configured states.
For example, setting `timeline_persistency=paused,audio` will make timeline always visible when playback is paused, or when audio file is open.

Available states: paused, audio

Available options and their defaults:
```
timeline_persistency=
volume_persistency=
speed_persistency=
top_bar_persistency=
```

resolves #42
2020-12-03 10:50:19 +01:00
Tomas Sardyha
61dba19cf7 Make speed not ignore its own proximity 2020-12-03 10:50:19 +01:00
Tomas Sardyha
0539187748 Implement pause-indicator commands instead of short resume filtering
Usage:

Set option `pause_indicator=manual`.

For flashing the indicator, add to bindings:

```
space  cycle pause; script-binding uosc/flash-pause-indicator
```

Or this for the static one:

```
space  cycle pause; script-binding uosc/decide-pause-indicator
```

ref #44, fixes #40
2020-12-03 10:50:19 +01:00
Tomas Sardyha
5e7b574a83 Filter out short play->pause events when flashing pause indicator 2020-12-03 10:50:19 +01:00
Tomas Sardyha
7a24ec3ef4 2.11.1 2020-11-09 09:42:28 +01:00
Tomas Sardyha
ac8a41e9c4 Rerender on any observed property change 2020-11-09 09:41:11 +01:00
Tomas Sardyha
5c32e607ff 2.11.0 2020-11-07 10:18:06 +01:00
Tomas Sardyha
7d9c2b8454 Update documentation 2020-11-07 10:13:03 +01:00
Tomas Sardyha
972bdbde6f Preselect first item in directory navigation when appropriate 2020-11-07 10:02:22 +01:00
Tomas Sardyha
cf6ea76a18 Readme 2020-11-07 09:35:40 +01:00
Tomas Sardyha
c9b22efc2d Add stream quality menu
ref #9
2020-11-05 17:06:03 +01:00
Tomas Sardyha
5e243e86bf Fix ranges and chapters rendering ignoring border 2020-11-05 15:15:35 +01:00
Tomas Sardyha
5d39a64e3a Make duration and other prop changes trigger redraw 2020-11-05 13:56:35 +01:00
Tomas Sardyha
9bfd181675 Render window border in no-border mode
ref #41
2020-11-05 13:39:06 +01:00
Tomas Sardyha
89222a0582 2.10.2 2020-10-19 23:18:50 +02:00
Tomas Sardyha
47b0dd9358 Increase default flash_duration value to 1000 2020-10-19 16:42:25 +02:00
Tomas Sardyha
9689b2620b Refactor event dispatching 2020-10-19 16:38:09 +02:00
hxss
cc578cf9a2 AB-loop draw (#37) 2020-09-14 16:37:36 +02:00
Tomas Sardyha
d08845b192 Don't add minus sign to total_time
closes #35
2020-08-01 09:41:49 +02:00
Tomas Sardyha
0d9e695425 Add total_time option
closes #33
2020-07-14 11:39:15 +02:00
Tomas Sardyha
602337c397 Replace os.remove with OS specific commands to delete files
os.remove() fails on paths with unicode characters in them

ref #32
2020-07-14 11:14:58 +02:00
Tomas Sardyha
1528d75b19 Sanitize cached ranges before render
ref #34
2020-07-14 09:44:47 +02:00
Tomas Sardyha
2101edd86d Add asf to media_types 2020-06-30 10:24:44 +02:00
Tomas Sardyha
1cf60b1813 2.10.1 2020-06-20 09:22:37 +02:00
Tomas Sardyha
ba3ec240cc Switch to minimal sponsor block ranges support. 2020-06-20 09:17:16 +02:00
Eva
5401545759 Support for sponsorblock categories (#31) 2020-06-20 09:06:37 +02:00
Eva
6648c59088 Fix crash when using --image-display-duration (#30) 2020-06-16 18:01:37 +02:00
Tomas Sardyha
f3a703ad9b Update readme 2020-05-17 20:33:45 +02:00
Tomas Sardyha
d8e31af78c 2.10.0 2020-05-17 15:36:50 +02:00
Tomas Sardyha
16342f80f7 Clarify flash_duration option description 2020-05-17 15:26:21 +02:00
Tomas Sardyha
f9c4d96bb1 Re-implement element flashing with explicit commands instead of magical options
ref #22
2020-05-17 15:21:01 +02:00
Tomas Sardyha
6920fabed6 2.9.0 2020-05-11 13:22:37 +02:00
Tomas Sardyha
e69d532899 Prefix remaining time with a minus sign
closes #18
2020-05-11 12:50:17 +02:00
Tomas Sardyha
2d73625c7a Unify window controls and title into a more configurable top_bar entity
closes #17
2020-05-11 12:40:46 +02:00
Tomas Sardyha
b5920c52db Separate window title and controls
closes #15
2020-05-11 12:00:24 +02:00
Tomas Sardyha
d627699208 Make wasd and hjkl menu navigation optional
closes #14
2020-05-11 11:28:27 +02:00
Tomas Sardyha
44af74dfa6 Account for floating point nubers when displaying volume value 2020-05-07 22:52:09 +02:00
Tomas Sardyha
43022cdb96 2.8.2 2020-05-06 13:38:46 +02:00
Tomas Sardyha
ac27994c83 Tweak speed widget 2020-05-06 13:36:51 +02:00
Tomas Sardyha
dbf5150509 Correct default option discrepancies 2020-05-06 12:53:50 +02:00
Tomas Sardyha
b8837d9d65 Ensure proximity_out is at least 1 px bigger than proximity_in 2020-05-05 13:52:47 +02:00
Tomas Sardyha
f9526245d9 2.8.1 2020-05-04 10:05:03 +02:00
Tomas Sardyha
2028cce04d Fix chapters not clearing when new file with no chapters is loaded 2020-05-04 10:03:50 +02:00
Tomas Sardyha
1d35b79a0a Revert menu font size bump to a slightly lower value 2020-05-01 20:49:17 +02:00
Tomas Sardyha
aed1835141 2.8.0 2020-05-01 11:17:17 +02:00
Tomas Sardyha
23ebb99a7e Make all open menu commands into toggles 2020-05-01 11:11:31 +02:00
Tomas Sardyha
0fd5e11855 Add {element}_font_scale and font_bold options 2020-05-01 11:05:17 +02:00
Tomas Sardyha
c40d110a1c Add an option to disable window controls 2020-05-01 10:15:27 +02:00