Deployed ac0adfd0 with MkDocs version: 1.6.0

gh-pages
7 months ago
parent 7f1044d697
commit 44365fb05c

@ -3196,7 +3196,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3257,7 +3257,7 @@ If you've done it correctly you will get something that looks like the following
<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">January 12, 2023 21:51:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3282,12 +3282,18 @@ If you've done it correctly you will get something that looks like the following
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3624,7 +3624,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3958,7 +3958,7 @@ For more info about the other settings check the <a href="https://wiki.bazarr.me
<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">April 28, 2024 14:53:17</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3983,12 +3983,18 @@ For more info about the other settings check the <a href="https://wiki.bazarr.me
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3290,7 +3290,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3311,7 +3311,7 @@
<h1 id="suggested-scoring">Suggested Scoring<a class="headerlink" href="#suggested-scoring" title="Permanent link"></a></h1>
<p>You just setup Bazarr and wonder which scoring you should use/setup for your subtitles and sync ?</p>
<p>You just setup Bazarr and wonder which scoring you should use/setup for your subtitles and sync ?</p>
<p>I'll going to suggest here a scoring what would work for most common languages, with this scoring 99% of your downloaded subs should be the correct ones for your release.</p>
<ul>
<li>Setting it to low could result in bad subs or completely out of sync and un-syncable.</li>
@ -3345,7 +3345,6 @@
</ul>
</div>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3353,7 +3352,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
<div class="footnote">
<hr />
@ -3387,7 +3385,7 @@ It's kinda useless to start with why would you want to try to sync perfectly mat
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3412,12 +3410,18 @@ It's kinda useless to start with why would you want to try to sync perfectly mat
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3270,7 +3270,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3334,7 +3334,7 @@
<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">October 18, 2022 18:30:21</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3359,12 +3359,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3203,7 +3203,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3268,7 +3268,7 @@ mv<span class="w"> </span><span class="s2">&quot;{{subtitles}}&quot;</span><span
<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">August 15, 2023 18:56:43</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3293,12 +3293,18 @@ mv<span class="w"> </span><span class="s2">&quot;{{subtitles}}&quot;</span><span
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3638,7 +3638,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3668,10 +3668,10 @@
<!-- BEGIN INCLUDE ../hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<div class="admonition warning">
<p>But you're able to change this, by not using the pre-defined/recommended paths like:</p>
<ul>
@ -3681,7 +3681,6 @@
</ul>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/basic-setup.md" -->
<hr />
<div class="admonition note">
@ -3843,7 +3842,6 @@
<p>The <code>Label</code> plugin will allow you to categorize/sort your torrents. You can assign one Label per torrent. Starr apps can also use Deluge's labels to help them keep track of downloads and imported torrents.</p>
<p>Labels are a valuable tool, if used properly, to keep your torrents managed and organized.</p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3851,7 +3849,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3874,7 +3871,7 @@
<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">January 2, 2024 23:42:33</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3899,12 +3896,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3254,7 +3254,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3291,7 +3291,6 @@
<p><strong>Suggested: <code>Critical</code></strong></p>
</div>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3299,7 +3298,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3322,7 +3320,7 @@
<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">November 15, 2023 15:57:09</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3347,12 +3345,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3382,7 +3382,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3477,7 +3477,6 @@
<p>See the forum thread for details below.</p>
<p><a href="https://forum.deluge-torrent.org/viewtopic.php?p=235653#p235653" rel="noopener noreferrer" target="_blank">ltConfig</a></p>
<!-- BEGIN INCLUDE ../../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3486,8 +3485,6 @@
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3509,7 +3506,7 @@
<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">November 15, 2023 15:57:09</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3534,12 +3531,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3304,7 +3304,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3363,7 +3363,6 @@
<p>BE AWARE: These passwords are stored in PLAIN-TEXT in your <code>auth</code> file.</p>
</div>
<!-- BEGIN INCLUDE ../../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3372,8 +3371,6 @@
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3395,7 +3392,7 @@
<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">January 2, 2024 23:42:33</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3420,12 +3417,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3418,7 +3418,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3656,7 +3656,6 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<p>You can generate your scheduling <a href="https://crontab.guru/">HERE</a></p>
<p><a class="glightbox" href="../images/Unraid-settings-user-scripts-deluge-mover-cron.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-deluge-mover-cron.png" /></a></p>
<!-- BEGIN INCLUDE ../../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3686,7 +3685,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">May 4, 2024 14:18:43</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3711,12 +3710,18 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3302,7 +3302,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3347,7 +3347,6 @@
<p>Rechecking torrents will not trigger the "completion" call.</p>
</div>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3355,7 +3354,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3378,7 +3376,7 @@
<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">November 15, 2023 15:57:09</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3403,12 +3401,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3338,7 +3338,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3393,7 +3393,6 @@
<p><a href="https://hub.docker.com/r/binhex/arch-deluge">BinHex</a></p>
<p><a href="https://hub.docker.com/r/binhex/arch-delugevpn">BinHex VPN</a></p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3401,7 +3400,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3424,7 +3422,7 @@
<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">November 15, 2023 15:57:09</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3449,12 +3447,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3500,7 +3500,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3533,10 +3533,10 @@
<!-- BEGIN INCLUDE ../hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<div class="admonition warning">
<p>But you're able to change this, by not using the pre-defined/recommended paths like:</p>
<ul>
@ -3546,7 +3546,6 @@
</ul>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/basic-setup.md" -->
<hr />
<h2 id="some-basics">Some Basics<a class="headerlink" href="#some-basics" title="Permanent link"></a></h2>
@ -3736,7 +3735,6 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<p>and both boxes under <code>Failed Download Handling</code> at step 4.</p>
</details>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3744,7 +3742,6 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3767,7 +3764,7 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<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">January 18, 2023 18:46:20</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3792,12 +3789,18 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3235,7 +3235,6 @@
<p>The screenshots in the examples are using the following root path <code>/data</code></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/path.md" -->
<hr />
<p><code>Settings</code> =&gt; <code>PATHS</code></p>
@ -3255,10 +3254,8 @@
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> <strong><strong>Your Download and Media Library should be **NEVER</strong> the same locations**</strong> <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/warning-path-location.md" -->
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3266,7 +3263,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3289,7 +3285,7 @@
<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">November 27, 2022 16:48:53</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3314,12 +3310,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3188,7 +3188,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3260,12 +3260,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -18,44 +18,44 @@ from __future__ import print_function
import os, re, sys
# Exit codes used by NZBGet
POSTPROCESS_SUCCESS=93
POSTPROCESS_ERROR=94
POSTPROCESS_SKIP=95
POSTPROCESS_SUCCESS = 93
POSTPROCESS_ERROR = 94
POSTPROCESS_SKIP = 95
# Check if the script is called from NZBGet 13.0 or later
if not 'NZBOP_SCRIPTDIR' in os.environ:
print('*** NZBGet post-processing script ***')
print('This script is supposed to be called from NZBGet (13.0 or later).')
sys.exit(POSTPROCESS_ERROR)
if not 'NZBNP_NZBNAME' in os.environ:
print('[WARN] Filename not found in environment')
sys.exit(POSTPROCESS_ERROR)
fwp = os.environ['NZBNP_NZBNAME']
fwp = re.sub('(?i)-4P\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-4Planet\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-AsRequested\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-AsRequested-xpost\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-BUYMORE\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-Chamele0n\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-GEROV\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-iNC0GNiTO\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-NZBGeek\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-Obfuscated\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-postbot\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-Rakuv\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-Scrambled\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-WhiteRev\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-xpost\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[eztv([ ._-]re)?\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[TGx\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[TGx\]-xpost\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[ettv\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-WRTEAM\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-CAPTCHA\.nzb$', '.nzb', fwp)
fwp = re.sub(r'(\-[^-.\n]*)(\-.{4})?\.nzb$', r'\1.nzb', fwp)
if not "NZBOP_SCRIPTDIR" in os.environ:
print("*** NZBGet post-processing script ***")
print("This script is supposed to be called from NZBGet (13.0 or later).")
sys.exit(POSTPROCESS_ERROR)
if not "NZBNP_NZBNAME" in os.environ:
print("[WARN] Filename not found in environment")
sys.exit(POSTPROCESS_ERROR)
fwp = os.environ["NZBNP_NZBNAME"]
fwp = re.sub("(?i)-4P\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-4Planet\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-AsRequested\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-AsRequested-xpost\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-BUYMORE\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-Chamele0n\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-GEROV\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-iNC0GNiTO\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-NZBGeek\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-Obfuscated\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-postbot\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-Rakuv\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-Scrambled\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-WhiteRev\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-xpost\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)\[eztv([ ._-]re)?\]\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)\[TGx\]\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)\[TGx\]-xpost\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)\[ettv\]\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-WRTEAM\.nzb$", ".nzb", fwp)
fwp = re.sub("(?i)-CAPTCHA\.nzb$", ".nzb", fwp)
fwp = re.sub(r"(\-[^-.\n]*)(\-.{4})?\.nzb$", r"\1.nzb", fwp)
if fwp:
print('[NZB] NZBNAME=', fwp, sep='')
print("[NZB] NZBNAME=", fwp, sep="")
sys.exit(POSTPROCESS_SUCCESS)

@ -43,51 +43,73 @@ NZBGET_POSTPROCESS_NONE = 95
# EXTENSION STUFF
############################################################
def do_check():
if 'NZBOP_SCRIPTDIR' not in os.environ:
if "NZBOP_SCRIPTDIR" not in os.environ:
print("This script can only be called from NZBGet (11.0 or later).")
sys.exit(0)
if os.environ['NZBOP_VERSION'][0:5] < '11.0':
print("[ERROR] NZBGet Version %s is not supported. Please update NZBGet." % (str(os.environ['NZBOP_VERSION'])))
if os.environ["NZBOP_VERSION"][0:5] < "11.0":
print(
"[ERROR] NZBGet Version %s is not supported. Please update NZBGet."
% (str(os.environ["NZBOP_VERSION"]))
)
sys.exit(0)
print("Script triggered from NZBGet Version %s." % (str(os.environ['NZBOP_VERSION'])))
print(
"Script triggered from NZBGet Version %s." % (str(os.environ["NZBOP_VERSION"]))
)
status = 0
if 'NZBPP_TOTALSTATUS' in os.environ:
if not os.environ['NZBPP_TOTALSTATUS'] == 'SUCCESS':
print("[ERROR] Download failed with status %s." % (os.environ['NZBPP_STATUS']))
if "NZBPP_TOTALSTATUS" in os.environ:
if not os.environ["NZBPP_TOTALSTATUS"] == "SUCCESS":
print(
"[ERROR] Download failed with status %s." % (os.environ["NZBPP_STATUS"])
)
status = 1
else:
# Check par status
if os.environ['NZBPP_PARSTATUS'] == '1' or os.environ['NZBPP_PARSTATUS'] == '4':
print("[ERROR] Par-repair failed, setting status \"failed\".")
if os.environ["NZBPP_PARSTATUS"] == "1" or os.environ["NZBPP_PARSTATUS"] == "4":
print('[ERROR] Par-repair failed, setting status "failed".')
status = 1
# Check unpack status
if os.environ['NZBPP_UNPACKSTATUS'] == '1':
print("[ERROR] Unpack failed, setting status \"failed\".")
if os.environ["NZBPP_UNPACKSTATUS"] == "1":
print('[ERROR] Unpack failed, setting status "failed".')
status = 1
if os.environ['NZBPP_UNPACKSTATUS'] == '0' and os.environ['NZBPP_PARSTATUS'] == '0':
if (
os.environ["NZBPP_UNPACKSTATUS"] == "0"
and os.environ["NZBPP_PARSTATUS"] == "0"
):
# Unpack was skipped due to nzb-file properties or due to errors during par-check
if os.environ['NZBPP_HEALTH'] < 1000:
print("[ERROR] Download health is compromised and Par-check/repair disabled or no .par2 files found. " \
"Setting status \"failed\".")
print("[ERROR] Please check your Par-check/repair settings for future downloads.")
if os.environ["NZBPP_HEALTH"] < 1000:
print(
"[ERROR] Download health is compromised and Par-check/repair disabled or no .par2 files found. "
'Setting status "failed".'
)
print(
"[ERROR] Please check your Par-check/repair settings for future downloads."
)
status = 1
else:
print("[ERROR] Par-check/repair disabled or no .par2 files found, and Unpack not required. Health is " \
"ok so handle as though download successful.")
print("[WARNING] Please check your Par-check/repair settings for future downloads.")
print(
"[ERROR] Par-check/repair disabled or no .par2 files found, and Unpack not required. Health is "
"ok so handle as though download successful."
)
print(
"[WARNING] Please check your Par-check/repair settings for future downloads."
)
# Check if destination directory exists (important for reprocessing of history items)
if not os.path.isdir(os.environ['NZBPP_DIRECTORY']):
print("[ERROR] Nothing to post-process: destination directory", os.environ[
'NZBPP_DIRECTORY'], "doesn't exist. Setting status \"failed\".")
if not os.path.isdir(os.environ["NZBPP_DIRECTORY"]):
print(
"[ERROR] Nothing to post-process: destination directory",
os.environ["NZBPP_DIRECTORY"],
'doesn\'t exist. Setting status "failed".',
)
status = 1
# All checks done, now launching the script.
@ -98,9 +120,9 @@ def do_check():
def get_file_name(path):
try:
file_name = os.path.basename(path)
extensions = re.findall(r'\.([^.]+)', file_name)
ext = '.'.join(extensions)
name = file_name.replace(".%s" % ext, '')
extensions = re.findall(r"\.([^.]+)", file_name)
ext = ".".join(extensions)
name = file_name.replace(".%s" % ext, "")
return name, ext
except Exception:
pass
@ -109,10 +131,10 @@ def get_file_name(path):
def is_file_hash(file_name):
hash_regexp = [
r'^[a-fA-F0-9]{40}$',
r'^[a-fA-F0-9]{32}$',
r'^[a-f0-9]{128}$',
r'^[a-zA-Z0-9]{42}$'
r"^[a-fA-F0-9]{40}$",
r"^[a-fA-F0-9]{32}$",
r"^[a-f0-9]{128}$",
r"^[a-zA-Z0-9]{42}$",
]
for hash in hash_regexp:
if re.match(hash, file_name):
@ -146,20 +168,20 @@ def find_files(folder, extension=None, depth=None):
do_check()
# retrieve required variables
directory = os.path.normpath(os.environ['NZBPP_DIRECTORY'])
nzb_name = os.environ['NZBPP_NZBFILENAME']
directory = os.path.normpath(os.environ["NZBPP_DIRECTORY"])
nzb_name = os.environ["NZBPP_NZBFILENAME"]
if nzb_name is None:
print("[ERROR] Unable to retrieve NZBPP_NZBFILENAME")
sys.exit(NZBGET_POSTPROCESS_ERROR)
nzb_name = nzb_name.replace('.nzb', '')
nzb_name = nzb_name.replace(".nzb", "")
print(("[INFO] Using \"%s\" for hashed filenames" % nzb_name))
print(("[INFO] Scanning \"%s\" for hashed filenames" % directory))
print(('[INFO] Using "%s" for hashed filenames' % nzb_name))
print(('[INFO] Scanning "%s" for hashed filenames' % directory))
# scan for files
found_files = find_files(directory)
if not found_files:
print(("[INFO] No files were found in \"%s\"" % directory))
print(('[INFO] No files were found in "%s"' % directory))
sys.exit(NZBGET_POSTPROCESS_NONE)
else:
print(("[INFO] Found %d files to check for hashed filenames" % len(found_files)))
@ -173,13 +195,20 @@ else:
# is this a file hash
if is_file_hash(file_name):
new_file_path = os.path.join(dir_name, "%s.%s" % (nzb_name, file_ext))
print(("[INFO] Moving \"%s\" to \"%s\"" % (found_file_path, new_file_path)))
print(('[INFO] Moving "%s" to "%s"' % (found_file_path, new_file_path)))
try:
shutil.move(found_file_path, new_file_path)
moved_files += 1
except Exception:
print(("[ERROR] Failed moving \"%s\" to \"%s\"" % (found_file_path, new_file_path)))
print(("[INFO] Finished processing \"%s\", moved %d files" % (directory, moved_files)))
sys.exit(NZBGET_POSTPROCESS_SUCCESS)
print(
(
'[ERROR] Failed moving "%s" to "%s"'
% (found_file_path, new_file_path)
)
)
print(
('[INFO] Finished processing "%s", moved %d files' % (directory, moved_files))
)
sys.exit(NZBGET_POSTPROCESS_SUCCESS)

@ -30,47 +30,56 @@ POSTPROCESS_ERROR = 94
try:
from lxml import etree
except ImportError:
print(u'[ERROR] Python lxml required. Please install with "sudo apt install python-lxml" or "pip install lxml".')
print(
'[ERROR] Python lxml required. Please install with "sudo apt install python-lxml" or "pip install lxml".'
)
sys.exit(POSTPROCESS_ERROR)
patterns = (
re.compile(r'^(?P<prefix>.*\[PRiVATE\]-\[WtFnZb\]-)'
r'\[(?P<total>\d+)\]-\[(?P<segment>\d+)\/(?P<filename>.{3,}?)\]'
r'\s+-\s+""\s+yEnc\s+',
re.MULTILINE | re.UNICODE),
re.compile(r'^(?P<prefix>.*\[PRiVATE\]-\[WtFnZb\]-)'
r'\[(?P<filename>.{3,}?)\]-\[(?P<segment>\d+)/(?P<total>\d+)\]'
r'\s+-\s+""\s+yEnc\s+',
re.MULTILINE | re.UNICODE))
nzb_dir = os.getenv('NZBNP_DIRECTORY')
nzb_filename = os.getenv('NZBNP_FILENAME')
nzb_name = os.getenv('NZBNP_NZBNAME')
nzb_file_naming = os.getenv('NZBOP_FILENAMING')
re.compile(
r"^(?P<prefix>.*\[PRiVATE\]-\[WtFnZb\]-)"
r"\[(?P<total>\d+)\]-\[(?P<segment>\d+)\/(?P<filename>.{3,}?)\]"
r'\s+-\s+""\s+yEnc\s+',
re.MULTILINE | re.UNICODE,
),
re.compile(
r"^(?P<prefix>.*\[PRiVATE\]-\[WtFnZb\]-)"
r"\[(?P<filename>.{3,}?)\]-\[(?P<segment>\d+)/(?P<total>\d+)\]"
r'\s+-\s+""\s+yEnc\s+',
re.MULTILINE | re.UNICODE,
),
)
nzb_dir = os.getenv("NZBNP_DIRECTORY")
nzb_filename = os.getenv("NZBNP_FILENAME")
nzb_name = os.getenv("NZBNP_NZBNAME")
nzb_file_naming = os.getenv("NZBOP_FILENAMING")
if nzb_dir is None or nzb_filename is None or nzb_name is None:
print('Please run as NZBGet plugin')
print("Please run as NZBGet plugin")
sys.exit(POSTPROCESS_ERROR)
if nzb_file_naming is not None and nzb_file_naming.lower() != 'nzb':
print(u'[ERROR] NZBGet setting FileNaming (under Download Queue) '
u'must be set to "Nzb" for this extension to work correctly, exiting.')
if nzb_file_naming is not None and nzb_file_naming.lower() != "nzb":
print(
"[ERROR] NZBGet setting FileNaming (under Download Queue) "
'must be set to "Nzb" for this extension to work correctly, exiting.'
)
sys.exit(POSTPROCESS_ERROR)
if not os.path.exists(nzb_dir):
print('[ERROR] NZB directory doesn\'t exist, exiting')
print("[ERROR] NZB directory doesn't exist, exiting")
sys.exit(POSTPROCESS_ERROR)
if not nzb_filename.lower().endswith('.nzb'):
print(u'[ERROR] {} is not a .nzb file.'.format(nzb_filename))
if not nzb_filename.lower().endswith(".nzb"):
print("[ERROR] {} is not a .nzb file.".format(nzb_filename))
sys.exit(POSTPROCESS_ERROR)
nzb = os.path.join(nzb_dir, nzb_filename)
if not os.path.exists(nzb):
print('[ERROR] {nzb} doesn\'t exist, exiting'.format(nzb=nzb))
print("[ERROR] {nzb} doesn't exist, exiting".format(nzb=nzb))
sys.exit(POSTPROCESS_ERROR)
with open(nzb, mode='rb') as infile:
with open(nzb, mode="rb") as infile:
tree = etree.parse(infile)
changed = False
@ -78,74 +87,77 @@ file_count = 0
totals = set()
filenames = set()
for f in tree.getiterator('{http://www.newzbin.com/DTD/2003/nzb}file'):
subject = f.get('subject')
for f in tree.getiterator("{http://www.newzbin.com/DTD/2003/nzb}file"):
subject = f.get("subject")
if subject is None:
print(u'[DETAIL] No subject in <file>, skipping')
print("[DETAIL] No subject in <file>, skipping")
continue
file_count += 1
result = [re.match(pattern, subject) for pattern in patterns]
matched = [m for m in result if m is not None]
if len(matched) == 0:
print(u'[INFO] No pattern matching subject, exiting.')
print("[INFO] No pattern matching subject, exiting.")
sys.exit(POSTPROCESS_NONE)
elif len(matched) > 1:
print(u'[ERROR] Multiple patterns matched, exiting.')
print("[ERROR] Multiple patterns matched, exiting.")
sys.exit(POSTPROCESS_ERROR)
else:
match = matched[0].groupdict()
if match['filename'].lower().endswith('.par2'):
print(u'[INFO] par2 exists, exiting')
if match["filename"].lower().endswith(".par2"):
print("[INFO] par2 exists, exiting")
sys.exit(POSTPROCESS_NONE)
if int(match['segment']) > int(match['total']):
print(u'[DETAIL] Segment index is greater then total, skipping')
if int(match["segment"]) > int(match["total"]):
print("[DETAIL] Segment index is greater then total, skipping")
continue
# NZBGet subject parsing changes when duplicate filenames are present
# prefix duplicates to avoid that
if match['filename'] in filenames:
match['filename'] = u'{}.{}'.format(file_count, match['filename'])
if match["filename"] in filenames:
match["filename"] = "{}.{}".format(file_count, match["filename"])
filenames.add(match['filename'])
filenames.add(match["filename"])
s = u'WtFnZb "{filename}" yEnc ({segment}/{total})'.format(
filename = match['filename'],
segment = match['segment'],
total = match['total'])
s = 'WtFnZb "{filename}" yEnc ({segment}/{total})'.format(
filename=match["filename"], segment=match["segment"], total=match["total"]
)
print(u'[INFO] New subject {subject}'.format(subject=s.encode('ascii', 'ignore')))
f.set('subject', s)
print("[INFO] New subject {subject}".format(subject=s.encode("ascii", "ignore")))
f.set("subject", s)
changed = True
totals.add(int(match['total']))
totals.add(int(match["total"]))
if not changed:
print(u'[WARNING] No subject changed, exiting.')
print("[WARNING] No subject changed, exiting.")
sys.exit(POSTPROCESS_NONE)
if len(totals) != 1:
print(u'[WARNING] Mixed values for number of total segments, exiting.')
print("[WARNING] Mixed values for number of total segments, exiting.")
sys.exit(POSTPROCESS_NONE)
if totals.pop() != file_count:
print(u'[WARNING] Listed segment count does not match <file> count, exiting.')
print("[WARNING] Listed segment count does not match <file> count, exiting.")
sys.exit(POSTPROCESS_NONE)
org = u'{}.wtfnzb.original.processed'.format(nzb)
org = "{}.wtfnzb.original.processed".format(nzb)
exists_counter = 0
while os.path.exists(org):
exists_counter += 1
org = u'{}.{}.wtfnzb.original.processed'.format(nzb, exists_counter)
org = "{}.{}.wtfnzb.original.processed".format(nzb, exists_counter)
print(u'[INFO] Preserving original nzb as {}'.format(org))
print("[INFO] Preserving original nzb as {}".format(org))
os.rename(nzb, org)
print(u'[INFO] Writing {}'.format(nzb))
with open(nzb, mode='wb') as outfile:
outfile.write(etree.tostring(tree,
xml_declaration=True,
encoding=tree.docinfo.encoding,
doctype=tree.docinfo.doctype))
print("[INFO] Writing {}".format(nzb))
with open(nzb, mode="wb") as outfile:
outfile.write(
etree.tostring(
tree,
xml_declaration=True,
encoding=tree.docinfo.encoding,
doctype=tree.docinfo.doctype,
)
)
sys.exit(POSTPROCESS_SUCCESS)

@ -3232,7 +3232,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3289,45 +3289,45 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
<span class="kn">import</span> <span class="nn">os</span><span class="o">,</span> <span class="nn">re</span><span class="o">,</span> <span class="nn">sys</span>
<span class="c1"># Exit codes used by NZBGet</span>
<span class="n">POSTPROCESS_SUCCESS</span><span class="o">=</span><span class="mi">93</span>
<span class="n">POSTPROCESS_ERROR</span><span class="o">=</span><span class="mi">94</span>
<span class="n">POSTPROCESS_SKIP</span><span class="o">=</span><span class="mi">95</span>
<span class="n">POSTPROCESS_SUCCESS</span> <span class="o">=</span> <span class="mi">93</span>
<span class="n">POSTPROCESS_ERROR</span> <span class="o">=</span> <span class="mi">94</span>
<span class="n">POSTPROCESS_SKIP</span> <span class="o">=</span> <span class="mi">95</span>
<span class="c1"># Check if the script is called from NZBGet 13.0 or later</span>
<span class="k">if</span> <span class="ow">not</span> <span class="s1">&#39;NZBOP_SCRIPTDIR&#39;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;*** NZBGet post-processing script ***&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;This script is supposed to be called from NZBGet (13.0 or later).&#39;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="s1">&#39;NZBNP_NZBNAME&#39;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[WARN] Filename not found in environment&#39;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBNP_NZBNAME&#39;</span><span class="p">]</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-4P\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-4Planet\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AsRequested\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AsRequested-xpost\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-BUYMORE\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Chamele0n\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-GEROV\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-iNC0GNiTO\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-NZBGeek\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Obfuscated\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-postbot\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Rakuv\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Scrambled\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-WhiteRev\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-xpost\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[eztv([ ._-]re)?\]\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[TGx\]\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[TGx\]-xpost\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[ettv\]\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-WRTEAM\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-CAPTCHA\.nzb$&#39;</span><span class="p">,</span> <span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;(\-[^-.\n]*)(\-.</span><span class="si">{4}</span><span class="s1">)?\.nzb$&#39;</span><span class="p">,</span> <span class="sa">r</span><span class="s1">&#39;\1.nzb&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="s2">&quot;NZBOP_SCRIPTDIR&quot;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;*** NZBGet post-processing script ***&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;This script is supposed to be called from NZBGet (13.0 or later).&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="s2">&quot;NZBNP_NZBNAME&quot;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[WARN] Filename not found in environment&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBNP_NZBNAME&quot;</span><span class="p">]</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-4P\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-4Planet\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AsRequested\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AsRequested-xpost\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-BUYMORE\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Chamele0n\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-GEROV\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-iNC0GNiTO\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-NZBGeek\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Obfuscated\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-postbot\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Rakuv\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Scrambled\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-WhiteRev\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-xpost\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[eztv([ ._-]re)?\]\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[TGx\]\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[TGx\]-xpost\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[ettv\]\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-WRTEAM\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-CAPTCHA\.nzb$&quot;</span><span class="p">,</span> <span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="sa">r</span><span class="s2">&quot;(\-[^-.\n]*)(\-.</span><span class="si">{4}</span><span class="s2">)?\.nzb$&quot;</span><span class="p">,</span> <span class="sa">r</span><span class="s2">&quot;\1.nzb&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="k">if</span> <span class="n">fwp</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[NZB] NZBNAME=&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">,</span> <span class="n">sep</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[NZB] NZBNAME=&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">,</span> <span class="n">sep</span><span class="o">=</span><span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_SUCCESS</span><span class="p">)</span>
</code></pre></div>
@ -3391,51 +3391,73 @@ Released under GNU General Public License v2.0</p>
<span class="c1"># EXTENSION STUFF</span>
<span class="c1">############################################################</span>
<span class="k">def</span> <span class="nf">do_check</span><span class="p">():</span>
<span class="k">if</span> <span class="s1">&#39;NZBOP_SCRIPTDIR&#39;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="k">if</span> <span class="s2">&quot;NZBOP_SCRIPTDIR&quot;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;This script can only be called from NZBGet (11.0 or later).&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBOP_VERSION&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">:</span><span class="mi">5</span><span class="p">]</span> <span class="o">&lt;</span> <span class="s1">&#39;11.0&#39;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] NZBGet Version </span><span class="si">%s</span><span class="s2"> is not supported. Please update NZBGet.&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBOP_VERSION&#39;</span><span class="p">])))</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBOP_VERSION&quot;</span><span class="p">][</span><span class="mi">0</span><span class="p">:</span><span class="mi">5</span><span class="p">]</span> <span class="o">&lt;</span> <span class="s2">&quot;11.0&quot;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] NZBGet Version </span><span class="si">%s</span><span class="s2"> is not supported. Please update NZBGet.&quot;</span>
<span class="o">%</span> <span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBOP_VERSION&quot;</span><span class="p">]))</span>
<span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Script triggered from NZBGet Version </span><span class="si">%s</span><span class="s2">.&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBOP_VERSION&#39;</span><span class="p">])))</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;Script triggered from NZBGet Version </span><span class="si">%s</span><span class="s2">.&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBOP_VERSION&quot;</span><span class="p">]))</span>
<span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">if</span> <span class="s1">&#39;NZBPP_TOTALSTATUS&#39;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_TOTALSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;SUCCESS&#39;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Download failed with status </span><span class="si">%s</span><span class="s2">.&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_STATUS&#39;</span><span class="p">]))</span>
<span class="k">if</span> <span class="s2">&quot;NZBPP_TOTALSTATUS&quot;</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_TOTALSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;SUCCESS&quot;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] Download failed with status </span><span class="si">%s</span><span class="s2">.&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_STATUS&quot;</span><span class="p">])</span>
<span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">else</span><span class="p">:</span>
<span class="c1"># Check par status</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_PARSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;1&#39;</span> <span class="ow">or</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_PARSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;4&#39;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Par-repair failed, setting status </span><span class="se">\&quot;</span><span class="s2">failed</span><span class="se">\&quot;</span><span class="s2">.&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_PARSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;1&quot;</span> <span class="ow">or</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_PARSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;4&quot;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[ERROR] Par-repair failed, setting status &quot;failed&quot;.&#39;</span><span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">1</span>
<span class="c1"># Check unpack status</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_UNPACKSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;1&#39;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Unpack failed, setting status </span><span class="se">\&quot;</span><span class="s2">failed</span><span class="se">\&quot;</span><span class="s2">.&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_UNPACKSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;1&quot;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[ERROR] Unpack failed, setting status &quot;failed&quot;.&#39;</span><span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_UNPACKSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;0&#39;</span> <span class="ow">and</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_PARSTATUS&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;0&#39;</span><span class="p">:</span>
<span class="k">if</span> <span class="p">(</span>
<span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_UNPACKSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;0&quot;</span>
<span class="ow">and</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_PARSTATUS&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;0&quot;</span>
<span class="p">):</span>
<span class="c1"># Unpack was skipped due to nzb-file properties or due to errors during par-check</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_HEALTH&#39;</span><span class="p">]</span> <span class="o">&lt;</span> <span class="mi">1000</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Download health is compromised and Par-check/repair disabled or no .par2 files found. &quot;</span> \
<span class="s2">&quot;Setting status </span><span class="se">\&quot;</span><span class="s2">failed</span><span class="se">\&quot;</span><span class="s2">.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Please check your Par-check/repair settings for future downloads.&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_HEALTH&quot;</span><span class="p">]</span> <span class="o">&lt;</span> <span class="mi">1000</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] Download health is compromised and Par-check/repair disabled or no .par2 files found. &quot;</span>
<span class="s1">&#39;Setting status &quot;failed&quot;.&#39;</span>
<span class="p">)</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] Please check your Par-check/repair settings for future downloads.&quot;</span>
<span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Par-check/repair disabled or no .par2 files found, and Unpack not required. Health is &quot;</span> \
<span class="s2">&quot;ok so handle as though download successful.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[WARNING] Please check your Par-check/repair settings for future downloads.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] Par-check/repair disabled or no .par2 files found, and Unpack not required. Health is &quot;</span>
<span class="s2">&quot;ok so handle as though download successful.&quot;</span>
<span class="p">)</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[WARNING] Please check your Par-check/repair settings for future downloads.&quot;</span>
<span class="p">)</span>
<span class="c1"># Check if destination directory exists (important for reprocessing of history items)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isdir</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_DIRECTORY&#39;</span><span class="p">]):</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Nothing to post-process: destination directory&quot;</span><span class="p">,</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span>
<span class="s1">&#39;NZBPP_DIRECTORY&#39;</span><span class="p">],</span> <span class="s2">&quot;doesn&#39;t exist. Setting status </span><span class="se">\&quot;</span><span class="s2">failed</span><span class="se">\&quot;</span><span class="s2">.&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isdir</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_DIRECTORY&quot;</span><span class="p">]):</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] Nothing to post-process: destination directory&quot;</span><span class="p">,</span>
<span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_DIRECTORY&quot;</span><span class="p">],</span>
<span class="s1">&#39;doesn</span><span class="se">\&#39;</span><span class="s1">t exist. Setting status &quot;failed&quot;.&#39;</span><span class="p">,</span>
<span class="p">)</span>
<span class="n">status</span> <span class="o">=</span> <span class="mi">1</span>
<span class="c1"># All checks done, now launching the script.</span>
@ -3446,9 +3468,9 @@ Released under GNU General Public License v2.0</p>
<span class="k">def</span> <span class="nf">get_file_name</span><span class="p">(</span><span class="n">path</span><span class="p">):</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">file_name</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">basename</span><span class="p">(</span><span class="n">path</span><span class="p">)</span>
<span class="n">extensions</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">findall</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;\.([^.]+)&#39;</span><span class="p">,</span> <span class="n">file_name</span><span class="p">)</span>
<span class="n">ext</span> <span class="o">=</span> <span class="s1">&#39;.&#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">extensions</span><span class="p">)</span>
<span class="n">name</span> <span class="o">=</span> <span class="n">file_name</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;.</span><span class="si">%s</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="n">ext</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">)</span>
<span class="n">extensions</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">findall</span><span class="p">(</span><span class="sa">r</span><span class="s2">&quot;\.([^.]+)&quot;</span><span class="p">,</span> <span class="n">file_name</span><span class="p">)</span>
<span class="n">ext</span> <span class="o">=</span> <span class="s2">&quot;.&quot;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">extensions</span><span class="p">)</span>
<span class="n">name</span> <span class="o">=</span> <span class="n">file_name</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;.</span><span class="si">%s</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="n">ext</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="k">return</span> <span class="n">name</span><span class="p">,</span> <span class="n">ext</span>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="k">pass</span>
@ -3457,10 +3479,10 @@ Released under GNU General Public License v2.0</p>
<span class="k">def</span> <span class="nf">is_file_hash</span><span class="p">(</span><span class="n">file_name</span><span class="p">):</span>
<span class="n">hash_regexp</span> <span class="o">=</span> <span class="p">[</span>
<span class="sa">r</span><span class="s1">&#39;^[a-fA-F0-9]</span><span class="si">{40}</span><span class="s1">$&#39;</span><span class="p">,</span>
<span class="sa">r</span><span class="s1">&#39;^[a-fA-F0-9]</span><span class="si">{32}</span><span class="s1">$&#39;</span><span class="p">,</span>
<span class="sa">r</span><span class="s1">&#39;^[a-f0-9]</span><span class="si">{128}</span><span class="s1">$&#39;</span><span class="p">,</span>
<span class="sa">r</span><span class="s1">&#39;^[a-zA-Z0-9]</span><span class="si">{42}</span><span class="s1">$&#39;</span>
<span class="sa">r</span><span class="s2">&quot;^[a-fA-F0-9]</span><span class="si">{40}</span><span class="s2">$&quot;</span><span class="p">,</span>
<span class="sa">r</span><span class="s2">&quot;^[a-fA-F0-9]</span><span class="si">{32}</span><span class="s2">$&quot;</span><span class="p">,</span>
<span class="sa">r</span><span class="s2">&quot;^[a-f0-9]</span><span class="si">{128}</span><span class="s2">$&quot;</span><span class="p">,</span>
<span class="sa">r</span><span class="s2">&quot;^[a-zA-Z0-9]</span><span class="si">{42}</span><span class="s2">$&quot;</span><span class="p">,</span>
<span class="p">]</span>
<span class="k">for</span> <span class="nb">hash</span> <span class="ow">in</span> <span class="n">hash_regexp</span><span class="p">:</span>
<span class="k">if</span> <span class="n">re</span><span class="o">.</span><span class="n">match</span><span class="p">(</span><span class="nb">hash</span><span class="p">,</span> <span class="n">file_name</span><span class="p">):</span>
@ -3494,20 +3516,20 @@ Released under GNU General Public License v2.0</p>
<span class="n">do_check</span><span class="p">()</span>
<span class="c1"># retrieve required variables</span>
<span class="n">directory</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">normpath</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_DIRECTORY&#39;</span><span class="p">])</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_NZBFILENAME&#39;</span><span class="p">]</span>
<span class="n">directory</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">normpath</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_DIRECTORY&quot;</span><span class="p">])</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_NZBFILENAME&quot;</span><span class="p">]</span>
<span class="k">if</span> <span class="n">nzb_name</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Unable to retrieve NZBPP_NZBFILENAME&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">NZBGET_POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">nzb_name</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s1">&#39;.nzb&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">)</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">nzb_name</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;.nzb&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] Using </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2"> for hashed filenames&quot;</span> <span class="o">%</span> <span class="n">nzb_name</span><span class="p">))</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] Scanning </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2"> for hashed filenames&quot;</span> <span class="o">%</span> <span class="n">directory</span><span class="p">))</span>
<span class="nb">print</span><span class="p">((</span><span class="s1">&#39;[INFO] Using &quot;</span><span class="si">%s</span><span class="s1">&quot; for hashed filenames&#39;</span> <span class="o">%</span> <span class="n">nzb_name</span><span class="p">))</span>
<span class="nb">print</span><span class="p">((</span><span class="s1">&#39;[INFO] Scanning &quot;</span><span class="si">%s</span><span class="s1">&quot; for hashed filenames&#39;</span> <span class="o">%</span> <span class="n">directory</span><span class="p">))</span>
<span class="c1"># scan for files</span>
<span class="n">found_files</span> <span class="o">=</span> <span class="n">find_files</span><span class="p">(</span><span class="n">directory</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">found_files</span><span class="p">:</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] No files were found in </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="n">directory</span><span class="p">))</span>
<span class="nb">print</span><span class="p">((</span><span class="s1">&#39;[INFO] No files were found in &quot;</span><span class="si">%s</span><span class="s1">&quot;&#39;</span> <span class="o">%</span> <span class="n">directory</span><span class="p">))</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">NZBGET_POSTPROCESS_NONE</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] Found </span><span class="si">%d</span><span class="s2"> files to check for hashed filenames&quot;</span> <span class="o">%</span> <span class="nb">len</span><span class="p">(</span><span class="n">found_files</span><span class="p">)))</span>
@ -3521,14 +3543,21 @@ Released under GNU General Public License v2.0</p>
<span class="c1"># is this a file hash</span>
<span class="k">if</span> <span class="n">is_file_hash</span><span class="p">(</span><span class="n">file_name</span><span class="p">):</span>
<span class="n">new_file_path</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">dir_name</span><span class="p">,</span> <span class="s2">&quot;</span><span class="si">%s</span><span class="s2">.</span><span class="si">%s</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">nzb_name</span><span class="p">,</span> <span class="n">file_ext</span><span class="p">))</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] Moving </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2"> to </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">found_file_path</span><span class="p">,</span> <span class="n">new_file_path</span><span class="p">)))</span>
<span class="nb">print</span><span class="p">((</span><span class="s1">&#39;[INFO] Moving &quot;</span><span class="si">%s</span><span class="s1">&quot; to &quot;</span><span class="si">%s</span><span class="s1">&quot;&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">found_file_path</span><span class="p">,</span> <span class="n">new_file_path</span><span class="p">)))</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">shutil</span><span class="o">.</span><span class="n">move</span><span class="p">(</span><span class="n">found_file_path</span><span class="p">,</span> <span class="n">new_file_path</span><span class="p">)</span>
<span class="n">moved_files</span> <span class="o">+=</span> <span class="mi">1</span>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[ERROR] Failed moving </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2"> to </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">found_file_path</span><span class="p">,</span> <span class="n">new_file_path</span><span class="p">)))</span>
<span class="nb">print</span><span class="p">(</span>
<span class="p">(</span>
<span class="s1">&#39;[ERROR] Failed moving &quot;</span><span class="si">%s</span><span class="s1">&quot; to &quot;</span><span class="si">%s</span><span class="s1">&quot;&#39;</span>
<span class="o">%</span> <span class="p">(</span><span class="n">found_file_path</span><span class="p">,</span> <span class="n">new_file_path</span><span class="p">)</span>
<span class="p">)</span>
<span class="p">)</span>
<span class="nb">print</span><span class="p">((</span><span class="s2">&quot;[INFO] Finished processing </span><span class="se">\&quot;</span><span class="si">%s</span><span class="se">\&quot;</span><span class="s2">, moved </span><span class="si">%d</span><span class="s2"> files&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">directory</span><span class="p">,</span> <span class="n">moved_files</span><span class="p">)))</span>
<span class="nb">print</span><span class="p">(</span>
<span class="p">(</span><span class="s1">&#39;[INFO] Finished processing &quot;</span><span class="si">%s</span><span class="s1">&quot;, moved </span><span class="si">%d</span><span class="s1"> files&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">directory</span><span class="p">,</span> <span class="n">moved_files</span><span class="p">))</span>
<span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">NZBGET_POSTPROCESS_SUCCESS</span><span class="p">)</span>
</code></pre></div>
@ -3542,12 +3571,11 @@ Released under GNU General Public License v2.0</p>
</ul>
<p>Replaces underscores with dots in downloaded filename to prevent download loops with poorly named releases on some indexers (often HONE releases).</p>
<p>Install Instructions:</p>
<ol>
<li>Copy script to NZBGet's script folder</li>
<li>Run: <code>sudo chmod +x replace_for.py</code></li>
<li>In NZBGet go to <code>Settings</code> =&gt; <code>Extension Scripts</code></li>
<li>Enable <code>replace_for.py</code> in the <code>Extensions</code> setting.</li>
</ol>
<div class="highlight"><pre><span></span><code><span class="mf">1.</span><span class="w"> </span><span class="n">Copy</span><span class="w"> </span><span class="n">script</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">NZBGet</span><span class="s1">&#39;s script folder</span>
<span class="s1">1. Run: `sudo chmod +x replace_for.py`</span>
<span class="s1">1. In NZBGet go to `Settings` =&gt; `Extension Scripts`</span>
<span class="s1">1. Enable `replace_for.py` in the `Extensions` setting.</span>
</code></pre></div>
</details>
<details class="example">
<summary>Script</summary>
@ -3575,20 +3603,20 @@ Released under GNU General Public License v2.0</p>
<span class="kn">import</span> <span class="nn">os</span><span class="o">,</span> <span class="nn">re</span><span class="o">,</span> <span class="nn">sys</span>
<span class="c1"># Exit codes used by NZBGet</span>
<span class="n">POSTPROCESS_SUCCESS</span><span class="o">=</span><span class="mi">93</span>
<span class="n">POSTPROCESS_ERROR</span><span class="o">=</span><span class="mi">94</span>
<span class="n">POSTPROCESS_SKIP</span><span class="o">=</span><span class="mi">95</span>
<span class="n">POSTPROCESS_SUCCESS</span> <span class="o">=</span> <span class="mi">93</span>
<span class="n">POSTPROCESS_ERROR</span> <span class="o">=</span> <span class="mi">94</span>
<span class="n">POSTPROCESS_SKIP</span> <span class="o">=</span> <span class="mi">95</span>
<span class="n">directory</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s1">&#39;NZBPP_DIRECTORY&#39;</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Directory used is: &#39;</span><span class="p">,</span><span class="n">directory</span><span class="p">)</span>
<span class="n">directory</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">&quot;NZBPP_DIRECTORY&quot;</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Directory used is: &quot;</span><span class="p">,</span> <span class="n">directory</span><span class="p">)</span>
<span class="k">for</span> <span class="n">path</span><span class="p">,</span> <span class="n">currentDirectory</span><span class="p">,</span> <span class="n">files</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">walk</span><span class="p">(</span><span class="n">directory</span><span class="p">):</span>
<span class="k">for</span> <span class="n">file</span> <span class="ow">in</span> <span class="n">files</span><span class="p">:</span>
<span class="k">if</span> <span class="n">file</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">)</span> <span class="o">!=-</span><span class="mi">1</span><span class="p">:</span>
<span class="n">dst</span> <span class="o">=</span> <span class="n">file</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s1">&#39;_&#39;</span><span class="p">,</span> <span class="s1">&#39;.&#39;</span><span class="p">)</span>
<span class="n">os</span><span class="o">.</span><span class="n">rename</span> <span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">path</span><span class="p">,</span><span class="n">file</span><span class="p">),</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">path</span><span class="p">,</span><span class="n">dst</span><span class="p">)</span> <span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Result: &#39;</span><span class="p">,</span><span class="n">file</span><span class="p">,</span><span class="s2">&quot; renamed to &quot;</span><span class="p">,</span><span class="n">dst</span><span class="p">)</span>
<span class="k">if</span> <span class="n">file</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span>
<span class="n">dst</span> <span class="o">=</span> <span class="n">file</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">,</span> <span class="s2">&quot;.&quot;</span><span class="p">)</span>
<span class="n">os</span><span class="o">.</span><span class="n">rename</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">path</span><span class="p">,</span> <span class="n">file</span><span class="p">),</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">path</span><span class="p">,</span> <span class="n">dst</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Result: &quot;</span><span class="p">,</span> <span class="n">file</span><span class="p">,</span> <span class="s2">&quot; renamed to &quot;</span><span class="p">,</span> <span class="n">dst</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_SUCCESS</span><span class="p">)</span>
</code></pre></div>
@ -3639,47 +3667,56 @@ Released under GNU General Public License v2.0</p>
<span class="k">try</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">lxml</span> <span class="kn">import</span> <span class="n">etree</span>
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[ERROR] Python lxml required. Please install with &quot;sudo apt install python-lxml&quot; or &quot;pip install lxml&quot;.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s1">&#39;[ERROR] Python lxml required. Please install with &quot;sudo apt install python-lxml&quot; or &quot;pip install lxml&quot;.&#39;</span>
<span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="n">patterns</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;^(?P&lt;prefix&gt;.*\[PRiVATE\]-\[WtFnZb\]-)&#39;</span>
<span class="sa">r</span><span class="s1">&#39;\[(?P&lt;total&gt;\d+)\]-\[(?P&lt;segment&gt;\d+)\/(?P&lt;filename&gt;.{3,}?)\]&#39;</span>
<span class="sa">r</span><span class="s1">&#39;\s+-\s+&quot;&quot;\s+yEnc\s+&#39;</span><span class="p">,</span>
<span class="n">re</span><span class="o">.</span><span class="n">MULTILINE</span> <span class="o">|</span> <span class="n">re</span><span class="o">.</span><span class="n">UNICODE</span><span class="p">),</span>
<span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;^(?P&lt;prefix&gt;.*\[PRiVATE\]-\[WtFnZb\]-)&#39;</span>
<span class="sa">r</span><span class="s1">&#39;\[(?P&lt;filename&gt;.{3,}?)\]-\[(?P&lt;segment&gt;\d+)/(?P&lt;total&gt;\d+)\]&#39;</span>
<span class="sa">r</span><span class="s1">&#39;\s+-\s+&quot;&quot;\s+yEnc\s+&#39;</span><span class="p">,</span>
<span class="n">re</span><span class="o">.</span><span class="n">MULTILINE</span> <span class="o">|</span> <span class="n">re</span><span class="o">.</span><span class="n">UNICODE</span><span class="p">))</span>
<span class="n">nzb_dir</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;NZBNP_DIRECTORY&#39;</span><span class="p">)</span>
<span class="n">nzb_filename</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;NZBNP_FILENAME&#39;</span><span class="p">)</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;NZBNP_NZBNAME&#39;</span><span class="p">)</span>
<span class="n">nzb_file_naming</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;NZBOP_FILENAMING&#39;</span><span class="p">)</span>
<span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span>
<span class="sa">r</span><span class="s2">&quot;^(?P&lt;prefix&gt;.*\[PRiVATE\]-\[WtFnZb\]-)&quot;</span>
<span class="sa">r</span><span class="s2">&quot;\[(?P&lt;total&gt;\d+)\]-\[(?P&lt;segment&gt;\d+)\/(?P&lt;filename&gt;.{3,}?)\]&quot;</span>
<span class="sa">r</span><span class="s1">&#39;\s+-\s+&quot;&quot;\s+yEnc\s+&#39;</span><span class="p">,</span>
<span class="n">re</span><span class="o">.</span><span class="n">MULTILINE</span> <span class="o">|</span> <span class="n">re</span><span class="o">.</span><span class="n">UNICODE</span><span class="p">,</span>
<span class="p">),</span>
<span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span>
<span class="sa">r</span><span class="s2">&quot;^(?P&lt;prefix&gt;.*\[PRiVATE\]-\[WtFnZb\]-)&quot;</span>
<span class="sa">r</span><span class="s2">&quot;\[(?P&lt;filename&gt;.{3,}?)\]-\[(?P&lt;segment&gt;\d+)/(?P&lt;total&gt;\d+)\]&quot;</span>
<span class="sa">r</span><span class="s1">&#39;\s+-\s+&quot;&quot;\s+yEnc\s+&#39;</span><span class="p">,</span>
<span class="n">re</span><span class="o">.</span><span class="n">MULTILINE</span> <span class="o">|</span> <span class="n">re</span><span class="o">.</span><span class="n">UNICODE</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">)</span>
<span class="n">nzb_dir</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s2">&quot;NZBNP_DIRECTORY&quot;</span><span class="p">)</span>
<span class="n">nzb_filename</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s2">&quot;NZBNP_FILENAME&quot;</span><span class="p">)</span>
<span class="n">nzb_name</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s2">&quot;NZBNP_NZBNAME&quot;</span><span class="p">)</span>
<span class="n">nzb_file_naming</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s2">&quot;NZBOP_FILENAMING&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">nzb_dir</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">or</span> <span class="n">nzb_filename</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">or</span> <span class="n">nzb_name</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Please run as NZBGet plugin&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Please run as NZBGet plugin&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">if</span> <span class="n">nzb_file_naming</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="n">nzb_file_naming</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="o">!=</span> <span class="s1">&#39;nzb&#39;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[ERROR] NZBGet setting FileNaming (under Download Queue) &#39;</span>
<span class="sa">u</span><span class="s1">&#39;must be set to &quot;Nzb&quot; for this extension to work correctly, exiting.&#39;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">nzb_file_naming</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="n">nzb_file_naming</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="o">!=</span> <span class="s2">&quot;nzb&quot;</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span>
<span class="s2">&quot;[ERROR] NZBGet setting FileNaming (under Download Queue) &quot;</span>
<span class="s1">&#39;must be set to &quot;Nzb&quot; for this extension to work correctly, exiting.&#39;</span>
<span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">exists</span><span class="p">(</span><span class="n">nzb_dir</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[ERROR] NZB directory doesn</span><span class="se">\&#39;</span><span class="s1">t exist, exiting&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] NZB directory doesn&#39;t exist, exiting&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">nzb_filename</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s1">&#39;.nzb&#39;</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[ERROR] </span><span class="si">{}</span><span class="s1"> is not a .nzb file.&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb_filename</span><span class="p">))</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">nzb_filename</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s2">&quot;.nzb&quot;</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] </span><span class="si">{}</span><span class="s2"> is not a .nzb file.&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb_filename</span><span class="p">))</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="n">nzb</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">nzb_dir</span><span class="p">,</span> <span class="n">nzb_filename</span><span class="p">)</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">exists</span><span class="p">(</span><span class="n">nzb</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;[ERROR] </span><span class="si">{nzb}</span><span class="s1"> doesn</span><span class="se">\&#39;</span><span class="s1">t exist, exiting&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="o">=</span><span class="n">nzb</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] </span><span class="si">{nzb}</span><span class="s2"> doesn&#39;t exist, exiting&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="o">=</span><span class="n">nzb</span><span class="p">))</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">&#39;rb&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">infile</span><span class="p">:</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s2">&quot;rb&quot;</span><span class="p">)</span> <span class="k">as</span> <span class="n">infile</span><span class="p">:</span>
<span class="n">tree</span> <span class="o">=</span> <span class="n">etree</span><span class="o">.</span><span class="n">parse</span><span class="p">(</span><span class="n">infile</span><span class="p">)</span>
<span class="n">changed</span> <span class="o">=</span> <span class="kc">False</span>
@ -3687,75 +3724,78 @@ Released under GNU General Public License v2.0</p>
<span class="n">totals</span> <span class="o">=</span> <span class="nb">set</span><span class="p">()</span>
<span class="n">filenames</span> <span class="o">=</span> <span class="nb">set</span><span class="p">()</span>
<span class="k">for</span> <span class="n">f</span> <span class="ow">in</span> <span class="n">tree</span><span class="o">.</span><span class="n">getiterator</span><span class="p">(</span><span class="s1">&#39;{http://www.newzbin.com/DTD/2003/nzb}file&#39;</span><span class="p">):</span>
<span class="n">subject</span> <span class="o">=</span> <span class="n">f</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;subject&#39;</span><span class="p">)</span>
<span class="k">for</span> <span class="n">f</span> <span class="ow">in</span> <span class="n">tree</span><span class="o">.</span><span class="n">getiterator</span><span class="p">(</span><span class="s2">&quot;{http://www.newzbin.com/DTD/2003/nzb}file&quot;</span><span class="p">):</span>
<span class="n">subject</span> <span class="o">=</span> <span class="n">f</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;subject&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">subject</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[DETAIL] No subject in &lt;file&gt;, skipping&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[DETAIL] No subject in &lt;file&gt;, skipping&quot;</span><span class="p">)</span>
<span class="k">continue</span>
<span class="n">file_count</span> <span class="o">+=</span> <span class="mi">1</span>
<span class="n">result</span> <span class="o">=</span> <span class="p">[</span><span class="n">re</span><span class="o">.</span><span class="n">match</span><span class="p">(</span><span class="n">pattern</span><span class="p">,</span> <span class="n">subject</span><span class="p">)</span> <span class="k">for</span> <span class="n">pattern</span> <span class="ow">in</span> <span class="n">patterns</span><span class="p">]</span>
<span class="n">matched</span> <span class="o">=</span> <span class="p">[</span><span class="n">m</span> <span class="k">for</span> <span class="n">m</span> <span class="ow">in</span> <span class="n">result</span> <span class="k">if</span> <span class="n">m</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">]</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">matched</span><span class="p">)</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[INFO] No pattern matching subject, exiting.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[INFO] No pattern matching subject, exiting.&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_NONE</span><span class="p">)</span>
<span class="k">elif</span> <span class="nb">len</span><span class="p">(</span><span class="n">matched</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">1</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[ERROR] Multiple patterns matched, exiting.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[ERROR] Multiple patterns matched, exiting.&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_ERROR</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">match</span> <span class="o">=</span> <span class="n">matched</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">groupdict</span><span class="p">()</span>
<span class="k">if</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s1">&#39;.par2&#39;</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[INFO] par2 exists, exiting&#39;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s2">&quot;.par2&quot;</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[INFO] par2 exists, exiting&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_NONE</span><span class="p">)</span>
<span class="k">if</span> <span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s1">&#39;segment&#39;</span><span class="p">])</span> <span class="o">&gt;</span> <span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s1">&#39;total&#39;</span><span class="p">]):</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[DETAIL] Segment index is greater then total, skipping&#39;</span><span class="p">)</span>
<span class="k">if</span> <span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;segment&quot;</span><span class="p">])</span> <span class="o">&gt;</span> <span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;total&quot;</span><span class="p">]):</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[DETAIL] Segment index is greater then total, skipping&quot;</span><span class="p">)</span>
<span class="k">continue</span>
<span class="c1"># NZBGet subject parsing changes when duplicate filenames are present</span>
<span class="c1"># prefix duplicates to avoid that</span>
<span class="k">if</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">]</span> <span class="ow">in</span> <span class="n">filenames</span><span class="p">:</span>
<span class="k">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="sa">u</span><span class="s1">&#39;</span><span class="si">{}</span><span class="s1">.</span><span class="si">{}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">file_count</span><span class="p">,</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">])</span>
<span class="k">if</span> <span class="n">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">]</span> <span class="ow">in</span> <span class="n">filenames</span><span class="p">:</span>
<span class="k">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="si">{}</span><span class="s2">.</span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">file_count</span><span class="p">,</span> <span class="n">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">])</span>
<span class="n">filenames</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">])</span>
<span class="n">filenames</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">])</span>
<span class="n">s</span> <span class="o">=</span> <span class="sa">u</span><span class="s1">&#39;WtFnZb &quot;</span><span class="si">{filename}</span><span class="s1">&quot; yEnc (</span><span class="si">{segment}</span><span class="s1">/</span><span class="si">{total}</span><span class="s1">)&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span>
<span class="n">filename</span> <span class="o">=</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;filename&#39;</span><span class="p">],</span>
<span class="n">segment</span> <span class="o">=</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;segment&#39;</span><span class="p">],</span>
<span class="n">total</span> <span class="o">=</span> <span class="n">match</span><span class="p">[</span><span class="s1">&#39;total&#39;</span><span class="p">])</span>
<span class="n">s</span> <span class="o">=</span> <span class="s1">&#39;WtFnZb &quot;</span><span class="si">{filename}</span><span class="s1">&quot; yEnc (</span><span class="si">{segment}</span><span class="s1">/</span><span class="si">{total}</span><span class="s1">)&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span>
<span class="n">filename</span><span class="o">=</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;filename&quot;</span><span class="p">],</span> <span class="n">segment</span><span class="o">=</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;segment&quot;</span><span class="p">],</span> <span class="n">total</span><span class="o">=</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;total&quot;</span><span class="p">]</span>
<span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[INFO] New subject </span><span class="si">{subject}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">subject</span><span class="o">=</span><span class="n">s</span><span class="o">.</span><span class="n">encode</span><span class="p">(</span><span class="s1">&#39;ascii&#39;</span><span class="p">,</span> <span class="s1">&#39;ignore&#39;</span><span class="p">)))</span>
<span class="n">f</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="s1">&#39;subject&#39;</span><span class="p">,</span> <span class="n">s</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[INFO] New subject </span><span class="si">{subject}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">subject</span><span class="o">=</span><span class="n">s</span><span class="o">.</span><span class="n">encode</span><span class="p">(</span><span class="s2">&quot;ascii&quot;</span><span class="p">,</span> <span class="s2">&quot;ignore&quot;</span><span class="p">)))</span>
<span class="n">f</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="s2">&quot;subject&quot;</span><span class="p">,</span> <span class="n">s</span><span class="p">)</span>
<span class="n">changed</span> <span class="o">=</span> <span class="kc">True</span>
<span class="n">totals</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s1">&#39;total&#39;</span><span class="p">]))</span>
<span class="n">totals</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="nb">int</span><span class="p">(</span><span class="n">match</span><span class="p">[</span><span class="s2">&quot;total&quot;</span><span class="p">]))</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">changed</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[WARNING] No subject changed, exiting.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[WARNING] No subject changed, exiting.&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_NONE</span><span class="p">)</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">totals</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">1</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[WARNING] Mixed values for number of total segments, exiting.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[WARNING] Mixed values for number of total segments, exiting.&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_NONE</span><span class="p">)</span>
<span class="k">if</span> <span class="n">totals</span><span class="o">.</span><span class="n">pop</span><span class="p">()</span> <span class="o">!=</span> <span class="n">file_count</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[WARNING] Listed segment count does not match &lt;file&gt; count, exiting.&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[WARNING] Listed segment count does not match &lt;file&gt; count, exiting.&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_NONE</span><span class="p">)</span>
<span class="n">org</span> <span class="o">=</span> <span class="sa">u</span><span class="s1">&#39;</span><span class="si">{}</span><span class="s1">.wtfnzb.original.processed&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">)</span>
<span class="n">org</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="si">{}</span><span class="s2">.wtfnzb.original.processed&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">)</span>
<span class="n">exists_counter</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">while</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">exists</span><span class="p">(</span><span class="n">org</span><span class="p">):</span>
<span class="n">exists_counter</span> <span class="o">+=</span> <span class="mi">1</span>
<span class="n">org</span> <span class="o">=</span> <span class="sa">u</span><span class="s1">&#39;</span><span class="si">{}</span><span class="s1">.</span><span class="si">{}</span><span class="s1">.wtfnzb.original.processed&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">exists_counter</span><span class="p">)</span>
<span class="n">org</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="si">{}</span><span class="s2">.</span><span class="si">{}</span><span class="s2">.wtfnzb.original.processed&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">exists_counter</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[INFO] Preserving original nzb as </span><span class="si">{}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">org</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[INFO] Preserving original nzb as </span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">org</span><span class="p">))</span>
<span class="n">os</span><span class="o">.</span><span class="n">rename</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">org</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">u</span><span class="s1">&#39;[INFO] Writing </span><span class="si">{}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">))</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">&#39;wb&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">outfile</span><span class="p">:</span>
<span class="n">outfile</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">etree</span><span class="o">.</span><span class="n">tostring</span><span class="p">(</span><span class="n">tree</span><span class="p">,</span>
<span class="n">xml_declaration</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">encoding</span><span class="o">=</span><span class="n">tree</span><span class="o">.</span><span class="n">docinfo</span><span class="o">.</span><span class="n">encoding</span><span class="p">,</span>
<span class="n">doctype</span><span class="o">=</span><span class="n">tree</span><span class="o">.</span><span class="n">docinfo</span><span class="o">.</span><span class="n">doctype</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;[INFO] Writing </span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">nzb</span><span class="p">))</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">nzb</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s2">&quot;wb&quot;</span><span class="p">)</span> <span class="k">as</span> <span class="n">outfile</span><span class="p">:</span>
<span class="n">outfile</span><span class="o">.</span><span class="n">write</span><span class="p">(</span>
<span class="n">etree</span><span class="o">.</span><span class="n">tostring</span><span class="p">(</span>
<span class="n">tree</span><span class="p">,</span>
<span class="n">xml_declaration</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">encoding</span><span class="o">=</span><span class="n">tree</span><span class="o">.</span><span class="n">docinfo</span><span class="o">.</span><span class="n">encoding</span><span class="p">,</span>
<span class="n">doctype</span><span class="o">=</span><span class="n">tree</span><span class="o">.</span><span class="n">docinfo</span><span class="o">.</span><span class="n">doctype</span><span class="p">,</span>
<span class="p">)</span>
<span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">POSTPROCESS_SUCCESS</span><span class="p">)</span>
</code></pre></div>
@ -3788,7 +3828,7 @@ Released under GNU General Public License v2.0</p>
<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">November 27, 2022 16:48:53</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3813,12 +3853,18 @@ Released under GNU General Public License v2.0</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -22,19 +22,19 @@ from __future__ import print_function
import os, re, sys
# Exit codes used by NZBGet
POSTPROCESS_SUCCESS=93
POSTPROCESS_ERROR=94
POSTPROCESS_SKIP=95
POSTPROCESS_SUCCESS = 93
POSTPROCESS_ERROR = 94
POSTPROCESS_SKIP = 95
directory = os.environ['NZBPP_DIRECTORY']
print('Directory used is: ',directory)
directory = os.environ["NZBPP_DIRECTORY"]
print("Directory used is: ", directory)
for path, currentDirectory, files in os.walk(directory):
for file in files:
if file.find("_") !=-1:
dst = file.replace('_', '.')
os.rename (os.path.join(path,file),os.path.join(path,dst) )
print('Result: ',file," renamed to ",dst)
if file.find("_") != -1:
dst = file.replace("_", ".")
os.rename(os.path.join(path, file), os.path.join(path, dst))
print("Result: ", file, " renamed to ", dst)
sys.exit(POSTPROCESS_SUCCESS)
sys.exit(POSTPROCESS_SUCCESS)

@ -3602,7 +3602,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3632,10 +3632,10 @@
<!-- BEGIN INCLUDE ../hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<div class="admonition warning">
<p>But you're able to change this, by not using the pre-defined/recommended paths like:</p>
<ul>
@ -3645,7 +3645,6 @@
</ul>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/basic-setup.md" -->
<hr />
<div class="admonition note">
@ -3679,7 +3678,6 @@
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> <strong><strong>Your Download and Media Library should be **NEVER</strong> the same locations**</strong> <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/warning-path-location.md" -->
<h3 id="system-folders">System Folders<a class="headerlink" href="#system-folders" title="Permanent link"></a></h3>
<p><code>Settings</code> =&gt; <code>Folders</code> =&gt; <code>System Folders</code>
@ -3778,7 +3776,6 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<hr />
<p><sub>Thanks to <a href="https://github.com/fryfrog" rel="noopener noreferrer" target="_blank">fryfrog</a> for helping me with the settings and providing the info needed to create this Guide.</sub></p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3786,7 +3783,6 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3809,7 +3805,7 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<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">August 20, 2023 23:12:41</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3834,12 +3830,18 @@ Being that Sonarr/Radarr only looks at the last xx amount in the queue/history.<
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3254,7 +3254,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3288,7 +3288,6 @@
<p>The screenshots in the examples are using the following root path <code>/data</code></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/path.md" -->
<hr />
<p><code>SABnzbd config</code> =&gt; <code>Folders</code></p>
@ -3309,7 +3308,6 @@
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> <strong><strong>Your Download and Media Library should be **NEVER</strong> the same locations**</strong> <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/warning-path-location.md" -->
<hr />
<h2 id="paths-and-categories-breakdown">Paths and Categories Breakdown<a class="headerlink" href="#paths-and-categories-breakdown" title="Permanent link"></a></h2>
@ -3318,7 +3316,6 @@
</div>
<p><a class="glightbox" href="../images/sabnzbd-category-breakdown.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!SABnzbd - Paths and Categories Breakdown" src="../images/sabnzbd-category-breakdown.png" /></a></p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3326,7 +3323,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3349,7 +3345,7 @@
<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">January 19, 2023 22:04:41</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3374,12 +3370,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3188,7 +3188,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3257,12 +3257,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -24,46 +24,55 @@ import re
sys.argv = sys.argv[:9]
try:
# Parse the input variables for SABnzbd version >= 4.2.0
(scriptname, nzbname, postprocflags, category, script, prio, downloadsize, grouplist) = sys.argv
(
scriptname,
nzbname,
postprocflags,
category,
script,
prio,
downloadsize,
grouplist,
) = sys.argv
except:
sys.exit(1) # exit with 1 causes SABnzbd to ignore the output of this script
sys.exit(1) # exit with 1 causes SABnzbd to ignore the output of this script
fwp = nzbname
fwp = re.sub('(?i)-4P$', '', fwp)
fwp = re.sub('(?i)-4Planet$', '', fwp)
fwp = re.sub('(?i)-AlternativeToRequested$', '', fwp)
fwp = re.sub('(?i)-AlteZachen$', '', fwp)
fwp = re.sub('(?i)-AsRequested$', '', fwp)
fwp = re.sub('(?i)-AsRequested-xpost$', '', fwp)
fwp = re.sub('(?i)-BUYMORE$', '', fwp)
fwp = re.sub('(?i)-Chamele0n$', '', fwp)
fwp = re.sub('(?i)-GEROV$', '', fwp)
fwp = re.sub('(?i)-iNC0GNiTO$', '', fwp)
fwp = re.sub('(?i)-NZBGeek$', '', fwp)
fwp = re.sub('(?i)-Obfuscated$', '', fwp)
fwp = re.sub('(?i)-Obfuscation$', '', fwp)
fwp = re.sub('(?i)-postbot$', '', fwp)
fwp = re.sub('(?i)-Rakuv[a-z0-9]*$', '', fwp)
fwp = re.sub('(?i)-RePACKPOST$', '', fwp)
fwp = re.sub('(?i)-Scrambled$', '', fwp)
fwp = re.sub('(?i)-WhiteRev$', '', fwp)
fwp = re.sub('(?i)-WRTEAM$', '', fwp)
fwp = re.sub('(?i)-CAPTCHA$', '', fwp)
fwp = re.sub('(?i)-Z0iDS3N$', '', fwp)
fwp = re.sub('(?i)\[eztv([ ._-]re)?\]$', '', fwp)
fwp = re.sub('(?i)\[TGx\]$', '', fwp)
fwp = re.sub('(?i)\[ettv\]$', '', fwp)
fwp = re.sub('(?i)\[TGx\]-xpost$', '', fwp)
fwp = re.sub('(?i).mkv-xpost$', '', fwp)
fwp = re.sub('(?i)-xpost$', '', fwp)
fwp = re.sub(r'(?i)(-D-Z0N3|\-[^-.\n]*)(\-.{4})?$', r'\1', fwp)
fwp = re.sub("(?i)-4P$", "", fwp)
fwp = re.sub("(?i)-4Planet$", "", fwp)
fwp = re.sub("(?i)-AlternativeToRequested$", "", fwp)
fwp = re.sub("(?i)-AlteZachen$", "", fwp)
fwp = re.sub("(?i)-AsRequested$", "", fwp)
fwp = re.sub("(?i)-AsRequested-xpost$", "", fwp)
fwp = re.sub("(?i)-BUYMORE$", "", fwp)
fwp = re.sub("(?i)-Chamele0n$", "", fwp)
fwp = re.sub("(?i)-GEROV$", "", fwp)
fwp = re.sub("(?i)-iNC0GNiTO$", "", fwp)
fwp = re.sub("(?i)-NZBGeek$", "", fwp)
fwp = re.sub("(?i)-Obfuscated$", "", fwp)
fwp = re.sub("(?i)-Obfuscation$", "", fwp)
fwp = re.sub("(?i)-postbot$", "", fwp)
fwp = re.sub("(?i)-Rakuv[a-z0-9]*$", "", fwp)
fwp = re.sub("(?i)-RePACKPOST$", "", fwp)
fwp = re.sub("(?i)-Scrambled$", "", fwp)
fwp = re.sub("(?i)-WhiteRev$", "", fwp)
fwp = re.sub("(?i)-WRTEAM$", "", fwp)
fwp = re.sub("(?i)-CAPTCHA$", "", fwp)
fwp = re.sub("(?i)-Z0iDS3N$", "", fwp)
fwp = re.sub("(?i)\[eztv([ ._-]re)?\]$", "", fwp)
fwp = re.sub("(?i)\[TGx\]$", "", fwp)
fwp = re.sub("(?i)\[ettv\]$", "", fwp)
fwp = re.sub("(?i)\[TGx\]-xpost$", "", fwp)
fwp = re.sub("(?i).mkv-xpost$", "", fwp)
fwp = re.sub("(?i)-xpost$", "", fwp)
fwp = re.sub(r"(?i)(-D-Z0N3|\-[^-.\n]*)(\-.{4})?$", r"\1", fwp)
print("1") # Accept
print("1") # Accept
print(fwp)
print()
print()
print()
print()
print()
print()
# 0 means OK
sys.exit(0)

@ -3214,7 +3214,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3247,12 +3247,11 @@
NZBgeek / Obfuscated / BUYMORE / Scrambled /etc...
Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).</p>
<p>Install Instructions:</p>
<ol>
<li>Copy script to sabnzbd's script folder</li>
<li>run: <code>sudo chmod +x Clean.py</code></li>
<li>in SABnzbd go to <code>Settings</code> =&gt; <code>Switches</code></li>
<li>Change Pre-queue user script and select: <code>Clean.py</code></li>
</ol>
<div class="highlight"><pre><span></span><code><span class="mf">1.</span><span class="w"> </span><span class="n">Copy</span><span class="w"> </span><span class="n">script</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">sabnzbd</span><span class="s1">&#39;s script folder</span>
<span class="s1">1. run: `sudo chmod +x Clean.py`</span>
<span class="s1">1. in SABnzbd go to `Settings` =&gt; `Switches`</span>
<span class="s1">1. Change Pre-queue user script and select: `Clean.py`</span>
</code></pre></div>
<p><a class="glightbox" href="/Downloaders/SABnzbd/images/sabnzbd-switches-queue-clean.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Enable Clean.py" src="/Downloaders/SABnzbd/images/sabnzbd-switches-queue-clean.png" /></a></p>
</details>
<details class="example">
@ -3283,46 +3282,55 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
<span class="n">sys</span><span class="o">.</span><span class="n">argv</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[:</span><span class="mi">9</span><span class="p">]</span>
<span class="k">try</span><span class="p">:</span>
<span class="c1"># Parse the input variables for SABnzbd version &gt;= 4.2.0</span>
<span class="p">(</span><span class="n">scriptname</span><span class="p">,</span> <span class="n">nzbname</span><span class="p">,</span> <span class="n">postprocflags</span><span class="p">,</span> <span class="n">category</span><span class="p">,</span> <span class="n">script</span><span class="p">,</span> <span class="n">prio</span><span class="p">,</span> <span class="n">downloadsize</span><span class="p">,</span> <span class="n">grouplist</span><span class="p">)</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span>
<span class="p">(</span>
<span class="n">scriptname</span><span class="p">,</span>
<span class="n">nzbname</span><span class="p">,</span>
<span class="n">postprocflags</span><span class="p">,</span>
<span class="n">category</span><span class="p">,</span>
<span class="n">script</span><span class="p">,</span>
<span class="n">prio</span><span class="p">,</span>
<span class="n">downloadsize</span><span class="p">,</span>
<span class="n">grouplist</span><span class="p">,</span>
<span class="p">)</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span>
<span class="k">except</span><span class="p">:</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="c1"># exit with 1 causes SABnzbd to ignore the output of this script</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="c1"># exit with 1 causes SABnzbd to ignore the output of this script</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">nzbname</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-4P$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-4Planet$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AlternativeToRequested$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AlteZachen$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AsRequested$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-AsRequested-xpost$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-BUYMORE$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Chamele0n$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-GEROV$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-iNC0GNiTO$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-NZBGeek$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Obfuscated$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Obfuscation$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-postbot$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Rakuv[a-z0-9]*$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-RePACKPOST$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Scrambled$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-WhiteRev$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-WRTEAM$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-CAPTCHA$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-Z0iDS3N$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[eztv([ ._-]re)?\]$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[TGx\]$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[ettv\]$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)\[TGx\]-xpost$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i).mkv-xpost$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s1">&#39;(?i)-xpost$&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="sa">r</span><span class="s1">&#39;(?i)(-D-Z0N3|\-[^-.\n]*)(\-.</span><span class="si">{4}</span><span class="s1">)?$&#39;</span><span class="p">,</span> <span class="sa">r</span><span class="s1">&#39;\1&#39;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;1&quot;</span><span class="p">)</span> <span class="c1"># Accept</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-4P$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-4Planet$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AlternativeToRequested$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AlteZachen$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AsRequested$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-AsRequested-xpost$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-BUYMORE$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Chamele0n$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-GEROV$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-iNC0GNiTO$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-NZBGeek$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Obfuscated$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Obfuscation$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-postbot$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Rakuv[a-z0-9]*$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-RePACKPOST$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Scrambled$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-WhiteRev$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-WRTEAM$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-CAPTCHA$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-Z0iDS3N$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[eztv([ ._-]re)?\]$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[TGx\]$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[ettv\]$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)\[TGx\]-xpost$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i).mkv-xpost$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s2">&quot;(?i)-xpost$&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="n">fwp</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="sa">r</span><span class="s2">&quot;(?i)(-D-Z0N3|\-[^-.\n]*)(\-.</span><span class="si">{4}</span><span class="s2">)?$&quot;</span><span class="p">,</span> <span class="sa">r</span><span class="s2">&quot;\1&quot;</span><span class="p">,</span> <span class="n">fwp</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;1&quot;</span><span class="p">)</span> <span class="c1"># Accept</span>
<span class="nb">print</span><span class="p">(</span><span class="n">fwp</span><span class="p">)</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="c1"># 0 means OK</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
@ -3337,12 +3345,11 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
</ul>
<p>Replaces underscores with dots in downloaded filename to prevent download loops with poorly named releases on some indexers (often HONE releases).</p>
<p>Install Instructions:</p>
<ol>
<li>Copy script to sabnzbd's script folder</li>
<li>run: <code>sudo chmod +x replace_for.py</code></li>
<li>in SABnzbd go to <code>Settings</code> =&gt; <code>Categories</code></li>
<li>Change script for required categories and select: <code>replace_for.py</code></li>
</ol>
<div class="highlight"><pre><span></span><code><span class="mf">1.</span><span class="w"> </span><span class="n">Copy</span><span class="w"> </span><span class="n">script</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">sabnzbd</span><span class="s1">&#39;s script folder</span>
<span class="s1">1. run: `sudo chmod +x replace_for.py`</span>
<span class="s1">1. in SABnzbd go to `Settings` =&gt; `Categories`</span>
<span class="s1">1. Change script for required categories and select: `replace_for.py`</span>
</code></pre></div>
<p><a class="glightbox" href="/Downloaders/SABnzbd/images/sabnzbd-categories-replace_for.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Enable replace_for.py" src="/Downloaders/SABnzbd/images/sabnzbd-categories-replace_for.png" /></a></p>
</details>
<details class="example">
@ -3369,22 +3376,32 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
<span class="kn">import</span> <span class="nn">os.path</span>
<span class="k">try</span><span class="p">:</span>
<span class="p">(</span><span class="n">scriptname</span><span class="p">,</span> <span class="n">directory</span><span class="p">,</span> <span class="n">orgnzbname</span><span class="p">,</span> <span class="n">jobname</span><span class="p">,</span> <span class="n">reportnumber</span><span class="p">,</span> <span class="n">category</span><span class="p">,</span> <span class="n">group</span><span class="p">,</span> <span class="n">postprocstatus</span><span class="p">,</span> <span class="n">url</span><span class="p">)</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span>
<span class="p">(</span>
<span class="n">scriptname</span><span class="p">,</span>
<span class="n">directory</span><span class="p">,</span>
<span class="n">orgnzbname</span><span class="p">,</span>
<span class="n">jobname</span><span class="p">,</span>
<span class="n">reportnumber</span><span class="p">,</span>
<span class="n">category</span><span class="p">,</span>
<span class="n">group</span><span class="p">,</span>
<span class="n">postprocstatus</span><span class="p">,</span>
<span class="n">url</span><span class="p">,</span>
<span class="p">)</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span>
<span class="k">except</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;No commandline parameters found&quot;</span><span class="p">)</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="c1"># exit with 1 causes SABnzbd to ignore the output of this script</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="c1"># exit with 1 causes SABnzbd to ignore the output of this script</span>
<span class="n">files</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">listdir</span><span class="p">(</span><span class="n">directory</span><span class="p">)</span>
<span class="k">for</span> <span class="n">src</span> <span class="ow">in</span> <span class="n">files</span><span class="p">:</span>
<span class="k">if</span> <span class="n">src</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">)</span> <span class="o">!=-</span><span class="mi">1</span><span class="p">:</span>
<span class="n">dst</span> <span class="o">=</span> <span class="n">src</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s1">&#39;_&#39;</span><span class="p">,</span> <span class="s1">&#39;.&#39;</span><span class="p">)</span>
<span class="n">os</span><span class="o">.</span><span class="n">rename</span> <span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">directory</span><span class="p">,</span><span class="n">src</span><span class="p">),</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">directory</span><span class="p">,</span><span class="n">dst</span><span class="p">)</span> <span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="n">src</span><span class="p">,</span> <span class="s2">&quot;renamed to &quot;</span><span class="p">,</span><span class="n">dst</span><span class="p">)</span>
<span class="k">if</span> <span class="n">src</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span>
<span class="n">dst</span> <span class="o">=</span> <span class="n">src</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;_&quot;</span><span class="p">,</span> <span class="s2">&quot;.&quot;</span><span class="p">)</span>
<span class="n">os</span><span class="o">.</span><span class="n">rename</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">directory</span><span class="p">,</span> <span class="n">src</span><span class="p">),</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">directory</span><span class="p">,</span> <span class="n">dst</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="n">src</span><span class="p">,</span> <span class="s2">&quot;renamed to &quot;</span><span class="p">,</span> <span class="n">dst</span><span class="p">)</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="nb">print</span><span class="p">()</span>
<span class="c1"># 0 means OK</span>
<span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
@ -3412,7 +3429,7 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
<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">September 28, 2022 14:02:19</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3437,12 +3454,18 @@ Cleans the NZB name by removing the retagged stuff (-Obfuscated, -postbox, etc).
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -20,23 +20,32 @@ import os
import os.path
try:
(scriptname, directory, orgnzbname, jobname, reportnumber, category, group, postprocstatus, url) = sys.argv
(
scriptname,
directory,
orgnzbname,
jobname,
reportnumber,
category,
group,
postprocstatus,
url,
) = sys.argv
except:
print("No commandline parameters found")
sys.exit(1) # exit with 1 causes SABnzbd to ignore the output of this script
sys.exit(1) # exit with 1 causes SABnzbd to ignore the output of this script
files = os.listdir(directory)
for src in files:
if src.find("_") !=-1:
dst = src.replace('_', '.')
os.rename (os.path.join(directory,src),os.path.join(directory,dst) )
print(src, "renamed to ",dst)
if src.find("_") != -1:
dst = src.replace("_", ".")
os.rename(os.path.join(directory, src), os.path.join(directory, dst))
print(src, "renamed to ", dst)
print()
print()
print()
print()
print()
# 0 means OK
sys.exit(0)

@ -3270,7 +3270,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3354,12 +3354,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3344,7 +3344,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3387,9 +3387,11 @@
<p>Features</p>
<ul>
<li>Monitor qBit for Stalled/bad entries and delete them then blacklist them on Arrs (Option to also trigger a re-search action).</li>
<li>Monitor qBit for completed entries and tell the appropriate Arr instance to import it:</li>
<li>Monitor qBit for completed entries and tell the appropriate Arr instance to import it:<ul>
<li><code>qbitrr DownloadedMoviesScan</code> for Radarr</li>
<li><code>qbitrr DownloadedEpisodesScan</code> for Sonarr</li>
</ul>
</li>
<li>Skip files in qBit entries by extension, folder or regex.</li>
<li>Monitor completed folder and clean it up.</li>
<li>Usage of <a href="https://github.com/FFmpeg/FFmpeg" rel="noopener noreferrer" target="_blank">ffprobe</a> to ensure downloaded entries are valid media.</li>
@ -3444,7 +3446,6 @@
<a href="https://www.cross-seed.org/" rel="noopener noreferrer" target="_blank"><img alt="Website" src="https://img.shields.io/website?label=Website&amp;url=https%3A%2F%2Fwww.cross-seed.org%2F" /></a></p>
<hr />
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3452,7 +3453,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3475,7 +3475,7 @@
<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">January 15, 2024 18:57:36</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3500,12 +3500,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3686,7 +3686,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3716,10 +3716,10 @@
<!-- BEGIN INCLUDE ../hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<div class="admonition warning">
<p>But you're able to change this, by not using the pre-defined/recommended paths like:</p>
<ul>
@ -3729,7 +3729,6 @@
</ul>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/basic-setup.md" -->
<hr />
<div class="admonition note">
@ -3813,7 +3812,6 @@
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> <strong><strong>Your Download and Media Library should be **NEVER</strong> the same locations**</strong> <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/warning-path-location.md" -->
<hr />
<h2 id="connection">Connection<a class="headerlink" href="#connection" title="Permanent link"></a></h2>
@ -3994,7 +3992,6 @@
</li>
</ol>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -4002,7 +3999,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
<div class="footnote">
<hr />
@ -4034,7 +4030,7 @@
<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">January 12, 2023 21:51:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4059,12 +4055,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3272,7 +3272,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3326,7 +3326,6 @@
<p><a class="glightbox" href="../images/qb-saving-management.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!qBittorrent - Default Torrent Management Mode" src="../images/qb-saving-management.png" /></a></p>
</div>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3334,7 +3333,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3357,7 +3355,7 @@
<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">January 12, 2023 21:51:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3382,12 +3380,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3232,7 +3232,6 @@
<p>The screenshots in the examples are using the following root path <code>/data</code></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/path.md" -->
<hr />
<p><code>Options</code> =&gt; <code>Downloads</code></p>
@ -3259,7 +3258,7 @@
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3284,12 +3283,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3253,7 +3253,7 @@
<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">May 24, 2023 18:35:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3278,12 +3278,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3418,7 +3418,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3468,12 +3468,7 @@
<p>Install the following Plugins.</p>
<ul>
<li>User Scripts</li>
<li>NerdTools<ul>
<li>python3 <sup>(<em>1</em>)</sup></li>
<li>python-setuptools <sup>(<em>1</em>)</sup></li>
<li>python-pip <sup>(<em>1</em>)</sup></li>
</ul>
</li>
<li>NerdTools - python3 <sup>(<em>1</em>)</sup> - python-setuptools <sup>(<em>1</em>)</sup> - python-pip <sup>(<em>1</em>)</sup></li>
</ul>
<div class="admonition info">
<p class="admonition-title"><sup>(<em>1</em>)</sup> These need to be installed from NerdTools.</p>
@ -3610,7 +3605,6 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<p>You can generate your scheduling <a href="https://crontab.guru/">HERE</a></p>
<p><a class="glightbox" href="../images/Unraid-settings-user-scripts-qbit-mover-cron.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-cron.png" /></a></p>
<!-- BEGIN INCLUDE ../../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3640,7 +3634,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">May 4, 2024 14:18:43</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3665,12 +3659,18 @@ deactivate<span class="w"> </span><span class="c1"># to leave the environment</s
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3200,7 +3200,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3276,7 +3276,7 @@
<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">November 13, 2023 09:52:06</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3301,12 +3301,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3188,7 +3188,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3257,12 +3257,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3267,12 +3267,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3272,7 +3272,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3302,10 +3302,10 @@
<!-- BEGIN INCLUDE ../hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<div class="admonition warning">
<p>But you're able to change this, by not using the pre-defined/recommended paths like:</p>
<ul>
@ -3315,13 +3315,11 @@
</ul>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/downloaders/basic-setup.md" -->
<hr />
<h2 id="soon">Soon<a class="headerlink" href="#soon" title="Permanent link"></a></h2>
<p>I've asked several people that used this download client for some help/feedback, but most of them just switched to qBittorrent.</p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3329,7 +3327,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3352,7 +3349,7 @@
<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 12, 2023 14:44:00</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3377,12 +3374,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3300,7 +3300,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3482,7 +3482,7 @@ Sonarr.</p>
<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">September 29, 2023 19:46:33</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3507,12 +3507,18 @@ Sonarr.</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3306,7 +3306,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3356,12 +3356,8 @@
<h2 id="method-2-using-stat">Method 2: Using stat<a class="headerlink" href="#method-2-using-stat" title="Permanent link"></a></h2>
<p>This way requires a bit more work.</p>
<ul>
<li>
<p>In the terminal type: <code>stat /path/to/your/download/location/file.mkv</code></p>
</li>
<li>
<p>In the terminal type: <code>stat /path/to/your/media/location/file.mkv</code></p>
</li>
<li>In the terminal type: <code>stat /path/to/your/download/location/file.mkv</code></li>
<li>In the terminal type: <code>stat /path/to/your/media/location/file.mkv</code></li>
</ul>
<p>You will get 2 results you can use to compare several things.</p>
<p><a class="glightbox" href="../images/hardlinks-stat.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Hardlinks check stat" src="../images/hardlinks-stat.png" /></a></p>
@ -3405,7 +3401,7 @@
<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">January 12, 2023 21:51:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3430,12 +3426,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3360,7 +3360,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3495,7 +3495,7 @@
<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">February 17, 2024 23:14:03</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3520,12 +3520,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3336,7 +3336,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3387,19 +3387,16 @@
<p>[<strong>Long answer</strong>] Hard links are a way for a copy operation to be instant and not consume space for those additional copies.</p>
<p>Every file is a hard link: some metadata that points at blocks on the file system, <strong>which is why they're restricted to the same file system</strong>. There can be as many metadata files pointing at those blocks as needed and the blocks know how many links point to them. Once the blocks have 0 links, they're considered deleted.</p>
<p>This means:</p>
<ul>
<li>
<p>You can delete any "copy" w/o impacting the others.</p>
<p>Your download client can remove it's "copy" w/o impacting the library "copy". The library "copy" can be removed by Plex or Sonarr/Radarr or yourself w/o impacting the download client "copy".</p>
</li>
<li>
<p>Space is only regained when all "copies" are deleted.</p>
</li>
<li>
<p>Modifying the file will impact all "copies".</p>
<p>For example, modifying the id3 tags of a .mp3 download after import would modify the download client "copy", resulting in breaking the torrent.</p>
</li>
</ul>
<div class="highlight"><pre><span></span><code><span class="o">-</span><span class="w"> </span><span class="n">You</span><span class="w"> </span><span class="n">can</span><span class="w"> </span><span class="n">delete</span><span class="w"> </span><span class="nb">any</span><span class="w"> </span><span class="s2">&quot;copy&quot;</span><span class="w"> </span><span class="n">w</span><span class="o">/</span><span class="n">o</span><span class="w"> </span><span class="n">impacting</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">others</span><span class="o">.</span>
<span class="w"> </span><span class="n">Your</span><span class="w"> </span><span class="n">download</span><span class="w"> </span><span class="n">client</span><span class="w"> </span><span class="n">can</span><span class="w"> </span><span class="n">remove</span><span class="w"> </span><span class="n">it</span><span class="s1">&#39;s &quot;copy&quot; w/o impacting the library &quot;copy&quot;. The library &quot;copy&quot; can be removed by Plex or Sonarr/Radarr or yourself w/o impacting the download client &quot;copy&quot;.</span>
<span class="o">-</span><span class="w"> </span><span class="n">Space</span><span class="w"> </span><span class="ow">is</span><span class="w"> </span><span class="n">only</span><span class="w"> </span><span class="n">regained</span><span class="w"> </span><span class="n">when</span><span class="w"> </span><span class="nb">all</span><span class="w"> </span><span class="s2">&quot;copies&quot;</span><span class="w"> </span><span class="n">are</span><span class="w"> </span><span class="n">deleted</span><span class="o">.</span>
<span class="o">-</span><span class="w"> </span><span class="n">Modifying</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">file</span><span class="w"> </span><span class="n">will</span><span class="w"> </span><span class="n">impact</span><span class="w"> </span><span class="nb">all</span><span class="w"> </span><span class="s2">&quot;copies&quot;</span><span class="o">.</span>
<span class="w"> </span><span class="n">For</span><span class="w"> </span><span class="n">example</span><span class="p">,</span><span class="w"> </span><span class="n">modifying</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">id3</span><span class="w"> </span><span class="n">tags</span><span class="w"> </span><span class="n">of</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="o">.</span><span class="n">mp3</span><span class="w"> </span><span class="n">download</span><span class="w"> </span><span class="n">after</span><span class="w"> </span><span class="kn">import</span><span class="w"> </span><span class="nn">would</span><span class="w"> </span><span class="n">modify</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">download</span><span class="w"> </span><span class="n">client</span><span class="w"> </span><span class="s2">&quot;copy&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">resulting</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="n">breaking</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">torrent</span><span class="o">.</span>
</code></pre></div>
<p><a href="https://en.wikipedia.org/wiki/Hard_link" rel="noopener noreferrer" target="_blank">More info from Wikipedia, the free encyclopedia</a></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
@ -3441,7 +3438,7 @@
<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">July 26, 2023 16:06:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3466,12 +3463,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3452,7 +3452,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3510,28 +3510,26 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/folder-structure.md" -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/breakdown-folder-structure-docker.md -->
<h3 id="breakdown-of-the-folder-structure">Breakdown of the Folder Structure<a class="headerlink" href="#breakdown-of-the-folder-structure" title="Permanent link"></a></h3>
@ -3541,10 +3539,10 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
<!-- BEGIN INCLUDE ./docker-tree-torrents.md -->
<div class="highlight"><pre><span></span><code>data
└── torrents
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3558,10 +3556,10 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
└── usenet
├── incomplete
└── complete
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3580,15 +3578,15 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3600,10 +3598,10 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
<!-- BEGIN INCLUDE ./docker-tree-media.md -->
<div class="highlight"><pre><span></span><code>data
└── media
├── movies
├── music
├── books
└── tv
├── movies
├── music
├── books
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3612,7 +3610,6 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
<hr />
<p><strong>Don't forget to look at the <a href="/Hardlinks/Examples/">Examples</a> how to setup the paths inside the applications.</strong></p>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/breakdown-folder-structure.md" -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/permissions.md -->
<h3 id="permissions">Permissions<a class="headerlink" href="#permissions" title="Permanent link"></a></h3>
@ -3621,7 +3618,6 @@ You may choose to rely on DockSTARTer for various changes to your Docker system
sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </span><span class="nv">a</span><span class="o">=</span>,a+rX,u+w,g+w<span class="w"> </span>/data
</code></pre></div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/permissions.md" -->
<h2 id="docker-compose-example">Docker-compose Example<a class="headerlink" href="#docker-compose-example" title="Permanent link"></a></h2>
<div class="admonition example">
@ -3712,10 +3708,8 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
</ul>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/docker-compose-commands.md" -->
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3723,7 +3717,6 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3746,7 +3739,7 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<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">July 26, 2023 16:06:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3771,12 +3764,18 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3458,7 +3458,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3494,15 +3494,15 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<span class="err"></span><span class="w"> </span><span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">books</span>
<span class="err"></span><span class="w"> </span><span class="err"></span><span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">tv</span>
<span class="err"></span><span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">usenet</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">movies</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">music</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">books</span>
<span class="err"></span><span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">tv</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">movies</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">music</span>
<span class="err"></span><span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">books</span>
<span class="err"></span><span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">tv</span>
<span class="err">└──</span><span class="w"> </span><span class="n">medialibrary</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">movies</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">music</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">books</span>
<span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">tv</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">movies</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">music</span>
<span class="w"> </span><span class="err">├──</span><span class="w"> </span><span class="n">books</span>
<span class="w"> </span><span class="err">└──</span><span class="w"> </span><span class="n">tv</span>
</code></pre></div>
<h2 id="changes-to-the-env">Changes to the .env<a class="headerlink" href="#changes-to-the-env" title="Permanent link"></a></h2>
<p>To accomplish this we need to change first a few paths in your <code>.env</code> (Usually <code>~/.docker/compose/.env</code>)</p>
@ -3523,7 +3523,7 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<p><code>/downloads</code> =&gt; <code>/storage/downloads</code></p>
<p><code>/audiobooks</code> =&gt; <code>/storage/medialibrary/audiobooks</code></p>
<p><code>/books</code> =&gt; <code>/storage/medialibrary/books</code></p>
<p><code>/comics</code> =&gt; <code>/storage/medialibrary/comics</code></p>
<p><code>/comics</code> =&gt; <code>/storage/medialibrary/comics</code></p>
<p><code>/movies</code> =&gt; <code>/storage/medialibrary/movies</code></p>
<p><code>/music</code> =&gt; <code>/storage/medialibrary/music</code></p>
<p><code>/tv</code> =&gt; <code>/storage/medialibrary/tv</code></p>
@ -3602,7 +3602,6 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<p><a class="glightbox" href="../images/ds-rtorrent-settings-autotools.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="ds-rtorrent-settings-autotools" src="../images/ds-rtorrent-settings-autotools.png" /></a></p>
</details>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3610,7 +3609,6 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3633,7 +3631,7 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<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">May 4, 2024 14:18:43</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3658,12 +3656,18 @@ In this example the mounted drive will be mounted to <code>/mnt/</code> with the
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3386,7 +3386,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3434,20 +3434,19 @@
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/folder-structure.md" -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/breakdown-folder-structure.md -->
<h3 id="breakdown-of-the-folder-structure">Breakdown of the Folder Structure<a class="headerlink" href="#breakdown-of-the-folder-structure" title="Permanent link"></a></h3>
@ -3457,10 +3456,10 @@
<!-- BEGIN INCLUDE ./docker-tree-torrents.md -->
<div class="highlight"><pre><span></span><code>data
└── torrents
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3472,10 +3471,10 @@
└── usenet
├── incomplete
└── complete
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3492,15 +3491,15 @@
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3510,17 +3509,16 @@
<!-- BEGIN INCLUDE ./docker-tree-media.md -->
<div class="highlight"><pre><span></span><code>data
└── media
├── movies
├── music
├── books
└── tv
├── movies
├── music
├── books
└── tv
</code></pre></div>
<!-- END INCLUDE -->
<hr />
<p><strong>Don't forget to look at the <a href="/Hardlinks/Examples/">Examples</a> how to setup the paths inside the applications.</strong></p>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/breakdown-folder-structure.md" -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/permissions.md -->
<h3 id="permissions">Permissions<a class="headerlink" href="#permissions" title="Permanent link"></a></h3>
@ -3529,10 +3527,8 @@
sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </span><span class="nv">a</span><span class="o">=</span>,a+rX,u+w,g+w<span class="w"> </span>/data
</code></pre></div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/permissions.md" -->
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3540,7 +3536,6 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3563,7 +3558,7 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3588,12 +3583,18 @@ sudo<span class="w"> </span>chmod<span class="w"> </span>-R<span class="w"> </sp
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3764,7 +3764,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3876,25 +3876,24 @@ Save these values for later use.</p>
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
<!-- BEGIN INCLUDE ../../../includes/hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<p>To create the folder structure for your media library and also for your preferred download client, run one or both of the following commands:</p>
<h3 id="if-you-use-usenet">If you use usenet<a class="headerlink" href="#if-you-use-usenet" title="Permanent link"></a></h3>
@ -3951,7 +3950,7 @@ Create these folders with command below, or create them in File Station manually
</code></pre></div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> MAKE SURE THE FILE KEEPS THE ORIGINAL NAME <code>.env</code> WITH THE DOT BEFORE IT <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
<p><img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /> MAKE SURE THE FILE KEEPS THE ORIGINAL NAME <code>.env</code> WITH THE DOT BEFORE IT <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></p>
</div>
<hr />
<h3 id="changes-and-preparations">Changes and preparations<a class="headerlink" href="#changes-and-preparations" title="Permanent link"></a></h3>
@ -3974,9 +3973,9 @@ Create these folders with command below, or create them in File Station manually
<h4 id="pullio-auto-update-docker-compose-the-correct-way">Pullio - Auto update docker-compose the correct way<a class="headerlink" href="#pullio-auto-update-docker-compose-the-correct-way" title="Permanent link"></a></h4>
<p>Pullio allows you to automatically update your containers. And send you a notification through various means. We use a Discord Webhook.</p>
<p>First you need to download Pullio</p>
<div class="highlight"><pre><span></span><code><span class="w"> </span>sudo<span class="w"> </span>curl<span class="w"> </span>-fsSL<span class="w"> </span><span class="s2">&quot;https://raw.githubusercontent.com/hotio/pullio/master/pullio.sh&quot;</span><span class="w"> </span>-o<span class="w"> </span>/usr/local/bin/pullio
<div class="highlight"><pre><span></span><code><span class="w"> </span>sudo<span class="w"> </span>curl<span class="w"> </span>-fsSL<span class="w"> </span><span class="s2">&quot;https://raw.githubusercontent.com/hotio/pullio/master/pullio.sh&quot;</span><span class="w"> </span>-o<span class="w"> </span>/usr/local/bin/pullio
</code></pre></div>
<div class="highlight"><pre><span></span><code><span class="w"> </span>sudo<span class="w"> </span>chmod<span class="w"> </span>+x<span class="w"> </span>/usr/local/bin/pullio
<div class="highlight"><pre><span></span><code><span class="w"> </span>sudo<span class="w"> </span>chmod<span class="w"> </span>+x<span class="w"> </span>/usr/local/bin/pullio
</code></pre></div>
<p>For Pullio to do it's job, you will need to create a Scheduled Task in your Task Scheduler that runs for example at 4am at night with <strong>root</strong> privileges.</p>
<p><code>Control Panel</code> &gt; <code>Task Scheduler</code> &gt; click <code>Create</code> &gt; choose <code>Scheduled task - user defined script</code></p>
@ -4020,7 +4019,7 @@ If you had previous installed apps, make a backup of their config folders or bac
<p><strong>If you need help setting up the applications, look at the <a href="/Hardlinks/Examples/">Examples</a> how to setup the paths inside your applications.</strong></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>If you need to do any changes, only edit the <code>docker-compose.yml</code> file. To activate the changes, <a href="#run-the-docker-compose">run the commands from here</a>) again.</p>
<p>If you need to do any changes, only edit the <code>docker-compose.yml</code> file. To activate the changes, <a href="#run-the-docker-compose">run the commands from here</a> again.</p>
<p>Any changes you do/did in the GUI will be reverted when you run the docker-compose command.</p>
<p>Just don't use the GUI, only for information purposes !!!</p>
</div>
@ -4036,10 +4035,8 @@ If you had previous installed apps, make a backup of their config folders or bac
</ul>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/docker-compose-commands.md" -->
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -4047,7 +4044,6 @@ If you had previous installed apps, make a backup of their config folders or bac
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
<hr />
<h2 id="additional-synology-info">Additional Synology Info<a class="headerlink" href="#additional-synology-info" title="Permanent link"></a></h2>
@ -4061,28 +4057,27 @@ If you had previous installed apps, make a backup of their config folders or bac
<span class="nv">totalAttempts</span><span class="o">=</span><span class="m">10</span>
<span class="nv">delay</span><span class="o">=</span><span class="m">15</span>
<span class="k">while</span><span class="w"> </span><span class="o">[</span><span class="w"> </span><span class="nv">$currentAttempt</span><span class="w"> </span>-lt<span class="w"> </span><span class="nv">$totalAttempts</span><span class="w"> </span><span class="o">]</span>
<span class="k">do</span>
<span class="w"> </span><span class="nv">currentAttempt</span><span class="o">=</span><span class="k">$((</span><span class="w"> </span><span class="nv">$currentAttempt</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="m">1</span><span class="w"> </span><span class="k">))</span>
<span class="k">while</span><span class="w"> </span><span class="o">[</span><span class="w"> </span><span class="nv">$currentAttempt</span><span class="w"> </span>-lt<span class="w"> </span><span class="nv">$totalAttempts</span><span class="w"> </span><span class="o">]</span><span class="p">;</span><span class="w"> </span><span class="k">do</span>
<span class="w"> </span><span class="nv">currentAttempt</span><span class="o">=</span><span class="k">$((</span><span class="nv">$currentAttempt</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="m">1</span><span class="k">))</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Attempt </span><span class="nv">$currentAttempt</span><span class="s2"> of </span><span class="nv">$totalAttempts</span><span class="s2">...&quot;</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Attempt </span><span class="nv">$currentAttempt</span><span class="s2"> of </span><span class="nv">$totalAttempts</span><span class="s2">...&quot;</span>
<span class="w"> </span><span class="nv">result</span><span class="o">=</span><span class="k">$(</span>iptables-save<span class="k">)</span>
<span class="w"> </span><span class="nv">result</span><span class="o">=</span><span class="k">$(</span>iptables-save<span class="k">)</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="o">[[</span><span class="w"> </span><span class="nv">$result</span><span class="w"> </span><span class="o">=</span>~<span class="w"> </span><span class="s2">&quot;-A DOCKER -i docker0 -j RETURN&quot;</span><span class="w"> </span><span class="o">]]</span><span class="p">;</span><span class="w"> </span><span class="k">then</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Docker rules found! Modifying...&quot;</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="o">[[</span><span class="w"> </span><span class="nv">$result</span><span class="w"> </span><span class="o">=</span>~<span class="w"> </span><span class="s2">&quot;-A DOCKER -i docker0 -j RETURN&quot;</span><span class="w"> </span><span class="o">]]</span><span class="p">;</span><span class="w"> </span><span class="k">then</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Docker rules found! Modifying...&quot;</span>
<span class="w"> </span>iptables<span class="w"> </span>-t<span class="w"> </span>nat<span class="w"> </span>-A<span class="w"> </span>PREROUTING<span class="w"> </span>-m<span class="w"> </span>addrtype<span class="w"> </span>--dst-type<span class="w"> </span>LOCAL<span class="w"> </span>-j<span class="w"> </span>DOCKER
<span class="w"> </span>iptables<span class="w"> </span>-t<span class="w"> </span>nat<span class="w"> </span>-A<span class="w"> </span>PREROUTING<span class="w"> </span>-m<span class="w"> </span>addrtype<span class="w"> </span>--dst-type<span class="w"> </span>LOCAL<span class="w"> </span>!<span class="w"> </span>--dst<span class="w"> </span><span class="m">127</span>.0.0.0/8<span class="w"> </span>-j<span class="w"> </span>DOCKER
<span class="w"> </span>iptables<span class="w"> </span>-t<span class="w"> </span>nat<span class="w"> </span>-A<span class="w"> </span>PREROUTING<span class="w"> </span>-m<span class="w"> </span>addrtype<span class="w"> </span>--dst-type<span class="w"> </span>LOCAL<span class="w"> </span>-j<span class="w"> </span>DOCKER
<span class="w"> </span>iptables<span class="w"> </span>-t<span class="w"> </span>nat<span class="w"> </span>-A<span class="w"> </span>PREROUTING<span class="w"> </span>-m<span class="w"> </span>addrtype<span class="w"> </span>--dst-type<span class="w"> </span>LOCAL<span class="w"> </span>!<span class="w"> </span>--dst<span class="w"> </span><span class="m">127</span>.0.0.0/8<span class="w"> </span>-j<span class="w"> </span>DOCKER
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Done!&quot;</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Done!&quot;</span>
<span class="w"> </span><span class="k">break</span>
<span class="w"> </span><span class="k">fi</span>
<span class="w"> </span><span class="k">break</span>
<span class="w"> </span><span class="k">fi</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Docker rules not found! Sleeping for </span><span class="nv">$delay</span><span class="s2"> seconds...&quot;</span>
<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s2">&quot;Docker rules not found! Sleeping for </span><span class="nv">$delay</span><span class="s2"> seconds...&quot;</span>
<span class="w"> </span>sleep<span class="w"> </span><span class="nv">$delay</span>
<span class="w"> </span>sleep<span class="w"> </span><span class="nv">$delay</span>
<span class="k">done</span>
</code></pre></div>
</details>
@ -4108,7 +4103,7 @@ If you had previous installed apps, make a backup of their config folders or bac
<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">April 30, 2024 20:47:27</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4133,12 +4128,18 @@ If you had previous installed apps, make a backup of their config folders or bac
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3380,7 +3380,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3481,21 +3481,20 @@
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
<p>These subfolders you need to create yourself using your preferred method. Set your permissions accordingly as well. If you use ACLs on the datasets you can replicate the usual 775/664 (UMASK 002) or 755/644 (UMASK 022) recommendation, but this guide only covers the use of basic permissions for mounting and expects the end user to fine-tune permissions via chmod, chown, and uid/gid/umask settings on the applications that will be utilizing the share.</p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3503,7 +3502,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3526,7 +3524,7 @@
<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">September 14, 2023 05:34:55</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3551,12 +3549,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3572,7 +3572,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3679,15 +3679,15 @@
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3709,10 +3709,9 @@ If you use both torrents and usenet, use both commands.</p>
<!-- BEGIN INCLUDE ../../../includes/hardlinks/bad-path-suggestion.md -->
<h3 id="bad-path-suggestion">Bad path suggestion<a class="headerlink" href="#bad-path-suggestion" title="Permanent link"></a></h3>
<div class="admonition warning">
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
<p class="admonition-title">The default path setup suggested by some docker developers that encourages people to use mounts like <code>/movies</code>, <code>/tv</code>, <code>/books</code> or <code>/downloads</code> is very suboptimal and it makes them look like two or three file systems, even if they arent (<em>Because of how Dockers volumes work</em>). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.</p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/hardlinks/bad-path-suggestion.md" -->
<h2 id="setting-up-the-containers">Setting up the containers<a class="headerlink" href="#setting-up-the-containers" title="Permanent link"></a></h2>
<p>After you've created all the necessary folders, it's time to set up the Docker container's paths.</p>
@ -3733,10 +3732,10 @@ If you use both torrents and usenet, use both commands.</p>
<!-- BEGIN INCLUDE ../../../includes/hardlinks/docker-tree-torrents.md -->
<div class="highlight"><pre><span></span><code>data
└── torrents
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3755,10 +3754,10 @@ If you use both torrents and usenet, use both commands.</p>
└── usenet
├── incomplete
└── complete
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3782,15 +3781,15 @@ If you use both torrents and usenet, use both commands.</p>
├── usenet
│ ├── incomplete
│ └── complete
├── books
├── movies
├── music
└── tv
│ ├── books
│ ├── movies
│ ├── music
│ └── tv
└── media
├── books
├── movies
├── music
└── tv
├── books
├── movies
├── music
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3807,10 +3806,10 @@ If you use both torrents and usenet, use both commands.</p>
<!-- BEGIN INCLUDE ../../../includes/hardlinks/docker-tree-media.md -->
<div class="highlight"><pre><span></span><code>data
└── media
├── movies
├── music
├── books
└── tv
├── movies
├── music
├── books
└── tv
</code></pre></div>
<!-- END INCLUDE -->
@ -3854,7 +3853,7 @@ If you use both torrents and usenet, use both commands.</p>
<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">January 11, 2024 19:11:58</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3879,12 +3878,18 @@ If you use both torrents and usenet, use both commands.</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3278,12 +3278,18 @@ This is all done in a way to achieve <a href="/Hardlinks/Hardlinks-and-Instant-M
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3250,7 +3250,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3303,7 +3303,6 @@
<p>The <code>-Q</code> or <code>--quick</code> option only reads each file once, hashes it, and performs comparisons based solely on the hashes. There is a small but significant risk of a hash collision which is the purpose of the failsafe byte-for-byte comparison that this option explicitly bypasses. Do not use it on ANY data set for which any amount of data loss is unacceptable. You have been warned!</p>
</div>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3311,7 +3310,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3334,7 +3332,7 @@
<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">October 22, 2023 17:48:17</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3359,12 +3357,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3558,7 +3558,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3765,7 +3765,6 @@ Remember that for later use.</p>
<p>Thanks:</p>
<p>A big Thanks to <a href="https://github.com/mrhotio">mrhotio</a> for his excellent instructions on how to setup WireGuard for TorGuard.</p>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3773,7 +3772,6 @@ Remember that for later use.</p>
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3796,7 +3794,7 @@ Remember that for later use.</p>
<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">January 1, 2024 10:14:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3821,12 +3819,18 @@ Remember that for later use.</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3196,7 +3196,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3268,7 +3268,7 @@
<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">February 3, 2024 13:55:11</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3293,12 +3293,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3196,7 +3196,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3265,12 +3265,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3336,7 +3336,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3384,7 +3384,6 @@ It's all really dependent on specific situations for different people</p>
<li>2160p/4k =&gt; x265</li>
</ul>
<!-- END INCLUDE -->
<!-- --8<-- "includes/docker/x265.md" -->
<h3 id="how-to-accomplish-the-golden-rule">How to accomplish the Golden Rule<a class="headerlink" href="#how-to-accomplish-the-golden-rule" title="Permanent link"></a></h3>
<ul>
@ -3422,7 +3421,7 @@ It's all really dependent on specific situations for different people</p>
<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">February 3, 2024 12:43:51</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3447,12 +3446,18 @@ It's all really dependent on specific situations for different people</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3248,7 +3248,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3323,7 +3323,7 @@ Condition Logic
<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">October 31, 2022 19:00:40</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3348,12 +3348,18 @@ Condition Logic
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3203,7 +3203,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3232,7 +3232,6 @@
<h2 id="external-links">External Links<a class="headerlink" href="#external-links" title="Permanent link"></a></h2>
<p><a href="https://mediaclients.wiki/Plex" rel="noopener noreferrer" target="_blank">The Media Clients Wiki</a></p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3240,7 +3239,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3263,7 +3261,7 @@
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3288,12 +3286,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3554,7 +3554,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3601,7 +3601,7 @@
<li>Public IP <strong>If you need to provide a screenshot always mask this IP <img alt="‼" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/203c.svg" title=":bangbang:" /></strong></li>
<li>Manually specify public port if you run Docker or want a fixed port.</li>
<li>Enter the Plex port you want to use. (default: <code>32400</code>)</li>
<li>Click on <code>Apply</code> and when everything is setup correctly, your Plex Media Server should be fully accessible outside of your network, so you can connect to your Plex server from outside. You may also need to configure port forwarding on your router. Detailed instructions are available <a href="https://support.plex.tv/articles/200931138-troubleshooting-remote-access/" rel="noopener noreferrer" target="_blank">HERE</a>.</li>
<li>Click on <code>Apply</code> and when everything is setup correctly, your Plex Media Server should be fully accessible outside of your network, so you can connect to your Plex server from outside. You may also need to configure port forwarding on your router. Detailed instructions are available <a href="https://support.plex.tv/articles/200931138-troubleshooting-remote-access/" rel="noopener noreferrer" target="_blank">HERE</a>.</li>
<li>Enter your internet upload speed here and Plex can ensure it operates within this boundary.</li>
<li>Set the maximum bitrate of a remote stream from this server.</li>
</ol>
@ -3971,7 +3971,6 @@ If you want you could disable it, the choice is yours.</em></p>
<li>Own experience</li>
</ul>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3979,7 +3978,6 @@ If you want you could disable it, the choice is yours.</em></p>
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -4002,7 +4000,7 @@ If you want you could disable it, the choice is yours.</em></p>
<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 31, 2024 09:21:50</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4027,12 +4025,18 @@ If you want you could disable it, the choice is yours.</em></p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3196,7 +3196,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3266,12 +3266,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -9,21 +9,30 @@
<PhotoProfile container="jpeg" />
</TranscodeTargets>
<DirectPlayProfiles>
<VideoProfile container="mkv" codec="vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="mp4" codec="hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="asf" codec="wmv3,wmv3,vc1" audioCodec="wmav2,wmav2,wmapro,wmavoice,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="avi" codec="h264,msmpeg4v3,mpeg4,mjpeg" audioCodec="mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="mpeg" codec="h264,mpeg1video,mpeg2video" audioCodec="mp2,mp3,ac3,eac3,aac,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="flv" codec="h264" audioCodec="aac,ac3,eac3,mp3,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="mpegts" codec="h264,mpeg2video,vc1" audioCodec="mp2,mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/>
<VideoProfile container="wtv" codec="mpeg2video" audioCodec="ac3,eac3,aac,pcm"/>
<VideoProfile container="3gpp" codec="h264,mpeg4" audioCodec="aac,he-aac"/>
<VideoProfile container="mkv" codec="vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca"
subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mp4" codec="hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca"
subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="asf" codec="wmv3,wmv3,vc1" audioCodec="wmav2,wmav2,wmapro,wmavoice,pcm"
subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="avi" codec="h264,msmpeg4v3,mpeg4,mjpeg"
audioCodec="mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mpeg" codec="h264,mpeg1video,mpeg2video"
audioCodec="mp2,mp3,ac3,eac3,aac,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="flv" codec="h264" audioCodec="aac,ac3,eac3,mp3,pcm"
subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mpegts" codec="h264,mpeg2video,vc1"
audioCodec="mp2,mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="wtv" codec="mpeg2video" audioCodec="ac3,eac3,aac,pcm" />
<VideoProfile container="3gpp" codec="h264,mpeg4" audioCodec="aac,he-aac" />
<MusicProfile container="mp4" codec="aac" />
<MusicProfile container="mp3" codec="mp2,mp3" />
<MusicProfile container="flac" codec="flac" />
<MusicProfile container="ogg" codec="vorbis" />
<MusicProfile container="ac3" codec="ac3"/>
<MusicProfile container="wav" codec="pcm"/>
<MusicProfile container="ac3" codec="ac3" />
<MusicProfile container="wav" codec="pcm" />
<PhotoProfile container="jpeg,gif,bmp,png" />
</DirectPlayProfiles>
<ContainerProfiles>

