audio-share-discord-linux
audio-share-discord-linux copied to clipboard
Make it more script friendly
It would be nice if there was a way to make this more script friendly.
The following is an example of a list of commands that would be very useful for anyone writing a script to automate this a little more (asdl
is used to abbreviate audio-share-discord-linux
):
-
./asdl -l o
Lists output devices so user can use grep to find a specific one -
./asdl -l i
Lists input devices so user can use grep to find a specific one -
./asdl -o <number/name>
Selects the output device (This could be saved to a config file or something) -
./asdl -i <number/name>
Selects the input device (This could be also be saved to a config file) -
./asdl -s
Starts the program which uses the config file. If there isn't a config file, it could run like normal -
./asdl -c
Runs the program like is does now, but this way the user can change the config file easily through this interface if they wanted -
./asdl -h
Runs the program in headless mode (doesn't print any output) This would be beneficial to someone wanting to make a script to run this program
Sounds good, I'll try to implement this when i have time