po5 / chapterskip Goto Github PK
View Code? Open in Web Editor NEWmpv script to skip chapters based on their title
mpv script to skip chapters based on their title
i don't know lua , so am having hard time understanding syntax ,
here is the list of all chapter my file has
00:00:00.000 : Opening
00:01:30.023 : Part A
00:12:33.085 : Part B
00:21:07.266 : Ending
00:22:47.299 : Next Episode Preview
script
skip well opening and ending , but not the
next episode preview
or more like preview
Hi,
I have chapter named Netflix Credits
İn place of skipping I want to know how I can pause
when the player arrives at that specified chapter name?
I would like to know if there can be a way to add a delay to the script.
For example, say I put a 5-second delay. After those 5 seconds, the chapter skips.
Sometimes I'd like to watch the chapters I usually skip, so I'm using this to quickly toggle the plug-in:
mpv.conf
[po5-chapter-skip-disabled]
profile-desc="Disable po5/chapterskip"
profile-restore=copy
script-opts=chapterskip-skip=""
input.conf
C script-message cycle-commands "apply-profile po5-chapter-skip-disabled ; show-text `'po5/chapterskip disabled'`" "apply-profile po5-chapter-skip-disabled restore ; show-text `'po5/chapterskip enabled'`" #! Chapters > Toggle po5/chapterskip
Works just fine. It would be nice if there was a built-in toggle instead of relying on an mpv profile.
In case you don't want to implement this, maybe this could be added to the README. Unless there's a better way, of course.
Thoughts?
Hi, I have a question regarding configuration. I'd like to skip the following chapters:
Opening
Ending
Preview
OP
ED
Recap
Endcard
Credits
Next
Since some of them are missing from the default categories I added this to my chapterskip.conf:
categories=ca>OP; cb>ED; cc>recap; cd>endcard; ce>credits; cf>next
And this to my mpv.conf:
script-opts=chapterskip-skip=opening;ending;OP;ED;preview;recap;endcard;credits;next
Yet it doesn't skip recap, next or credits. How do I fix this?
I'm currently packaging this in nixpkgs
, so our users can easily add your script to their configuration, and noticed there doesn't seem to be a specified license for this script.
Could you add (a FOSS) one?
I have quite a few chapters I would like it to skip,
But I don't understand the syntax usage.
For example I would like it to skip only "OP",
But it skips the "OPENING THE DOOR" chapter too,
Probably because it has "OP" in it.
How can I use the script to skip only the chapter "OP"?
Do I use
opening = "OP$",
or do I use
opening = "^OP",
or something else entirely?
What is the difference and what is the proper way to use it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.