mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
QQ Music sometimes refuses to issue a play URL for individual songs (upstream returns result=104003, "no copyright/payment"). The /play-playlist endpoint only called resolveAndPlay once on the first song, so when that one was 104003 the bot would sit silently with no feedback — exactly what looked like "播放全部 没有反应". Make BotInstance.playNext() public and call it as a fallback when the first resolveAndPlay fails. playNext already has the 3-attempt retry-skip used by trackEnd auto-advance, so we get the same graceful skip behavior for explicit playlist plays. Also tighten the response message so the user can tell when the bot loaded songs but none were playable. Single-song /play-song still returns "Cannot play" on failure (no queue to advance through); UX surfacing of that goes in a follow-up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>