Coder Social home page Coder Social logo

chapterskip's People

Contributors

po5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chapterskip's Issues

[HELP]: how do i skip `Next Episode Preview`

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

and this is my chapterskip.conf
image

Add Delay --Request

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.

Built-in toggle?

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?

Configuration

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?

No licence

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?

[Question] Syntax

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.