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

[Suggestion] Simplifying the server setup #52

Open
hideki2k02 opened this issue Mar 12, 2024 · 3 comments
Open

[Suggestion] Simplifying the server setup #52

hideki2k02 opened this issue Mar 12, 2024 · 3 comments
Labels
accepted The new feature request is accepted new feature This is a new feature
Milestone

Comments

@hideki2k02
Copy link

Describe the new feature you'd like
I propose to add some kind of feature that would make it simpler/faster to set-up the Audio Server for less experienced people.

Describe the reason why you want to add the feature
Currently I'm having to run the program at startup as my Audio Card is dead, and having to run ./as-cmd -l every time because the Endpoint keeps changing is a little inconvenient. It is currently possible to automate it with scripts but not all users might be able to do that.

Describe how to implement the feature if you can
Make the program automatically pick the first endpoint that is found (Works for most people unless they have multiple audio devices)

I'm currently using this bash script to get the program running at startup:

IPV4=$(hostname -I | awk '{print $1}')
ENDPOINT=$(./as-cmd -l | grep id | grep -Eo '[0-9]{1,4}')

if [ "$1" ]; then
    IPV4=$1
fi

if [ "$2" ]; then
    ENDPOINT=$2
fi

./as-cmd -e $ENDPOINT -b $IPV4
@hideki2k02 hideki2k02 added the new feature This is a new feature label Mar 12, 2024
@marurunk
Copy link

marurunk commented Mar 12, 2024

I wrote my script too, I rename the bin to audio-share to use killall
and use notify-send (for linux mint) if doesn't work and say that
imagen

@hideki2k02
Copy link
Author

Nice! Will definitely make a few changes to my script after that haha

I've noticed the Windows version has a GUI, maybe something like ./as-cmd -gui would also be nice for some people.

@mkckr0
Copy link
Owner

mkckr0 commented Mar 13, 2024

For audio endpoint, It has already had a default value. If you don't set -b, it will use the default endpoint.

For ip address, I'll add a default value for -b. It will be the first LAN IPv4 address as #29.

@mkckr0 mkckr0 added the accepted The new feature request is accepted label Mar 13, 2024
@mkckr0 mkckr0 added this to the v0.0.18 milestone Mar 13, 2024
@mkckr0 mkckr0 modified the milestones: v0.1.0, v0.2.0 Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The new feature request is accepted new feature This is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants