Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cycle-values fix/enhancement #5772
As of now, neither
I'd like to see either cycle-values 'fixed' (I'm not sure if current behaviour is desired), or a new input command that wound prevent choosing the same value twice in a row.
I wrote a workaround script for that, but I think that it should be a built-in mpv input command. It's probably really simple to implement, but I don't know whether I should make it a new input command or change the behaviour of existing one, nor I have any experience in contributing to mpv. Here's the script, if anyone is interested:
If I understand it right, adding a new input command, say,
I updated my script so that it works exactly how I'd like
On the side note, where can I ask a question regarding mpv? I tried looking trough issues, reading manual and even asking on /g/mpv - I couldn't find the answer to my question so far. Since I already went this far, I'll post the qestion here (I can delete this part of my comment after I'll get an answer - either to my question, or to where should I ask it instead). Sorry for completely offtopic talk in the issue comments, but I'm all out of ideas where to ask instead. Opening a new issue just to ask a question seems like even worse idea.
Is it possible to either call a function from one script in another while reusing the instance, or call a script's function by command line arguments? Example below.
command line args:
Questions normally go on IRC. See: https://mpv.io/community/
Scripts are completely isolated from each other. They can only talk via
There's no way to call script functions from command lines. But there's --script-opts, which can be read as property by scripts or via the
Thank You very much for your answer. I'll move with my next questions to IRC. Let me know If I should remove the offtopic part of my previous comment. It's most certainly not related to this issue, but I'm generally against deleting anything anywhere - someone may make use of those informations. For instance, I had no idea that mpv has it's own IRC channel.
Regarding the issue - it's definitely not something of a high priority, especially since I made a script that solves the problem for now. I'll leave the decision whether to close the issue to You, probably this will be my last comment on this topic.