Skip to content

test482/mpv-bilibili-sponsorblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bilibili SponsorBlock plugin for MPV

Copy from mpv-sponsorblock, made changes for bilibili website.

Build

Build the plugin:

cargo build --release --locked

Installation

Linux

MPV

Copy the lib generated to your scripts folder:

cp ./target/release/libmpv_bilibili_sponsorblock.so ~/.config/mpv/scripts/bilibili_sponsorblock.so

Windows

MPV

Installation for Windows is available : https://mpv.io/manual/stable/#c-plugins.

I don't use Windows. Feel free to make a pull request.

Configuration

Copy the exemple configuration file bilibili-sponsorblock.toml into your MPV folder:

cp ./bilibili-sponsorblock.toml ~/.config/mpv/bilibili-sponsorblock.toml

If no configuration file is found, only the sponsors segments will be skipped as specified by the API.

A segment is the combination of a category and an action type.

Usage

Play a Bilibili video and segments you chose in the configuration file will be skipped or muted.

About

MPV plugin that allow you to skip sponsors while watching Bilibili videos

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages