Skip to content
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

SIGINT does not abort CLIPlayer cleanly #8

Open
edschindler opened this issue Dec 31, 2021 · 0 comments
Open

SIGINT does not abort CLIPlayer cleanly #8

edschindler opened this issue Dec 31, 2021 · 0 comments

Comments

@edschindler
Copy link

  • sxm-player version: 0.2.5
  • Python version: 3.8
  • Operating System: Linux Mint 20.2 (Ubuntu 20.04)

Description

Using CLIPlayer, when I exit with control/C it's fine. If I send a SIGINT to the parent process, the terminal is left in a non-echoing state (reflecting, I think, the password input, which does not echo). There is a more complete reset on control/C than SIGINT, but they should probably work the same.

But perhaps I should be sending SIGINT to one of the four child processes? A more insistent SIGnal?

The Feature Request part of this (and why I'm sending the SIGINT in the first place) is for CLIPlayer to have a --duration option, which would facilitate DVR-style time-shifting. Without --duration, I have to use one cron job to begin recording, and a second to stop it.

(Since I intend to run CLIPlayer from a cron job, the note about the terminal reset above is more of an FYI.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant