mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-04 06:55:09 +00:00
Deployed 0536056e with MkDocs version: 1.6.1
This commit is contained in:
@@ -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("<plugin id>")</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">¶</a></h3>
|
||||
<p>Override to log in with cookies and/or credentials. <strong>Call <code>super().authenticate()</code>
|
||||
|
||||
Reference in New Issue
Block a user