Deployed 291417db with MkDocs version: 1.6.1

This commit is contained in:
2026-11-26 20:30:10 +00:00
parent 9cb51a4c1f
commit 3efcd59710
7 changed files with 376 additions and 341 deletions
+4 -3
View File
@@ -2762,12 +2762,13 @@ Two kinds of members matter: <strong>class variables</strong> that give the deta
<li><strong>DRM license hooks</strong>: <code>get_widevine_service_certificate</code>, <code>get_widevine_license</code>,
<code>get_playready_license</code> (delegates to Widevine by default), and
<code>get_clearkey_license</code> (returns <code>None</code> by default). See <a href="#drm-hooks">DRM hooks</a> below.</li>
<li><strong><code>request_input(prompt)</code></strong>: prompts the user. It goes through the remote-dl input
<li><strong><code>request_input(prompt, qr=None)</code></strong>: prompts the user. It goes through the remote-dl input
bridge, the REST download job relay, or the rich console.</li>
<li><strong><code>wait_for_approval(message, check, timeout, interval=3.0)</code></strong>: shows a message, then
<li><strong><code>wait_for_approval(message, check, timeout, interval=3.0, qr=None)</code></strong>: shows a message, then
calls <code>check</code> until it returns a value. Use it for a login that the user approves on
another device, such as a pair code. A remote-dl session shows the message as a log
line, and a REST download job shows it as the job's <code>notice</code>.</li>
line, and a REST download job shows it as the job's <code>notice</code>. Both methods take <code>qr</code>, the
text of a QR code to scan, and the terminal or UI that shows the user the message draws it.</li>
<li><strong>Event callbacks</strong>: <code>on_segment_downloaded</code>, <code>on_track_downloaded</code>,
<code>on_track_decrypted</code>, <code>on_track_repacked</code>, <code>on_track_multiplex</code> let a service react to
pipeline events.</li>