audio-share-discord-linux icon indicating copy to clipboard operation
audio-share-discord-linux copied to clipboard

Make it more script friendly

Open Amulek1416 opened this issue 3 years ago • 1 comments

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

Amulek1416 avatar Dec 24 '21 18:12 Amulek1416

Sounds good, I'll try to implement this when i have time

l3lackShark avatar Dec 30 '21 01:12 l3lackShark