|
mpg123 control keys
Per the mpg123 man page, you can activate "control keys" with the -C switch. But nowhere does it list what those keys are! I decided to experiment monkey-style and bang away at the keyboard while it was playing. Here is what I found:
Q = Quit, exits the program and returns to prompt.
S = Stop, stops play of the current song, pressing again picks up where it left off.
P = Pause, Pauses the songs, but plays several milliseconds of it over and over, suggest use S instead, works much better. Pressing again resumes play.
F = Finish, skips to the end of the current song and either plays the next one in the folder or returns to prompt, depending on the original command.
B = ????, skips ahead by the amount of the buffer, if it was set, otherwise 256 bytes and then starts again at the beginning of the song. Doesn't appear to be very useful, maybe I'm doing it wrong.
And, mpg123 can read a Winamp generated playlist file using the -@ switch followed by the path/filename.m3u
So for all you cli addicts out there that actually run mpg123, I hope this helps! Enjoy.
Last edited by psych-major; 08-20-2009 at 06:01 PM.
|