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

Auto Mute #278

Closed
cknost opened this issue May 30, 2018 · 12 comments
Closed

Auto Mute #278

cknost opened this issue May 30, 2018 · 12 comments
Milestone

Comments

@cknost
Copy link
Contributor

cknost commented May 30, 2018

Stop the Music if nobody listen, to Save Bandwith

@Caaruzo
Copy link

Caaruzo commented May 4, 2019

Will this feauture implemented in a future release? Would also think thats nice.

@Splamy Splamy added this to the 0.11.0 milestone May 4, 2019
@Splamy
Copy link
Owner

Splamy commented May 4, 2019

I've put it on the 0.11.0 roadmap. Lets see, when I get to it.
You can check the roadmaps here https://github.com/Splamy/TS3AudioBot/milestones

@Bluscream
Copy link
Contributor

@Caaruzo
Copy link

Caaruzo commented May 4, 2019

ok great thx much u2

Splamy added a commit that referenced this issue Nov 6, 2019
@Splamy
Copy link
Owner

Splamy commented Nov 6, 2019

The bot now has events to freely configure when left alone or joined again.

[events]
#...

#Called when the last client leaves the channel of the bot. Delay can be specified
onalone = "!stop"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format with quotation marks "PT30S" or like: 15s, 1h, 3m30s
alone_delay = "10s"
#Called when the bot was alone and a client joins his channel. Delay can be specified.
onparty = "!play"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format with quotation marks "PT30S" or like: 15s, 1h, 3m30s
party_delay = "0s"

@Bluscream
Copy link
Contributor

Bluscream commented Nov 13, 2019

In which case does party_delay make sense? I would rather suggest a party_min_clients setting

@Splamy
Copy link
Owner

Splamy commented Nov 13, 2019

party is the opposite event of onalone because onnotalone sounds stupid

@Bluscream
Copy link
Contributor

Read my question again

@Splamy
Copy link
Owner

Splamy commented Nov 13, 2019

That was kinda my answer, alone <=1, party >1, i added the delay to be symmetrical

@Bluscream
Copy link
Contributor

Bluscream commented Nov 13, 2019

No, you still don't understand my question.

In which case does party_delay make sense?

@Flakebi
Copy link
Collaborator

Flakebi commented Nov 13, 2019

In which case does party_delay make sense?

i added the delay to be symmetrical

There is an alone_delay to set a delay after the bot is left alone.
And there is a party_delay to set a delay after someone joined the bot.

If you ask for specific use cases, you could delay a welcome message for 2 seconds so it does not collide with text-to-speech.

@Bluscream
Copy link
Contributor

That's actually a valid usecase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants