docs(web): spell out that room playback always uses the shared login

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).
This commit is contained in:
jiayuLian committed 2026-11-08 18:17:33 +08:00
1 parent d3eb6f2107
commit aceccc93e1
2 files changed
+27 -3

No files matched your search

+25 -1
View File
@@ -57,7 +57,7 @@
role="radiogroup"
aria-label="播放使用哪个账号"
>
<div class="account-choice-title">播放使用哪个账号</div>
<div class="account-choice-title">网页端播放使用哪个账号</div>
<div
class="account-choice-option"
@@ -95,6 +95,11 @@
<em>会员曲目可以完整播放,但播放记录会记到管理员账号名下</em>
</span>
</div>
<div class="account-choice-note">
这个选择只影响本站的搜索、歌单和试听。房间里播歌
(网页点歌后由机器人播放、<code>!play</code>)一直用共享账号,无论这里怎么选。
</div>
</div>
<div class="login-methods">
@@ -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;
+2 -2
View File
@@ -976,7 +976,7 @@
<label v-if="session.isAdmin.value" class="profile-toggle behavior-toggle">
<div class="profile-toggle-text">
<div class="profile-toggle-label">每个成员使用自己的音乐账号</div>
<div class="profile-toggle-hint">开启后,成员在「我的音乐账号」里绑定自己的网易云,搜索、歌单、每日推荐和播放地址都按他自己的账号获取,看不到管理员的歌单和收藏。未绑定、游客或未开启时沿用机器人的共享账号。默认关闭。目前仅网易云支持个人绑定。</div>
<div class="profile-toggle-hint">开启后,成员在「我的音乐账号」里绑定自己的网易云,<strong>网页端</strong>的搜索、歌单、每日推荐和试听地址都按他自己的账号获取,看不到管理员的歌单和收藏。未绑定、游客或未开启时沿用机器人的共享账号。默认关闭。目前仅网易云支持个人绑定。<br />房间里的播放(网页点歌后由机器人播放、<code>!play</code>、自动切歌)始终使用共享账号 —— 成员没有会员也能正常听歌,只是播放记录会集中到共享账号上。这就是「会员可共享、数据可隔离」的组合。</div>
</div>
<input
v-model="perUserMusicAccounts"
@@ -990,7 +990,7 @@
meaningful while the toggle above is on. -->
<div v-if="session.isAdmin.value && perUserMusicAccounts" class="pool-wrap">
<div class="pool-title">音乐账号分配</div>
<div class="pool-hint">添加管理员拥有的账号,分配给指定成员(也可以分配给其他管理员)。成员自己绑定的账号优先;未绑定的人使用分配给自己的账号;都没有时回到机器人的共享账号。</div>
<div class="pool-hint">添加管理员拥有的账号,分配给指定成员(也可以分配给其他管理员)。成员自己绑定的账号优先;未绑定的人使用分配给自己的账号;都没有时回到机器人的共享账号。这些账号同样只作用于<strong>网页端</strong>,房间里的播放始终用共享账号。</div>
<MusicAccountPool />
</div>
</section>