@ -2,35 +2,38 @@
<Client name="Chromecast">
<!-- Author: xtrap225 -->
<TranscodeTargets>
<VideoProfile protocol="http" container="mkv" codec="h264" audioCodec="aac,mp3" context="streaming" />
<VideoProfile protocol="http" container="mkv" codec="h264" audioCodec="aac,mp3"
context="streaming" />
<MusicProfile container="mkv" codec="opus" />
<PhotoProfile container="jpeg" />
<SubtitleProfile container="ass" codec="ass" />
</TranscodeTargets>
<DirectPlayProfiles>
<VideoProfile container="mp4" codec="Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="aac,mp3,mp2"/>
<VideoProfile container="mkv" codec="vp9,Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="aac,mp3,mp2,pcm,flac,alac" subtitleCodec="srt,ass"/>
<VideoProfile container="mp4" codec="Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
audioCodec="aac,mp3,mp2" />
<VideoProfile container="mkv" codec="vp9,Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
audioCodec="aac,mp3,mp2,pcm,flac,alac" subtitleCodec="srt,ass" />
<VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac" />
<MusicProfile container="mp3" codec="mp2,mp3"/>
<MusicProfile container="mp4" codec="aac"/>
<MusicProfile container="flac" codec="flac"/>
<MusicProfile container="wav" codec="pcm"/>
<PhotoProfile container="jpeg,png,gif"/>
<MusicProfile container="mp3" codec="mp2,mp3" />
<MusicProfile container="mp4" codec="aac" />
<MusicProfile container="flac" codec="flac" />
<MusicProfile container="wav" codec="pcm" />
<PhotoProfile container="jpeg,png,gif" />
</DirectPlayProfiles>
<CodecProfiles>
<CodecProfiles>
<VideoCodec name="h265,Hevc,vp9">
<Limitations>
<UpperBound name="video.width" value="3840"/>
<UpperBound name="video.height" value="2176"/>
<UpperBound name="video.bitrate" value="75000"/>
<UpperBound name="video.width" value="3840" />
<UpperBound name="video.height" value="2176" />
<UpperBound name="video.bitrate" value="75000" />
</Limitations>
</VideoCodec>
<VideoCodec name="h264,mpeg4">
<Limitations>
<UpperBound name="video.width" value="3840"/>
<UpperBound name="video.height" value="2176"/>
<UpperBound name="video.bitrate" value="75000"/>
<UpperBound name="video.bitDepth" value="10" />
<UpperBound name="video.width" value="3840" />
<UpperBound name="video.height" value="2176" />
<UpperBound name="video.bitrate" value="75000" />
<UpperBound name="video.bitDepth" value="10" />
<UpperBound name="video.level" value="42" />
</Limitations>
</VideoCodec>

