DuncteBot / skybot-lavalink-plugin

Lavalink plugin adding support for several audio source managers
Apache License 2.0
24 stars 6 forks source link

Soundgasm incorrectly read duration. #17

Closed zoli456 closed 1 year ago

zoli456 commented 1 year ago

If you want to play from Soundgasm it display insanly high number.

duncte123 commented 1 year ago

That is correct. I cannot extract the duration of the track so I am using the provided "CONTENT_LENGTH_UNKNOWN" constant as seen here: https://github.com/DuncteBot/skybot-source-managers/blob/master/src/main/java/com/dunctebot/sourcemanagers/soundgasm/SoundGasmAudioTrack.java#L31-L33