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
@@ -149,6 +149,10 @@ export class RustLibrespotBackend extends EventEmitter implements SpotifyAudioBa
|
||||
"--format", "S16",
|
||||
"--cache", this.opts.cacheDir,
|
||||
"--device-type", "speaker",
|
||||
// KNOWN LIMITATION (CWE-214): the live Spotify access token is passed in
|
||||
// the child argv, so on a shared/multi-tenant host a co-located local
|
||||
// process could read it via `ps` / /proc/<pid>/cmdline. Bounded (~1h token,
|
||||
// needs local access) and `--access-token` is librespot's supported bootstrap.
|
||||
"--access-token", token,
|
||||
],
|
||||
{ stdio: ["ignore", "pipe", "pipe"] },
|
||||
|
||||
Reference in new issue
Block a user