fixed a autoskip

This commit is contained in:
NoLogicAlan committed 2026-05-03 20:41:51 +03:00
1 parent 4dea723a3d
commit daa5a24dfb
1 file changed
+1 -1
+1 -1
View File
@@ -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