-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit to single simultaneous play #46
Comments
Given how shellcaster is set up, right now it's entirely agnostic to what command is used to play the media files. So there's not a particularly easy way to build this sort of thing in, though I can appreciate how it would be useful. I was going to suggest changing the I'll add it to the list of things to add; I think it would be useful to have the ability to set up some chains of commands like this. |
Hey! Yes, that is possible. Here is part of a script I use I save it as
Now we can change the play command to That way, if you hit play on the same podcast it toggles between play and pause, if you start a different podcast it kills the specific Sadly in addition to |
Hello. Is it possible to limit to amount of started instances of player to single one? So I don't need to terminate (using htop) when I start many of them.
Start episode 1 (run player). Start episode 2 (if instance of player exist then terminate previous and start with file #2).
In my case player is mpv.
The text was updated successfully, but these errors were encountered: