diff --git a/dev/creating-a-service/index.html b/dev/creating-a-service/index.html index e64fb44a..5b58c550 100644 --- a/dev/creating-a-service/index.html +++ b/dev/creating-a-service/index.html @@ -2761,19 +2761,19 @@ It's also what lets the parser flag is_original_lang on each track token.

Some services deliver a separate manifest per codec/range. The base class -provides _get_tracks_for_variants(title, fetch_fn) to fan out over every +provides get_tracks_for_variants(title, fetch_fn) to fan out over every codec×range in the TrackRequest, including HYBRID (fetch HDR10 + DV and merge) and --best-available skip-on-error handling:

def get_tracks(self, title: Title_T) -> Tracks:
-    def _fetch_variant(title, codec, range_) -> Tracks:
+    def fetch_variant(title, codec, range_) -> Tracks:
         vcodec = "H265" if codec == Video.Codec.HEVC else "H264"
-        return self._fetch_dash_manifest(title, vcodec=vcodec, range_=range_)
-    return self._get_tracks_for_variants(title, _fetch_variant)
+        return self.fetch_dash_manifest(title, vcodec=vcodec, range_=range_)
+    return self.get_tracks_for_variants(title, fetch_variant)
 

After parsing, you may correct track metadata the manifest gets wrong: stamp the real video.range, fix odd audio channel counts, mark descriptive audio, add hand-built subtitles or an Attachment (e.g. cover art). Do not -filter for resolution/bitrate. See _fetch_dash_manifest in the EXAMPLE service +filter for resolution/bitrate. See fetch_dash_manifest in the EXAMPLE service for a thorough demonstration.

Flip HDR10 → HDR10+ by hand when you know the platform embeds it

diff --git a/dev/rest-api/remote-sessions/index.html b/dev/rest-api/remote-sessions/index.html index f0216103..9d55d09a 100644 --- a/dev/rest-api/remote-sessions/index.html +++ b/dev/rest-api/remote-sessions/index.html @@ -2771,7 +2771,7 @@ seconds left before this specific session expires.

Source: unshackle/core/remote_service.py. This is the canonical consumer of the session API and a good template for any client.