Seek command
how can i move forward or backward in the music being played with discord.js/voice?
I would like to create a seek command.
21 Replies
You need to use ffmpeg for it
You can use the setStartTime method and toFormat methods to get the song data and then play it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I have my AudioResource and AudioPlayer where I use Ffmpeg ?
something like this is what i was talking about
(ignore the log)
I agree with that but my problem is that the music is already being played with an AudioPlayer, and I want to change it while it is running.
theres no way to do it while playing. You must start a new stream
oh ok it's so sad
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
itll work if done properly. Ive done it with a very little delay when restarting the stream. Only issue i ran into was a ton of memory leaks which i sadly never was able to resolve
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Webstorm
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
not sure haven't tried
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I have the same problem
hightWaterMark / type / dlchunkSize doesn't exit on
.stream()
elementUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
are you sure ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View