@ -3251,7 +3251,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3311,21 +3311,30 @@
<span class="w"> </span>&lt;PhotoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;jpeg&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/TranscodeTargets&gt;
<span class="w"> </span>&lt;DirectPlayProfiles&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;asf&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;wmv3,wmv3,vc1&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;wmav2,wmav2,wmapro,wmavoice,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;avi&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,msmpeg4v3,mpeg4,mjpeg&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp3,ac3,eac3,dca,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mpeg&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg1video,mpeg2video&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3,ac3,eac3,aac,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;flv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,ac3,eac3,mp3,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mpegts&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg2video,vc1&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3,ac3,eac3,dca,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wtv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;mpeg2video&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;ac3,eac3,aac,pcm&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;3gpp&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,he-aac&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca&quot;</span>
<span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca&quot;</span>
<span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;asf&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;wmv3,wmv3,vc1&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;wmav2,wmav2,wmapro,wmavoice,pcm&quot;</span>
<span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;avi&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,msmpeg4v3,mpeg4,mjpeg&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp3,ac3,eac3,dca,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mpeg&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg1video,mpeg2video&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3,ac3,eac3,aac,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;flv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,ac3,eac3,mp3,pcm&quot;</span>
<span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mpegts&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg2video,vc1&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3,ac3,eac3,dca,pcm&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass,smi,ssa,subrip,pgs&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wtv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;mpeg2video&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;ac3,eac3,aac,pcm&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;3gpp&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,he-aac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;aac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp3&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;ogg&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;vorbis&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;ac3&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;ac3&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wav&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;pcm&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;ac3&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;ac3&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wav&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;pcm&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;PhotoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;jpeg,gif,bmp,png&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/DirectPlayProfiles&gt;
<span class="w"> </span>&lt;ContainerProfiles&gt;
@ -3369,34 +3378,37 @@
&lt;Client<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;Chromecast&quot;</span>&gt;
<span class="w"> </span>&lt;!--<span class="w"> </span>Author:<span class="w"> </span>xtrap225<span class="w"> </span>--&gt;
<span class="w"> </span>&lt;TranscodeTargets&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">protocol</span><span class="o">=</span><span class="s2">&quot;http&quot;</span><span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3&quot;</span><span class="w"> </span><span class="nv">context</span><span class="o">=</span><span class="s2">&quot;streaming&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">protocol</span><span class="o">=</span><span class="s2">&quot;http&quot;</span><span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3&quot;</span>
<span class="w"> </span><span class="nv">context</span><span class="o">=</span><span class="s2">&quot;streaming&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;opus&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;PhotoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;jpeg&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;SubtitleProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;ass&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;ass&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/TranscodeTargets&gt;
<span class="w"> </span>&lt;DirectPlayProfiles&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3,mp2&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;vp9,Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3,mp2,pcm,flac,alac&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass&quot;</span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3,mp2&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mkv&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;vp9,Hevc,h265,mpeg1video,mpeg2video,h264,mpeg4&quot;</span>
<span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac,mp3,mp2,pcm,flac,alac&quot;</span><span class="w"> </span><span class="nv">subtitleCodec</span><span class="o">=</span><span class="s2">&quot;srt,ass&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;VideoProfile<span class="w"> </span><span class="nv">protocol</span><span class="o">=</span><span class="s2">&quot;hls&quot;</span><span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mpegts&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;h264&quot;</span><span class="w"> </span><span class="nv">audioCodec</span><span class="o">=</span><span class="s2">&quot;aac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp3&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;aac&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wav&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;pcm&quot;</span>/&gt;
<span class="w"> </span>&lt;PhotoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;jpeg,png,gif&quot;</span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp3&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;mp2,mp3&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;mp4&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;aac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;flac&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;MusicProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;wav&quot;</span><span class="w"> </span><span class="nv">codec</span><span class="o">=</span><span class="s2">&quot;pcm&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;PhotoProfile<span class="w"> </span><span class="nv">container</span><span class="o">=</span><span class="s2">&quot;jpeg,png,gif&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/DirectPlayProfiles&gt;
&lt;CodecProfiles&gt;
<span class="w"> </span>&lt;CodecProfiles&gt;
<span class="w"> </span>&lt;VideoCodec<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;h265,Hevc,vp9&quot;</span>&gt;
<span class="w"> </span>&lt;Limitations&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.width&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;3840&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.height&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;2176&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.bitrate&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;75000&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.width&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;3840&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.height&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;2176&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.bitrate&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;75000&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/Limitations&gt;
<span class="w"> </span>&lt;/VideoCodec&gt;
<span class="w"> </span>&lt;VideoCodec<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;h264,mpeg4&quot;</span>&gt;
<span class="w"> </span>&lt;Limitations&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.width&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;3840&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.height&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;2176&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.bitrate&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;75000&quot;</span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.width&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;3840&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.height&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;2176&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.bitrate&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;75000&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.bitDepth&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;10&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;UpperBound<span class="w"> </span><span class="nv">name</span><span class="o">=</span><span class="s2">&quot;video.level&quot;</span><span class="w"> </span><span class="nv">value</span><span class="o">=</span><span class="s2">&quot;42&quot;</span><span class="w"> </span>/&gt;
<span class="w"> </span>&lt;/Limitations&gt;
@ -3411,7 +3423,6 @@
</code></pre></div>
</details>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3419,7 +3430,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3442,7 +3452,7 @@
<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">October 31, 2022 19:00:40</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3467,12 +3477,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3510,7 +3510,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4216,12 +4216,18 @@ To make this easier we made a How to setup a quality profile for Radarr/Sonarr t
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3318,7 +3318,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3386,7 +3386,7 @@
<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">October 31, 2022 20:56:56</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3411,12 +3411,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3288,7 +3288,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3370,7 +3370,7 @@
<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">April 16, 2023 13:01:04</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3395,12 +3395,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3396,7 +3396,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3501,7 +3501,7 @@
<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">April 16, 2023 17:38:12</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3526,12 +3526,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3288,7 +3288,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3309,7 +3309,7 @@
<h1 id="setup-proxy-for-certain-indexers">Setup proxy for certain indexers<a class="headerlink" href="#setup-proxy-for-certain-indexers" title="Permanent link"></a></h1>
<p>It's not recommended to run the Starr apps through a VPN, what can happen is that the Starr apps doesn't update the posters or metadata or you can't add new movies/tv shows, it doesn't need to happen right away. but sooner or later it can and probably will happen.</p>
<p>It's not recommended to run the Starr apps through a VPN, what can happen is that the Starr apps doesn't update the posters or metadata or you can't add new movies/tv shows, it doesn't need to happen right away. but sooner or later it can and probably will happen.</p>
<div class="admonition danger">
<p class="admonition-title">To be clear it is not a matter if VPNs will cause issues with the Starr Apps, but when: image providers will block you and cloudflare is in front of most of Starr servers (updates, metadata, etc.) and liable to block you too</p>
</div>
@ -3375,7 +3375,7 @@
<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">April 22, 2023 15:37:18</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3400,12 +3400,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3270,7 +3270,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3409,7 +3409,6 @@ Well, it's actually personal preference so I will show you my recommendations.</
<p>Make sure you have enabled 'Show Advanced' in Radarr, if you don't see a provision to enter the scores, under the Quality settings.</p>
</div>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3417,7 +3416,6 @@ Well, it's actually personal preference so I will show you my recommendations.</
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3440,7 +3438,7 @@ Well, it's actually personal preference so I will show you my recommendations.</
<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">July 26, 2023 16:06:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3465,12 +3463,18 @@ Well, it's actually personal preference so I will show you my recommendations.</
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

