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

Add track metada informations #44

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ThePedroo
Copy link
Member

Changes

This adds a metadata field into track in TrackStartEvent with information about the playing file.

Why

This allows the bot/client to be more aware of what's happening internally, also allows easier debugging of some audio quality issues. This is PR is connected with #42

Checkmarks

  • The modified endpoints have been tested.
  • Used the same indentation as the rest of the project.
  • Still compatible with LavaLink clients.

Additional information

There are issues on how sources like http will have its bitrate calculated, as till TrackEndEvent, the length is unknown due to leak of such calculations, which is done outside by FFmpeg.

This commit adds the metadata field for track in "TrackStartEvent" event.
@ThePedroo ThePedroo added enhancement New feature or request not confirmed This issue or pull request is not confirmed to be done. labels Apr 2, 2024
@ThePedroo ThePedroo self-assigned this Apr 2, 2024
@ThePedroo ThePedroo linked an issue Apr 2, 2024 that may be closed by this pull request
3 tasks
@ThePedroo ThePedroo force-pushed the main branch 3 times, most recently from c4001fa to b395a60 Compare April 3, 2024 15:56
@ThePedroo ThePedroo force-pushed the main branch 3 times, most recently from dbad65b to 355ca8e Compare April 20, 2024 23:25
@ThePedroo ThePedroo force-pushed the main branch 6 times, most recently from 3b2cb5d to ad0df86 Compare April 28, 2024 23:41
@ThePedroo ThePedroo force-pushed the main branch 4 times, most recently from d8da381 to b9063dc Compare May 20, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not confirmed This issue or pull request is not confirmed to be done.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR]: add additional track information
1 participant