Skip to content

mpv script to skip sponsored segments of YouTube videos

License

Notifications You must be signed in to change notification settings

dariusjonda/mpv_sponsorblock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mpv_sponsorblock

A fully-featured port of SponsorBlock for mpv.

Requirements

  • Python 3

Installation

Move this repo's contents into your mpv scripts folder.

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 segment

These 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

About

mpv script to skip sponsored segments of YouTube videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 80.2%
  • Python 19.8%