Idea: Pause download package when video is playing.
|
3rd Mar, 2013, 08:12 PM
Post: #21
|
|||
|
|||
RE: Pause download package when video is playing.
The way my script works is detecting which processes are running by the group "download" and send them a SIGSTOP to all of them, so make sure all the processes you want to stop are created by one group that's only for that, and that group must be named "download" (you can change that in the scripts inside resources)
What you see with "top" is the user that's creating the process, not the group. To see the processes that my script is going to stop run the command: Terminal ps -g download |
|||
« Next Oldest | Next Newest »
|