mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
Deployed 87b58190 with MkDocs version: 1.6.1
This commit is contained in:
@@ -347,28 +347,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-tabs__item">
|
||||
<a href="../../api/service/" class="md-tabs__link">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
API Reference
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -614,6 +592,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -886,6 +866,171 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
|
||||
|
||||
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_9" >
|
||||
|
||||
|
||||
<div class="md-nav__link md-nav__container">
|
||||
<a href="../../../dev/rest-api/" class="md-nav__link ">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Server
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
<label class="md-nav__link " for="__nav_3_9" id="__nav_3_9_label" tabindex="0">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
|
||||
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_3_9_label" aria-expanded="false">
|
||||
<label class="md-nav__title" for="__nav_3_9">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
|
||||
|
||||
Server
|
||||
|
||||
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../dev/rest-api/authentication/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Authentication
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../dev/rest-api/dashboard/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Dashboard
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guide/remote-sessions/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Remote Sessions
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -1083,7 +1228,7 @@
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Output & Naming
|
||||
Output & Naming Options
|
||||
|
||||
|
||||
|
||||
@@ -1167,7 +1312,7 @@
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Key Vaults
|
||||
Key Vault Options
|
||||
|
||||
|
||||
|
||||
@@ -1517,6 +1662,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1628,14 +1775,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1661,9 +1800,8 @@
|
||||
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_3" >
|
||||
|
||||
|
||||
<div class="md-nav__link md-nav__container">
|
||||
<a href="../../../dev/rest-api/" class="md-nav__link ">
|
||||
|
||||
<label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="0">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
@@ -1677,14 +1815,8 @@
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
<label class="md-nav__link " for="__nav_5_3" id="__nav_5_3_label" tabindex="0">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
|
||||
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="false">
|
||||
<label class="md-nav__title" for="__nav_5_3">
|
||||
@@ -1698,8 +1830,6 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1713,35 +1843,7 @@
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Quick Start
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../dev/rest-api/authentication/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Authentication
|
||||
REST API Quick Start
|
||||
|
||||
|
||||
|
||||
@@ -1818,14 +1920,14 @@
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../dev/rest-api/dashboard/" class="md-nav__link">
|
||||
<a href="../../../dev/rest-api/errors/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Dashboard
|
||||
Error Responses
|
||||
|
||||
|
||||
|
||||
@@ -1853,7 +1955,7 @@
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Remote Sessions
|
||||
Remote Session Protocol
|
||||
|
||||
|
||||
|
||||
@@ -1867,55 +1969,20 @@
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../dev/rest-api/errors/" class="md-nav__link">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
Error Responses
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1942,17 +2009,17 @@
|
||||
|
||||
|
||||
|
||||
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
|
||||
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_4" >
|
||||
|
||||
|
||||
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
|
||||
<label class="md-nav__link" for="__nav_5_4" id="__nav_5_4_label" tabindex="0">
|
||||
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
|
||||
|
||||
API Reference
|
||||
Python API
|
||||
|
||||
|
||||
|
||||
@@ -1963,12 +2030,12 @@
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
|
||||
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
|
||||
<label class="md-nav__title" for="__nav_6">
|
||||
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_4_label" aria-expanded="false">
|
||||
<label class="md-nav__title" for="__nav_5_4">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
|
||||
|
||||
API Reference
|
||||
Python API
|
||||
|
||||
|
||||
</label>
|
||||
@@ -2120,6 +2187,14 @@
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -2350,7 +2425,7 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="post-scripts">Post-scripts<a class="headerlink" href="#post-scripts" title="Permanent link">¶</a></h1>
|
||||
<h1 id="post-scripts">Post-Scripts<a class="headerlink" href="#post-scripts" title="Permanent link">¶</a></h1>
|
||||
<p>Operate your own script when a download finishes, with unshackle's metadata passed in as
|
||||
<code>{variable}</code> placeholders. Use it to hand a finished file to an uploader, send a
|
||||
notification, or start a library scan.</p>
|
||||
@@ -2410,7 +2485,7 @@ extra argument or a shell operator, and you never have to think about quoting. I
|
||||
means a path containing spaces always arrives as a single argument on every OS.</p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Prefix your variables</p>
|
||||
<p>Titles, episode names and IDs come from the streaming service, not from you. Tokenizing
|
||||
<p>Titles, episode names and IDs come from the streaming service, not from you. Tokenising
|
||||
first stops a value becoming a <em>new</em> argument, but a value on its own can still be a
|
||||
whole argument. A bare <code>{title}</code> whose value is <code>--upload-file=/etc/passwd</code> would arrive
|
||||
as an option to your script, not as text. Write <code>--title={title}</code>, not a bare <code>{title}</code>,
|
||||
@@ -2489,7 +2564,7 @@ values.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>{title}</code></td>
|
||||
<td>Show, movie or track name, sanitized</td>
|
||||
<td>Show, movie or track name, sanitised</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>{title_raw}</code></td>
|
||||
@@ -2609,7 +2684,7 @@ track arrived in, such as <code>.flac</code>, because a music download is not mu
|
||||
<h3 id="tagging-ids">Tagging IDs<a class="headerlink" href="#tagging-ids" title="Permanent link">¶</a></h3>
|
||||
<p><code>{tmdb}</code>, <code>{imdb}</code> and <code>{tvdb}</code> carry the IDs unshackle tags the file with. unshackle reads
|
||||
them at the moment it dispatches the post-script, and not at the start of the run. The title search
|
||||
inside the download loop finds an episode's TMDB ID, so a post-script fires with it already filled in.</p>
|
||||
that runs during the download finds an episode's TMDB ID, so a post-script fires with it already filled in.</p>
|
||||
<p>They hold an ID you passed with <code>--tmdb</code>, <code>--imdb</code> or <code>--tvdb</code>, plus a TMDB ID the episode
|
||||
search resolved. No such search runs for a movie, so a movie post-script gets them empty unless you
|
||||
passed one.</p>
|
||||
@@ -2813,7 +2888,7 @@ environment variable inside your script rather than putting it in the <code>comm
|
||||
<nav class="md-footer__inner md-grid" aria-label="Footer" >
|
||||
|
||||
|
||||
<a href="../vaults/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Key Vaults">
|
||||
<a href="../vaults/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Key Vault Options">
|
||||
<div class="md-footer__button md-icon">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
|
||||
@@ -2823,7 +2898,7 @@ environment variable inside your script rather than putting it in the <code>comm
|
||||
Previous
|
||||
</span>
|
||||
<div class="md-ellipsis">
|
||||
Key Vaults
|
||||
Key Vault Options
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user