Deployed c9cc4019 with MkDocs version: 1.5.3

gh-pages
4 weeks ago
parent decfa1bbd5
commit 82894070ce

@ -3633,14 +3633,6 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
</div>
<hr />
<h3 id="script">Script<a class="headerlink" href="#script" title="Permanent link"></a></h3>
<div class="admonition warning">
<p>Depending on whether you use the unRaid <code>Mover Tuning</code> app, You might need to change <strong>line 94</strong>:</p>
<ul>
<li>If you do not use <code>Mover Tuning</code>, change <strong>line 94</strong> from <code>os.system('/usr/local/sbin/mover.old start')</code> to <code>os.system('/usr/local/sbin/mover start')</code></li>
<li>If you use <code>Mover Tuning</code> but <strong>don't</strong> want to use it for the script, do not change <strong>line 94</strong></li>
<li>If you use <code>Mover Tuning</code> and <strong>do</strong> want to use it for the script, change <strong>line 94</strong> from <code>os.system('/usr/local/sbin/mover.old start')</code> to <code>os.system('/usr/local/sbin/mover start')</code>. For this option, inside the <code>Mover Tuner</code> options you will also need to set <code>Move Now button follows plugin filters</code> to <code>Yes</code> and <code>Disable Mover running on a schedule</code> to <code>No</code>.</li>
</ul>
</div>
<h4 id="copy-the-script-to-your-preferred-location">Copy the script to your preferred location<a class="headerlink" href="#copy-the-script-to-your-preferred-location" title="Permanent link"></a></h4>
<p>Place the script you just edited somewhere easy to access/remember.</p>
<p>Suggestions:</p>
@ -3659,13 +3651,16 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<p>Click on the cogwheel of the new script in the list.</p>
<p><a class="glightbox" href="../images/Unraid-settings-user-scripts-list-select-qbit-mover.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Select user script" src="../images/Unraid-settings-user-scripts-list-select-qbit-mover.png" /></a></p>
<p>Choose your method (select a tab) and copy/paste the script in the new window that opens, then click <code>SAVE CHANGES</code>.</p>
<div class="admonition info">
<p class="admonition-title">replace <code>ip</code> with your unraid server ip, replace <code>port</code> with your webgui port you use to access the webgui</p>
</div>
<div class="tabbed-set tabbed-alternate" data-tabs="2:2"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">Python (Native)</label><label for="__tabbed_2_2">Python (venv)</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="c1">#!/bin/bash</span>
<span class="w"> </span>/usr/local/emhttp/plugins/dynamix/scripts/notify<span class="w"> </span>-s<span class="w"> </span><span class="s2">&quot;qBittorrent Mover&quot;</span><span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;qBittorrent Mover starting @ `date +%H:%M:%S`.&quot;</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;executing script to pause torrents and run mover.&quot;</span>
<span class="w"> </span>python3<span class="w"> </span>/mnt/user/data/scripts/mover.py<span class="w"> </span>--host<span class="w"> </span><span class="s2">&quot;localhost:8080&quot;</span><span class="w"> </span>--user<span class="w"> </span><span class="s2">&quot;your_user&quot;</span><span class="w"> </span>--password<span class="w"> </span><span class="s2">&quot;your_password&quot;</span><span class="w"> </span>--days_from<span class="w"> </span><span class="m">0</span><span class="w"> </span>--days_to<span class="w"> </span><span class="m">2</span>
<span class="w"> </span>python3<span class="w"> </span>/mnt/user/data/scripts/mover.py<span class="w"> </span>--host<span class="w"> </span><span class="s2">&quot;ip:port&quot;</span><span class="w"> </span>--user<span class="w"> </span><span class="s2">&quot;your_user&quot;</span><span class="w"> </span>--password<span class="w"> </span><span class="s2">&quot;your_password&quot;</span><span class="w"> </span>--days_from<span class="w"> </span><span class="m">0</span><span class="w"> </span>--days_to<span class="w"> </span><span class="m">2</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;qbittorrent-mover completed and resumed all paused torrents.&quot;</span>
<span class="w"> </span>/usr/local/emhttp/plugins/dynamix/scripts/notify<span class="w"> </span>-s<span class="w"> </span><span class="s2">&quot;qBittorrent Mover&quot;</span><span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;qBittorrent Mover completed @ `date +%H:%M:%S`.&quot;</span>
</code></pre></div>
@ -3675,9 +3670,9 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<span class="w"> </span>/usr/local/emhttp/plugins/dynamix/scripts/notify<span class="w"> </span>-s<span class="w"> </span><span class="s2">&quot;qBittorrent Mover&quot;</span><span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;qBittorrent Mover starting @ `date +%H:%M:%S`.&quot;</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;executing script to pause torrents and run mover.&quot;</span>
<span class="w"> </span>/mnt/user/data/scripts/.venv/bin/python3<span class="w"> </span>/mnt/user/data/scripts/mover.py<span class="w"> </span>--host<span class="w"> </span><span class="s2">&quot;localhost:8080&quot;</span><span class="w"> </span>--user<span class="w"> </span><span class="s2">&quot;your_user&quot;</span><span class="w"> </span>--password<span class="w"> </span><span class="s2">&quot;your_password&quot;</span><span class="w"> </span>--days_from<span class="w"> </span><span class="m">0</span><span class="w"> </span>--days_to<span class="w"> </span><span class="m">2</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;qbittorrent-mover completed and resumed all paused torrents.&quot;</span>
<span class="w"> </span>/usr/local/emhttp/plugins/dynamix/scripts/notify<span class="w"> </span>-s<span class="w"> </span><span class="s2">&quot;qBittorrent Mover&quot;</span><span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;qBittorrent Mover completed @ `date +%H:%M:%S`.&quot;</span>
<span class="w"> </span>/mnt/user/data/scripts/.venv/bin/python3<span class="w"> </span>/mnt/user/data/scripts/mover.py<span class="w"> </span>--host<span class="w"> </span>ip:port<span class="s2">&quot; --user &quot;</span>your_user<span class="s2">&quot; --password &quot;</span>your_password<span class="s2">&quot; --days_from 0 --days_to 2</span>
<span class="s2"> echo &quot;</span>qbittorrent-mover<span class="w"> </span>completed<span class="w"> </span>and<span class="w"> </span>resumed<span class="w"> </span>all<span class="w"> </span>paused<span class="w"> </span>torrents.<span class="s2">&quot;</span>
<span class="s2"> /usr/local/emhttp/plugins/dynamix/scripts/notify -s &quot;</span>qBittorrent<span class="w"> </span>Mover<span class="s2">&quot; -d &quot;</span>qBittorrent<span class="w"> </span>Mover<span class="w"> </span>completed<span class="w"> </span>@<span class="w"> </span><span class="sb">`</span>date<span class="w"> </span>+%H:%M:%S<span class="sb">`</span>.<span class="s2">&quot;</span>
</code></pre></div>
</div>
</div>
@ -3693,7 +3688,8 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<li><code>user</code> =&gt; Your used qBittorrent <code>User Name</code> if you have authentication enabled.</li>
<li><code>password</code> =&gt; Your used qBittorrent <code>Password</code> if you have authentication enabled.</li>
</ul>
<p><a class="glightbox" href="../images/Unraid-settings-user-scripts-qbit-mover.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Bash script" src="../images/Unraid-settings-user-scripts-qbit-mover.png" /></a></p>
<!--- ![!Bash script](images/Unraid-settings-user-scripts-qbit-mover.png)-->
<p>Click the schedule dropdown to choose when the script should run. We want to select <code>Custom</code>.</p>
<p><a class="glightbox" href="../images/Unraid-settings-user-scripts-qbit-mover-schedule.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Set Run Time" src="../images/Unraid-settings-user-scripts-qbit-mover-schedule.png" /></a></p>
<p>After changing to <code>Custom</code> you will get an extra text field on the right where you can set your schedule (cron).</p>
@ -3732,7 +3728,7 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">March 16, 2024 13:28:35</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">April 22, 2024 16:27:48</span>
</span>

File diff suppressed because one or more lines are too long

Binary file not shown.
Loading…
Cancel
Save