From aceccc93e1568150c0aa80f489184567bbe87c31 Mon Sep 17 00:00:00 2001 From: jiayuLian Date: Sun, 8 Nov 2026 18:17:33 +0800 Subject: [PATCH] docs(web): spell out that room playback always uses the shared login MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The account radio only governs the browser player (search, playlists, the embedded preview). Playback inside the TeamSpeak room — a web-queued song, a `!play` from chat, auto-advance — resolves through the bot's injected provider, which is the shared login, unconditionally. That is the intended design: membership is shared, library isolation is not. A member without VIP still gets to hear paid tracks in the channel; they just do not get their own recommendations in the web UI. It was not obvious from the UI, though. "共享账号(管理员的)" reads like a channel-wide switch, and a member who picked it would expect their play history to land on the admin account everywhere — which it does, but for an unrelated reason. Two notes now say so: one in the admin feature hint (what the toggle does and does not affect), one under the member radio (that it is web-only). --- web/src/components/PersonalMusicAccount.vue | 26 ++++++++++++++++++++- web/src/views/Settings.vue | 4 ++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/web/src/components/PersonalMusicAccount.vue b/web/src/components/PersonalMusicAccount.vue index b5cc921..f2d52ac 100644 --- a/web/src/components/PersonalMusicAccount.vue +++ b/web/src/components/PersonalMusicAccount.vue @@ -57,7 +57,7 @@ role="radiogroup" aria-label="播放使用哪个账号" > -
播放使用哪个账号
+
网页端播放使用哪个账号
会员曲目可以完整播放,但播放记录会记到管理员账号名下
+ +
+ 这个选择只影响本站的搜索、歌单和试听。房间里播歌 + (网页点歌后由机器人播放、!play)一直用共享账号,无论这里怎么选。 +
@@ -453,6 +458,25 @@ onUnmounted(stopPolling); } } +/* Scope disclaimer: the radio above governs the web player only. Members were + reading "共享账号" as "房间里也用这个" — which is true, but for the opposite + reason, so it needs saying. */ +.account-choice-note { + margin-top: 8px; + padding-top: 8px; + border-top: 1px dashed var(--border-color, rgba(128, 128, 128, 0.2)); + font-size: 12px; + line-height: 1.5; + color: var(--text-secondary); + + code { + font-size: 11px; + padding: 1px 4px; + border-radius: 3px; + background: var(--hover-bg-strong, rgba(128, 128, 128, 0.12)); + } +} + .login-methods { display: flex; flex-wrap: wrap; diff --git a/web/src/views/Settings.vue b/web/src/views/Settings.vue index f2c737f..d462244 100755 --- a/web/src/views/Settings.vue +++ b/web/src/views/Settings.vue @@ -976,7 +976,7 @@