Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    mpg123 hangs in songs


    When I have a list of mp3 fils to give to mpg123 with the command
    mpg123 -ZC -list /path/to/list. It happes that he plays serveral songs and at the beginning
    of some song he hangs. The only thing I can do then is ctrl Z to quit te program.
    But the process is still in my memory. How can i prevent mpg123 from hanging?
    It's such a nice commandline mp3 player, I would really like to fix this problem.


  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Ctrl-Z only puts suspends the process, which you can resume from the command line with either fg (foreground) or bg (background). To kill it, normally a Ctrl-C will kill the foreground process. When you have suspended it with a Ctrl-Z, you can kill it from the command line with the command: kill -9 pid
    where pid is the process id of the program. You can use the ps command to find that out.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts