distube 5.1.1 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
 
4
4
  // src/constant.ts
5
- var version = "5.1.1";
5
+ var version = "5.1.2";
6
6
  var defaultFilters = {
7
7
  "3d": "apulsator=hz=0.125",
8
8
  bassboost: "bass=g=10",
@@ -1999,6 +1999,7 @@ var QueueManager = class extends GuildIdManager {
1999
1999
  },
2000
2000
  seek: willPlaySong.duration ? queue._beginTime : void 0
2001
2001
  };
2002
+ queue._beginTime = 0;
2002
2003
  const dtStream = new DisTubeStream(stream.url, streamOptions);
2003
2004
  dtStream.on("debug", (data) => this.emit("ffmpegDebug" /* FFMPEG_DEBUG */, `[${queue.id}] ${data}`));
2004
2005
  this.debug(`[${queue.id}] Started playing: ${willPlaySong}`);