mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -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(
|
return Utils.timeout(
|
||||||
pool.run(jobId, jobData, onMessage),
|
pool.run(jobId, jobData, onMessage),
|
||||||
60_000,
|
60_000,
|
||||||
"Worker timeout after 60s"
|
"Worker timeout after 60s"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1872,7 +1872,7 @@ export default class Player extends EventEmitter {
|
|||||||
streamUrl = songData.url;
|
streamUrl = songData.url;
|
||||||
} else if (songData.encoded) {
|
} else if (songData.encoded) {
|
||||||
const nlBase = `http://${this._nl.host}:${this._nl.port}`;
|
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 filters = this.activeFilterPayload ?? {};
|
||||||
const filtersParam =
|
const filtersParam =
|
||||||
Object.keys(filters).length > 0
|
Object.keys(filters).length > 0
|
||||||
|
|||||||
Reference in new issue
Block a user