aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/tmdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/tmdb.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/tmdb.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/tmdb.py b/packages/meshbay-node/src/meshbay_node/tmdb.py
index c9623df..9a0db12 100644
--- a/packages/meshbay-node/src/meshbay_node/tmdb.py
+++ b/packages/meshbay-node/src/meshbay_node/tmdb.py
@@ -1,7 +1,7 @@
"""
TMDB (themoviedb.org) client for the Videos group app.
-Called only by the node, never by a client (docs/mediacenter.md §2): the
+Called only by the node, never by a client (docs/MESHBAY_DESIGN.md §6.5): the
node holds the one credential and makes the one request per unique title,
shared by every member. Token resolution order (§5.5):
@@ -11,9 +11,9 @@ shared by every member. Token resolution order (§5.5):
exception, so a node with no token configured just serves thumbnails)
The real secret (whichever token resolves) never appears in source control:
-there is no literal fallback value in this file. See mediacenter.md's
-implementation notes on why a shipped default is a deployment concern, not
-a code concern.
+there is no literal fallback value in this file. Videos is the one
+credentialed application (docs/MESHBAY_DESIGN.md §9.7, §9.8), and which
+token ships is a deployment concern, not a code concern.
Results also come back in whatever language the operator configured
(roster.py's `tmdb_language`, e.g. "fr-FR") — one language for the whole
@@ -75,7 +75,7 @@ def _best_match(
top result is what's returned. The similarity ratio rides along purely
as a confidence signal for the caller's fallback decision.
- One narrow exception (§10.1/V9): when the top result is *not* a
+ One narrow exception (V9): when the top result is *not* a
confident textual hit (ratio < 0.6) and a `year` was requested, a
different result of that **exact** release year is preferred. TMDB
already year-filtered the search, so an entry landing on the requested