[mpg123-devel] [ mpg123-Feature Requests-3011695 ] Respond to SIGUSR1 and SIGUSR2
Brought to you by:
sobukus
From: SourceForge.net <no...@so...> - 2011-03-27 08:41:25
|
Feature Requests item #3011695, was opened at 2010-06-05 04:38 Message generated for change (Comment added) made by sobukus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733197&aid=3011695&group_id=135704 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mpg123 Group: None Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Todd Aiken (barcoboy) Assigned to: Nobody/Anonymous (nobody) Summary: Respond to SIGUSR1 and SIGUSR2 Initial Comment: Would like to see the ability for mpg123 to be able to respond to signals. Currently, you can pause and restart playback using "killall -SIGSTOP" mpg123 and "killall -SIGCONT mpg123", but it would be nice to, for example: killall -SIGUSR1 mpg123 = fast forward killall -SIGUSR2 mpg123 = rewind There are maybe other unused signals that could be trapped and mapped to other functions (maybe user definable?). ---------------------------------------------------------------------- >Comment By: Thomas Orgis (sobukus) Date: 2011-03-27 10:41 Message: Hah, a separate request brought this one to the light again. In SVN trunk, there's now code that interprets SIGUSR1 and SIGUSR2 when using the control interface. ---------------------------------------------------------------------- Comment By: Todd Aiken (barcoboy) Date: 2010-06-05 18:35 Message: ACK, the --fifo command does exactly what I need it too. Sorry, I was unaware of its existence, and I had gone over the man page several times to see if I missed anything. Thanks for the information. ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2010-06-05 10:37 Message: Well, this sounds like a remote control interface. Would you elaborate why the existing remote control interface doesn't fit your application? Especially when you specify a FIFO for command input: shell$ mpg123 -R --fifo /tmp/mpg123-command Then, on another shell... shell$ echo load /some/file.mp3 > /tmp/mpg123-command shell$ echo jump +10s > /tmp/mpg123-command shell$ echo jump +10s > /tmp/mpg123-command shell$ echo jump -10s > /tmp/mpg123-command ... to load/play a file and jump a bit around in it. Isn't this more friendly than listening to some signals? What one might argure is to add a "fast forward" mode to the control interface to behave like mpg123 -C when you press "." or ":". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733197&aid=3011695&group_id=135704 |