Deployed 0536056e with MkDocs version: 1.6.1

This commit is contained in:
2026-12-03 22:52:44 +00:00
parent bcebd58959
commit 60fd6f2734
15 changed files with 447 additions and 1366 deletions
+5 -1
View File
@@ -2659,7 +2659,11 @@ accepted URL/ID formats and options there.</p>
<code>is_widevine_cdm()</code> / <code>is_playready_cdm()</code> from <code>unshackle.core.cdm.detect</code>
to classify it. These work correctly for local <em>and</em> remote CDMs, so never
hand-roll an <code>isinstance</code> check. Services often pick a device profile or
manifest endpoint based on which DRM the CDM speaks.</p>
manifest endpoint based on which DRM the CDM speaks. A service whose DRM
plugin licenses locally puts only the plugin data on the track: unshackle
licenses it at the licence step. To pick streams by the device, read the
device with <code>ctx.obj.cdm_for("&lt;plugin id&gt;")</code>.
<code>ctx.obj.cdm_for</code> is <code>None</code> where nothing licenses, for example in a search.</p>
</div>
<h3 id="authenticate-optional-login"><code>authenticate</code>: optional login<a class="headerlink" href="#authenticate-optional-login" title="Permanent link">&para;</a></h3>
<p>Override to log in with cookies and/or credentials. <strong>Call <code>super().authenticate()</code>