PerformanC / NodeLink

Performant LavaLink alternative written with Node.Js
BSD 2-Clause "Simplified" License
38 stars 23 forks source link

Add track metada informations #44

Open ThePedroo opened 5 months ago

ThePedroo commented 5 months ago

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

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.