[Audio] Players restored from persistqueue at 100% volume #6217

Closed
opened 2023-07-28 09:01:04 +02:00 by aikaterna · 3 comments
aikaterna commented 2023-07-28 09:01:04 +02:00 (Migrated from github.com)

What Red version are you using?

3.5.2

What were you trying to do?

Working on testing something.

What did you expect to happen?

For the Player to be restored for the guild I was in, and for the volume to be set from history or Config.

What actually happened?

The Player was restored, but at 100% volume. Maybe a volume call after the restore, which in this case was

2023-07-28 06:51:30.558  INFO 853978 --- [   XNIO-1 I/O-1] lavalink.server.io.SocketServer          : {"op": "play", "guildId": "133049272517001216", "track": "QAAApAIAN1tFbGVjdHJvXSAtIEZhdnJpZ2h0IC0gR3JlZW4gU3Rvcm0gW01vbnN0ZXJjYXQgUmVsZWFzZV0AE01vbnN0ZXJjYXQ6IFVuY2FnZWQAAAAAAAUJEAALbGNVVU5ETGxmTUkAAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1sY1VVTkRMbGZNSQAHeW91dHViZQAAAAAAAAAA", "noReplace": false, "startTime": "105260", "pause": true}

after the reconnect from Red-Lavalink.

How can we reproduce this error?

  1. Be able to kill the Lavalink process
  2. Have audioset persistqueue on
  3. Play a song
  4. Reduce the volume noticeably
  5. Kill the Lavalink process
  6. Restart the Lavalink process
  7. The queue and song that was playing are restored after a restart at 100% volume

Anything else?

No response

### What Red version are you using? 3.5.2 ### What were you trying to do? Working on testing something. ### What did you expect to happen? For the Player to be restored for the guild I was in, and for the volume to be set from history or Config. ### What actually happened? The Player was restored, but at 100% volume. Maybe a volume call after the restore, which in this case was ``` 2023-07-28 06:51:30.558 INFO 853978 --- [ XNIO-1 I/O-1] lavalink.server.io.SocketServer : {"op": "play", "guildId": "133049272517001216", "track": "QAAApAIAN1tFbGVjdHJvXSAtIEZhdnJpZ2h0IC0gR3JlZW4gU3Rvcm0gW01vbnN0ZXJjYXQgUmVsZWFzZV0AE01vbnN0ZXJjYXQ6IFVuY2FnZWQAAAAAAAUJEAALbGNVVU5ETGxmTUkAAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1sY1VVTkRMbGZNSQAHeW91dHViZQAAAAAAAAAA", "noReplace": false, "startTime": "105260", "pause": true} ``` after the reconnect from Red-Lavalink. ### How can we reproduce this error? 1. Be able to kill the Lavalink process 2. Have audioset persistqueue on 3. Play a song 4. Reduce the volume noticeably 5. Kill the Lavalink process 6. Restart the Lavalink process 7. The queue and song that was playing are restored after a restart at 100% volume ### Anything else? _No response_
Flame442 commented 2023-09-27 23:41:56 +02:00 (Migrated from github.com)

Same issue as #6204?

Same issue as #6204?
Owner

Hinweis zum aktuellen Stand: Red-Lavalink 0.11.1 (die aktuell gepinnte Version) sendet beim Wiederaufnehmen eines Players (Player.resume()) die gespeicherte Lautstärke explizit an Lavalink. Beim Bot-Start setzt Audio die Lautstärke aus der Config ebenfalls neu. Ohne laufendes Lavalink konnte ich das nicht gegenprüfen, deshalb bleibt das Issue offen. Falls es mit dem aktuellen Stand noch auftritt, bitte Bescheid geben.


Generated by Claude Code

Hinweis zum aktuellen Stand: Red-Lavalink 0.11.1 (die aktuell gepinnte Version) sendet beim Wiederaufnehmen eines Players (`Player.resume()`) die gespeicherte Lautstärke explizit an Lavalink. Beim Bot-Start setzt Audio die Lautstärke aus der Config ebenfalls neu. Ohne laufendes Lavalink konnte ich das nicht gegenprüfen, deshalb bleibt das Issue offen. Falls es mit dem aktuellen Stand noch auftritt, bitte Bescheid geben. --- _Generated by [Claude Code](https://claude.ai/code)_
Owner

Red-Lavalink 0.11.1 (aktuell gepinnt) sendet beim Wiederaufnehmen eines Players die gespeicherte Lautstärke mit (Player.resume() → set_volume). Das Issue stammt von Red 3.5.2 mit einer älteren Red-Lavalink-Version und dürfte damit erledigt sein. Falls nicht, bitte mit aktuellem Stand wieder öffnen.


Generated by Claude Code

Red-Lavalink 0.11.1 (aktuell gepinnt) sendet beim Wiederaufnehmen eines Players die gespeicherte Lautstärke mit (`Player.resume()` → `set_volume`). Das Issue stammt von Red 3.5.2 mit einer älteren Red-Lavalink-Version und dürfte damit erledigt sein. Falls nicht, bitte mit aktuellem Stand wieder öffnen. --- _Generated by [Claude Code](https://claude.ai/code)_
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#6217
No description provided.