File diff suppressed because it is too large Load Diff

@ -3354,7 +3354,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3426,7 +3426,7 @@
<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 4, 2023 15:28:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3451,12 +3451,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3468,7 +3468,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3557,7 +3557,7 @@ How this is done is explained <a href="/Radarr/radarr-setup-quality-profiles/#ba
<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 4, 2023 15:28:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3582,12 +3582,18 @@ How this is done is explained <a href="/Radarr/radarr-setup-quality-profiles/#ba
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3618,7 +3618,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3707,7 +3707,7 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<p><code>The Movie Title (2010) [imdbid-tt0066921] - {edition-Ultimate Extended Edition} [Surround Sound x264][Bluray-1080p Proper][3D][DTS 5.1][DE][10bit][AVC]-EVOLVE</code></p>
</details>
<hr />
<h2 id="original-title-vs-original-filename">Original Title vs Original Filename<a class="headerlink" href="#original-title-vs-original-filename" title="Permanent link"></a></h2>
<h2 id="original-title-vs-original-filename">Original Title vs Original Filename<a class="headerlink" href="#original-title-vs-original-filename" title="Permanent link"></a></h2>
<h3 id="original-title">Original Title<a class="headerlink" href="#original-title" title="Permanent link"></a></h3>
<p>Another option is to use <code>{Original Title}</code> rather than the recommended naming scheme outlined above. <code>{Original Title}</code> will use the title of the release which will contain all of the information included in the release itself. The benefit of this naming scheme is to prevent download loops which can occur on import when there is a discrepancy in the release title compared to the contents of the file itself (for example, if the release title says DTS-ES but the contents are actually DTS). The downside is less flexibility with how the files are named.</p>
<p>If using this alternate naming scheme I suggest using <code>{Original Title}</code> over <code>{Original Filename}</code></p>
@ -3785,7 +3785,7 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<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">February 17, 2024 23:14:40</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3810,12 +3810,18 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3354,7 +3354,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3449,7 +3449,6 @@ This could be a <code>hostname</code>, <code>container name</code> or a <code>IP
<p><a class="glightbox" href="../images/rpm-final-results.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!rpm-final-results" src="../images/rpm-final-results.png" /></a></p>
<p>After these changes the file should be able to be imported by Radarr.</p>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3457,7 +3456,6 @@ This could be a <code>hostname</code>, <code>container name</code> or a <code>IP
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3480,7 +3478,7 @@ This could be a <code>hostname</code>, <code>container name</code> or a <code>IP
<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">July 26, 2023 16:06:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3505,12 +3503,18 @@ This could be a <code>hostname</code>, <code>container name</code> or a <code>IP
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3494,7 +3494,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3833,7 +3833,7 @@
<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 5, 2024 05:31:23</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3858,12 +3858,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3320,7 +3320,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3369,7 +3369,6 @@
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/merge-quality/radarr-current-logic.md" -->
<!-- BEGIN INCLUDE ../../../includes/merge-quality/sonarr-current-logic.md -->
<h3 id="sonarr-current-logic">Sonarr current logic<a class="headerlink" href="#sonarr-current-logic" title="Permanent link"></a></h3>
@ -3396,7 +3395,6 @@
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/merge-quality/sonarr-current-logic.md" -->
<h2 id="merge-the-qualities">Merge the Qualities<a class="headerlink" href="#merge-the-qualities" title="Permanent link"></a></h2>
<p>Go to your preferred Quality Profile or create a new one.</p>
@ -3411,7 +3409,6 @@
<p><a class="glightbox" href="../images/merge.gif" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Merge Qualities" src="../images/merge.gif" /></a></p>
<p>When done Sonarr/Radarr upgrades will be handled via Preferred Words / Custom Formats.</p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3419,7 +3416,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3442,7 +3438,7 @@
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3467,12 +3463,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3273,7 +3273,7 @@
<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">November 19, 2023 15:31:49</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3298,12 +3298,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3198,7 +3198,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3226,7 +3226,6 @@
<p>Then on the top right click on <code>Options</code> and a new window will popup and enable <code>Show Unknown Movie Items</code></p>
<p><a class="glightbox" href="../images/Radarr-show-unknown-movie-item.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Enable Show Unknown Movie Items" src="../images/Radarr-show-unknown-movie-item.png" /></a></p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3234,7 +3233,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3257,7 +3255,7 @@
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3282,12 +3280,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3452,7 +3452,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3480,7 +3480,7 @@
<li>Option 2: This option is best used if you only want to cherry pick which Movies/TV Shows you want as 4K/2160p (UHD).</li>
</ul>
<div class="admonition bug">
<p>I'm not going to explain how to set up two Radarr/Sonarr instances for your system, being it depends on how you have it installed/running. <a href="https://wiki.servarr.com/radarr/installation#multiple-instances">Radarr Multiple Instance Information</a> and <a href="https://wiki.servarr.com/sonarr/installation#multiple-instances">Sonarr Multiple Instance Information</a></p>
<p>I'm not going to explain how to set up two Radarr/Sonarr instances for your system, being it depends on how you have it installed/running. <a href="https://wiki.servarr.com/radarr/installation#multiple-instances">Radarr Multiple Instance Information</a> and <a href="https://wiki.servarr.com/sonarr/installation#multiple-instances">Sonarr Multiple Instance Information</a></p>
</div>
<h2 id="preparation">Preparation<a class="headerlink" href="#preparation" title="Permanent link"></a></h2>
<p>For this you need to have prepared the following:</p>
@ -3666,7 +3666,7 @@
<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">January 11, 2024 20:09:34</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3691,12 +3691,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3318,7 +3318,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3385,7 +3385,7 @@
<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">October 31, 2022 20:56:56</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3410,12 +3410,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3438,7 +3438,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3676,7 +3676,6 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/cf/radarr-anime.md" -->
<h3 id="default-scoring">Default Scoring<a class="headerlink" href="#default-scoring" title="Permanent link"></a></h3>
<p>The scoring that has been set is the recommended scoring, however some of the CFs are optional depending on what you prefer.
@ -3726,7 +3725,6 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
</li>
</ul>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3734,7 +3732,6 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3757,7 +3754,7 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
<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">June 22, 2023 09:07:12</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3782,12 +3779,18 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3540,7 +3540,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -6931,7 +6931,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">November 19, 2023 14:35:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -6956,12 +6956,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3347,7 +3347,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -6739,7 +6739,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">November 19, 2023 14:35:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -6764,12 +6764,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3678,7 +3678,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -6997,7 +6997,7 @@ When you add your preferred Custom Format and set it to something like <code>+10
<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">April 7, 2024 09:28:20</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -7022,12 +7022,18 @@ When you add your preferred Custom Format and set it to something like <code>+10
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3211,7 +3211,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3266,7 +3266,7 @@
<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">February 17, 2023 18:00:24</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3291,12 +3291,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3337,7 +3337,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4378,7 +4378,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4403,12 +4403,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3313,7 +3313,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4046,7 +4046,7 @@ Also they often even rename the release name in to Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4071,12 +4071,18 @@ Also they often even rename the release name in to Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3313,7 +3313,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4396,7 +4396,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4421,12 +4421,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3313,7 +3313,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4375,7 +4375,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4400,12 +4400,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3313,7 +3313,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4369,7 +4369,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4394,12 +4394,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3313,7 +3313,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -4391,7 +4391,7 @@ Also they often even rename the release name into Portuguese.</li>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -4416,12 +4416,18 @@ Also they often even rename the release name into Portuguese.</li>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3211,7 +3211,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3286,7 +3286,6 @@ If you're looking for a SQP-1 (xxxxp) then look at the public Sonarr Guide.</p>
</ul>
</div>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3294,7 +3293,6 @@ If you're looking for a SQP-1 (xxxxp) then look at the public Sonarr Guide.</p>
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3317,7 +3315,7 @@ If you're looking for a SQP-1 (xxxxp) then look at the public Sonarr Guide.</p>
<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">February 18, 2024 10:27:26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3342,12 +3340,18 @@ If you're looking for a SQP-1 (xxxxp) then look at the public Sonarr Guide.</p>
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3300,7 +3300,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3570,7 +3570,7 @@ Well, it's actually personal preference so I will show you my recommendations.</
<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">January 12, 2023 21:51:13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3595,12 +3595,18 @@ Well, it's actually personal preference so I will show you my recommendations.</
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3516,7 +3516,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3619,7 +3619,7 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<p>RESULTS:</p>
<p><a class="glightbox" href="../images/results.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="results" src="../images/results.png" /></a></p>
<hr />
<h2 id="original-title-vs-original-filename">Original Title vs Original Filename<a class="headerlink" href="#original-title-vs-original-filename" title="Permanent link"></a></h2>
<h2 id="original-title-vs-original-filename">Original Title vs Original Filename<a class="headerlink" href="#original-title-vs-original-filename" title="Permanent link"></a></h2>
<h3 id="original-title">Original Title<a class="headerlink" href="#original-title" title="Permanent link"></a></h3>
<p>Another option is to use <code>{Original Title}</code> rather than the recommended naming scheme outlined above. <code>{Original Title}</code> will use the title of the release which will contain all of the information included in the release itself. The benefit of this naming scheme is to prevent download loops which can occur on import when there is a discrepancy in the release title compared to the contents of the file itself (for example, if the release title says DTS-ES but the contents are actually DTS). The downside is less flexibility with how the files are named.</p>
<p>If using this alternate naming scheme I suggest using <code>{Original Title}</code> over <code>{Original Filename}</code></p>
@ -3658,7 +3658,7 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<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">February 17, 2024 23:14:40</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3683,12 +3683,18 @@ it gets imported correctly and isn't incorrectly matched as HDTV or WEB-DL etc.<
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3342,7 +3342,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3427,7 +3427,6 @@ There you open up the download client for this example I will be using QBittorre
</div>
</details>
<!-- BEGIN INCLUDE ../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3435,7 +3434,6 @@ There you open up the download client for this example I will be using QBittorre
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
@ -3458,7 +3456,7 @@ There you open up the download client for this example I will be using QBittorre
<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">August 15, 2022 16:42:07</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3483,12 +3481,18 @@ There you open up the download client for this example I will be using QBittorre
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3494,7 +3494,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3835,7 +3835,7 @@
<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">January 10, 2023 22:05:51</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3860,12 +3860,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3320,7 +3320,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3370,7 +3370,6 @@
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/merge-quality/radarr-current-logic.md" -->
<!-- BEGIN INCLUDE ../../../includes/merge-quality/sonarr-current-logic.md -->
<h3 id="sonarr-current-logic">Sonarr current logic<a class="headerlink" href="#sonarr-current-logic" title="Permanent link"></a></h3>
@ -3397,7 +3396,6 @@
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/merge-quality/sonarr-current-logic.md" -->
<h2 id="merge-the-qualities">Merge the Qualities<a class="headerlink" href="#merge-the-qualities" title="Permanent link"></a></h2>
<p>Go to your preferred Quality Profile or create a new one.</p>
@ -3412,7 +3410,6 @@
<p><a class="glightbox" href="../../../Radarr/Tips/images/merge.gif" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="!Merge Qualities" src="../../../Radarr/Tips/images/merge.gif" /></a></p>
<p>When done Sonarr/Radarr upgrades will be handled via Preferred Words / Custom Formats.</p>
<!-- BEGIN INCLUDE ../../../includes/support.md -->
<hr />
<div class="admonition question">
<p class="admonition-title">Questions or Suggestions?</p>
@ -3420,7 +3417,6 @@
<p><a href="https://trash-guides.info/discord" rel="noopener noreferrer" target="_blank"><img alt="Discord chat" class="off-glb" src="https://img.shields.io/discord/492590071455940612?style=for-the-badge&amp;color=4051B5&amp;logo=discord" /></a></p>
</div>
<!-- END INCLUDE -->
<!-- --8<-- "includes/support.md" -->
<!-- END INCLUDE -->
@ -3445,7 +3441,7 @@
<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">October 18, 2022 18:45:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3470,12 +3466,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3452,7 +3452,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3481,7 +3481,7 @@
<li>Option 2: This option is best used if you only want to cherry pick which Movies/TV Shows you want as 4K/2160p (UHD).</li>
</ul>
<div class="admonition bug">
<p>I'm not going to explain how to set up two Radarr/Sonarr instances for your system, being it depends on how you have it installed/running. <a href="https://wiki.servarr.com/radarr/installation#multiple-instances">Radarr Multiple Instance Information</a> and <a href="https://wiki.servarr.com/sonarr/installation#multiple-instances">Sonarr Multiple Instance Information</a></p>
<p>I'm not going to explain how to set up two Radarr/Sonarr instances for your system, being it depends on how you have it installed/running. <a href="https://wiki.servarr.com/radarr/installation#multiple-instances">Radarr Multiple Instance Information</a> and <a href="https://wiki.servarr.com/sonarr/installation#multiple-instances">Sonarr Multiple Instance Information</a></p>
</div>
<h2 id="preparation">Preparation<a class="headerlink" href="#preparation" title="Permanent link"></a></h2>
<p>For this you need to have prepared the following:</p>
@ -3669,7 +3669,7 @@
<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">October 18, 2022 18:45:01</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3694,12 +3694,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3300,7 +3300,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3359,7 +3359,7 @@
<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">January 11, 2024 17:57:02</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3384,12 +3384,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

