mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
docs(spotify): document known limitations (token CLI arg, gapless elapsed) [whole-branch d1,d2]
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
0914cfeb2f
commit
11c0948330
3 files changed
+13
No files matched your search
@@ -725,6 +725,10 @@ export class BotInstance extends EventEmitter {
|
||||
// (so NO player.stop() here). On the gapless auto-advance path the
|
||||
// player is still attached (isExternalActive() === true) so we do NOT
|
||||
// re-attach — the sidecar rolls the SAME FIFO into the next track.
|
||||
// KNOWN LIMITATION: on a gapless spotify->spotify advance the player's
|
||||
// frame counter is not reset, so player.getElapsed() over-reads for the
|
||||
// 2nd+ consecutive Spotify track. Cosmetic only — the authoritative
|
||||
// elapsed shown to users is status.track.position from the backend poll.
|
||||
if (!this.player.isExternalActive()) {
|
||||
this.player.playPcmStream(this.spotifyController.getPcmStream(), {
|
||||
// The sidecar PCM pipe is long-lived; per-track end arrives via the
|
||||
|
||||
Reference in new issue
Block a user