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

Bot may not quit automatically under some certain conditions #26

Open
iSwanGit opened this issue Feb 4, 2022 · 0 comments
Open

Bot may not quit automatically under some certain conditions #26

iSwanGit opened this issue Feb 4, 2022 · 0 comments

Comments

@iSwanGit
Copy link
Owner

iSwanGit commented Feb 4, 2022

봇이 나가야 할 상황에 못나가는 현상 발생 가능성

자동 랜덤재생 환경설정 값이 아직 구현 안된 것을 전제로 함

1. 일시정지 상태

Expected

  • 아무도 없을 경우, 사용자가 추가한 리스트를 모두 재생한 경우 랜덤재생 들어가기 전에 인원수 체크하여 자동으로 퇴장

Actually

  • 일시정지 상태에서 아무도 없을 경우, 계속 그상태로 얼음 상태

Solutions (available)

  • 일시정지 상태에 들어간 시각을 기준으로 특정 시간 후에도 아무도 없을 경우, 퇴장
    (setInterval 혹은 setTimeout이 들어가서 이벤트 자원이 소모될 수 있음)
  • ..?

2. 반복 설정 상태

Expected

  • 아무도 없을 경우, 사용자가 추가한 리스트를 모두 재생한 경우 랜덤재생 들어가기 전에 인원수 체크하여 자동으로 퇴장

Actually

  • 반복이 들어간 경우 리스트가 계속 차있으므로 무한 반복 재생

Solutions (available)

  • 반복으로 플레이리스트에 자동으로 채우는 경우, 선곡자를 봇으로 변경하는 방법
    이렇게 하면 자동퇴장 조건에 선곡자가 봇인 경우도 포함시킬 수 있음
  • ...?
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

No branches or pull requests

1 participant