[mpv] Add sponsorblock

Added sponsorblock to mpv.
This commit is contained in:
Marty Oehme 2020-05-13 23:31:59 +02:00
parent 0d0cf936bd
commit f0cabb9149
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
5 changed files with 608 additions and 3 deletions

View file

@ -21,10 +21,10 @@ Scrolling through videos can be done with h and l (or H and L for larger steps),
scrolling through a playlist is accomplished with J and K,
and volume is controlled with j and k.
a controls playback speed, s cycles subtitles, d controls audio delay, u controls subtitle delay,
f remains fullscreen, p toggles pauses, i shows the playlist, o peeks at the timeline, F5 takes a screenshot.
`a` controls playback speed, `s` cycles subtitles, `d` controls audio delay, `u` controls subtitle delay,
`f` remains fullscreen, `p` toggles pauses, `i` shows the playlist, `o` peeks at the timeline, `F5` takes a screenshot.
Additionally, pressing the menu button (between right ctrl and alt) will open a little context menu,
Additionally, pressing the `menu` button (between right `ctrl` and `alt`) will open a little context menu,
from which you can load other files, subtitles, chapters, switch audio tracks and take screenshots.
Most of this is (thanks to the hard work of the original script writers) easily customizable,
@ -38,3 +38,15 @@ foregoing some of the upscaling niceties integrated into the default high qualit
This script uses the output of `/sys/class/power_supply/AC/online`, and thus depends on this file being readable to get its information.
It degrades gracefully, and simply keeps running in higher quality if the file is not readable.
## sponsorblock
The [mpv-sponsorblock](https://github.com/po5/mpv_sponsorblock) script is included to enable automatically skipping many sponsorship segments integrated within youtube videos.
This works mostly fully automated, it checks the database and marks affected segments in red on your timeline, which it automatically skips over.
If you are watching a video with sponsorship segments that have not yet been marked, you can add your own segment with `e`
(once at the beginning of the segment, once at the end) and when that is done send it off to the database with `E`.
If you watch a video and it contains a well-functioning skip, simply hit `w` to upvote the previous segment.
If a segment did not work well, skipped over other content or similar issues, hit `W` to downvote it.