mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-30 21:15:18 +00:00
Deployed 40114fff with MkDocs version: 1.6.1
This commit is contained in:
@@ -2796,9 +2796,10 @@ the wire:</p>
|
|||||||
<p>A service can also offer an option that builds the remote session on the server's own
|
<p>A service can also offer an option that builds the remote session on the server's own
|
||||||
device and identity, for the quality that device reaches. The session then makes no live
|
device and identity, for the quality that device reaches. The session then makes no live
|
||||||
licence at all: each content key comes from the server vault or the client's own vaults,
|
licence at all: each content key comes from the server vault or the client's own vaults,
|
||||||
and a content key that no vault holds stops the download with an error. The create
|
and a content key that no vault holds stops the download with an error that names its KID,
|
||||||
response sets <code>server_device</code> to <code>true</code> for such a remote session. The service then uses
|
when the client knows it. The create response sets <code>server_device</code> to <code>true</code> for such a
|
||||||
the server's own config: the client's identity values do not apply. The client reads the
|
remote session. The service then uses the server's own config: the client's identity
|
||||||
|
values do not apply. The client reads the
|
||||||
server vault only when the API key has the <code>server_vault</code> grant (or <code>server_cdm</code>); without
|
server vault only when the API key has the <code>server_vault</code> grant (or <code>server_cdm</code>); without
|
||||||
it, the client reads only its own vaults. The login tokens of such a remote session hold the
|
it, the client reads only its own vaults. The login tokens of such a remote session hold the
|
||||||
server's device identity, so the server keeps them: <code>DELETE</code> returns no cache files, and the
|
server's device identity, so the server keeps them: <code>DELETE</code> returns no cache files, and the
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -2616,6 +2616,17 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#unshackle.core.tracks.Subtitle.parse" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> parse
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -4326,6 +4337,17 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#unshackle.core.tracks.Subtitle.parse" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> parse
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -7819,6 +7841,30 @@ names case-insensitively, and prefers a mixed-case spelling over an all-lowercas
|
|||||||
<div class="doc doc-object doc-function">
|
<div class="doc doc-object doc-function">
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="unshackle.core.tracks.Subtitle.parse" class="doc doc-heading">
|
||||||
|
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">parse</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class="doc doc-labels">
|
||||||
|
<small class="doc doc-label doc-label-staticmethod"><code>staticmethod</code></small>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<a href="#unshackle.core.tracks.Subtitle.parse" class="headerlink" title="Permanent link">¶</a></h3>
|
||||||
|
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">parse</span><span class="p">(</span><span class="n">data</span><span class="p">,</span> <span class="n">codec</span><span class="p">)</span>
|
||||||
|
</span></code></pre></div>
|
||||||
|
|
||||||
|
<div class="doc doc-contents ">
|
||||||
|
|
||||||
|
<p>Parse a subtitle, without the XML declaration of a TTML file, which makes bs4 warn when pycaption reads it.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="doc doc-object doc-function">
|
||||||
|
|
||||||
|
|
||||||
<h3 id="unshackle.core.tracks.Subtitle.sanitize_broken_webvtt" class="doc doc-heading">
|
<h3 id="unshackle.core.tracks.Subtitle.sanitize_broken_webvtt" class="doc doc-heading">
|
||||||
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">sanitize_broken_webvtt</span>
|
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">sanitize_broken_webvtt</span>
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user