Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/po5/mpv_sponsorblock
mpv script to skip sponsored segments of YouTube videos
https://github.com/po5/mpv_sponsorblock
mpv mpv-script sponsorblock youtube
Last synced: about 1 month ago
JSON representation
mpv script to skip sponsored segments of YouTube videos
- Host: GitHub
- URL: https://github.com/po5/mpv_sponsorblock
- Owner: po5
- License: gpl-3.0
- Created: 2019-11-11T02:03:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T13:51:47.000Z (8 months ago)
- Last Synced: 2024-08-05T14:16:12.887Z (5 months ago)
- Topics: mpv, mpv-script, sponsorblock, youtube
- Language: Lua
- Homepage:
- Size: 51.8 KB
- Stars: 531
- Watchers: 21
- Forks: 29
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - sponsorblock - Script to skip sponsored segments of YouTube videos. (Streaming)
- awesome-blocking - mpv_sponsorblock
README
# mpv_sponsorblock
A fully-featured port of [SponsorBlock](https://github.com/ajayyy/SponsorBlock) for mpv.## Requirements
- Python 3## Installation
Move `sponsorblock.lua` and `sponsorblock_shared` into your mpv `scripts` folder.
```
mpv/scripts/
├── sponsorblock.lua
└── sponsorblock_shared
├── main.lua
└── sponsorblock.py
```## Usage
Play a YouTube video, sponsors will be skipped automatically.Default key bindings:
- g to set segment boundaries
- G (shift+g) to submit a segment
- h to upvote the last segment
- H (shift+h) to downvote the last segmentThese can be remapped with the following script bindings: `sponsorblock/set_segment`, `sponsorblock/submit_segment`, `sponsorblock/upvote_segment`, `sponsorblock/downvote_segment`
Add lines in the following format to your input.conf: `alt+g script-binding sponsorblock/set_segment`