mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
fixed a autoskip
This commit is contained in:
1 parent
4dea723a3d
commit
daa5a24dfb
1 file changed
+4
-4
+4
-4
@@ -1622,9 +1622,9 @@ export default class Player extends EventEmitter {
|
||||
};
|
||||
|
||||
return Utils.timeout(
|
||||
pool.run(jobId, jobData, onMessage),
|
||||
60_000,
|
||||
"Worker timeout after 60s"
|
||||
pool.run(jobId, jobData, onMessage),
|
||||
60_000,
|
||||
"Worker timeout after 60s"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1872,7 +1872,7 @@ export default class Player extends EventEmitter {
|
||||
streamUrl = songData.url;
|
||||
} else if (songData.encoded) {
|
||||
const nlBase = `http://${this._nl.host}:${this._nl.port}`;
|
||||
const positionMs = this.queue.songLoop ? 0 : Math.max(0, Date.now() - (this.startedPlaying ?? Date.now()));
|
||||
const positionMs = 0;
|
||||
const filters = this.activeFilterPayload ?? {};
|
||||
const filtersParam =
|
||||
Object.keys(filters).length > 0
|
||||
|
||||
Reference in new issue
Block a user