File diff suppressed because it is too large Load Diff

@ -3354,7 +3354,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3426,7 +3426,7 @@
<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 4, 2023 15:28:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3451,12 +3451,18 @@
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3468,7 +3468,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3557,7 +3557,7 @@ How this is done is explained <a href="/Sonarr/sonarr-setup-custom-formats/#basi
<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 4, 2023 15:28:05</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3582,12 +3582,18 @@ How this is done is explained <a href="/Sonarr/sonarr-setup-custom-formats/#basi
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

@ -3522,7 +3522,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
@ -3681,7 +3681,7 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
</tr>
<tr>
<td><a href="/Sonarr/sonarr-collection-of-custom-formats/#web-tier-02">WEB Tier 02</a></td>
<td style="text-align: center;"><img alt="⚠" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/26a0.svg" title=":warning:" /> 150 <img alt="⚠" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/26a0.svg" title=":warning:" /></td>
<td style="text-align: center;"><img alt="⚠" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/26a0.svg" title=":warning:" /> 150 <img alt="⚠" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/26a0.svg" title=":warning:" /></td>
<td>58790d4e2fdcd9733aa7ae68ba2bb503</td>
</tr>
<tr>
@ -3791,7 +3791,6 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
</div>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/cf/sonarr-anime.md" -->
<!-- BEGIN INCLUDE ../../includes/cf/sonarr-streaming-services-anime.md -->
<details class="abstract">
@ -3864,7 +3863,6 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
</table>
</details>
<!-- END INCLUDE -->
<!-- --8<-- "includes/cf/sonarr-streaming-services-anime.md" -->
<p>The scoring that has been set is the recommended scoring, however some of the CFs are optional depending on what you prefer.
<code>Anime Dual Audio</code>, <code>Uncensored</code> and <code>10bit</code> can be given positive scores if you want to prefer content with these attributes.</p>
@ -3940,7 +3938,7 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
<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">December 12, 2023 23:40:24</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">May 11, 2024 21:04:29</span>
</span>
@ -3965,12 +3963,18 @@ The vast majority of releases can be found on <a href="https://nyaa.si/" rel="no
<footer class="sponsorship">
<hr>
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39">
</a>
<hr>
</footer>
<footer class="sponsorship">
<hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
><img
src="/img/buy-me-a-coffee.png"
alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
</article>
</div>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save