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

Add ability to control playback using command-line flags #403

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

dweymouth
Copy link
Owner

@dweymouth dweymouth commented Jun 13, 2024

Adds the following command-line options (along with a follow-up commit)

> ./supersonic --help
Usage of ./supersonic:
  -help
    	print command line options and exit
  -next
    	seek to next track
  -pause
    	pause playback
  -play
    	unpause or begin playback
  -play-pause
    	toggle play/pause state
  -previous
    	seek to previous track or beginning of current
  -seek-to value
    	seeks to the given position in seconds in the current file (0.0 - <trackDur>)
  -seek-by value
        seeks forward or backward by the given time in seconds (+/-)
  -version
    	print app version and exit
  -volume value
    	sets the playback volume (0-100)

@dweymouth dweymouth linked an issue Jun 13, 2024 that may be closed by this pull request
@dweymouth dweymouth merged commit 768c385 into main Jun 13, 2024
4 checks passed
@dweymouth dweymouth deleted the cmdline-ipc branch June 13, 2024 15:27
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

Successfully merging this pull request may close these issues.

Ability to control playback with command-line flags
1 participant