aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-01 13:24:11 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-01 13:24:11 +0200
commit8bdeacc966d24cb47713df7b4213340565c505c8 (patch)
treeff14ad3bd6e9cfbdc59b031e0e3a53f5066d6872 /packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py
parent1d6189b6e6db7d0d6c126717b081901c5f552174 (diff)
downloadmeshbay-8bdeacc966d24cb47713df7b4213340565c505c8.tar.gz
fix(node): a member is told a media tool failed, not what ffmpeg said
Stream, transcode and subtitle failures sent the exception's text — operator paths, versions — to the member. Fixed messages now, the cause in the log (F-24). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py
index 857db33..a2d9f47 100644
--- a/packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py
+++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc/apps/music.py
@@ -120,7 +120,7 @@ class MusicMixin:
blob = await _transcode_audio_to_aac(file_path)
except Exception as e:
log.warning("Audio transcode failed for %s: %s", entry.id[:12], e)
- self._send({"type": "error", "detail": f"Transcode failed: {e}"})
+ self._send({"type": "error", "detail": "This track could not be converted"})
return
transcode_hash = blake3.blake3(blob).hexdigest()