• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Audio Seeking Broken

RickyMartin

Member
The audio.seek method still seems to be broken.
I'm using the following code:
Code:
event.on('chat', function (ev) {
  if (ev.text == "!seek") {
  audio.seek(200);
  }
}

It skips ahead in the web UI but it just replays the track from the beginning whether i'm streaming the file or playing a predownloaded one.
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Seek does only work if
  • the track is on disk (no streaming)
  • the track has a file format that supports seeking
  • the track contains information on the length in it's headers
Is all of that the case? Then I'd have to look into it. Does seeking using the web interface work?
 

RickyMartin

Member
Is it file formats with suitable header info that support seeking?
I have a few tracks uploaded to the bot that I can seek through using the webUI but not using my !seek command. audio.seek just restarts the track
 
Last edited:
Top