Skip to content

Commit

Permalink
Merge branch 'master' into fix/add-varyg-anime-dual-audio
Browse files Browse the repository at this point in the history
  • Loading branch information
adapowers authored Jul 17, 2024
2 parents 41b551e + 855f545 commit d740414
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 33 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
<b><a href="https://github.com/FonduemangVI" style="color: #ffa500;">FonduemangVI</a></b>
</div>
<div style="flex: 1 1 20%; background-color: #1e2129; border: 1px solid #373a42; padding: 10px; text-align: center;">
<img src="https://avatars.githubusercontent.com/u/38940602?v=4&v=4" style="width: 50px; border-radius: 50%;" alt="NiceTSY">
<img src="https://avatars.githubusercontent.com/u/47067662?v=4&v=4" style="width: 50px; border-radius: 50%;" alt="nuxencs">
<br>
<b><a href="https://github.com/NiceTSY" style="color: #ffa500;">NiceTSY</a></b>
<b><a href="https://github.com/nuxencs" style="color: #ffa500;">nuxencs</a></b>
</div>
<div style="flex: 1 1 20%; background-color: #1e2129; border: 1px solid #373a42; padding: 10px; text-align: center;">
<img src="https://avatars.githubusercontent.com/u/47067662?v=4&v=4" style="width: 50px; border-radius: 50%;" alt="nuxencs">
<img src="https://avatars.githubusercontent.com/u/38940602?v=4&v=4" style="width: 50px; border-radius: 50%;" alt="NiceTSY">
<br>
<b><a href="https://github.com/nuxencs" style="color: #ffa500;">nuxencs</a></b>
<b><a href="https://github.com/NiceTSY" style="color: #ffa500;">NiceTSY</a></b>
</div>
<div style="flex: 1 1 20%; background-color: #303850; border: 1px solid #373a42; padding: 10px; text-align: center;">
<img src="https://avatars.githubusercontent.com/u/55419169?v=4&v=4" style="width: 50px; border-radius: 50%;" alt="bakerboy448">
Expand Down
20 changes: 8 additions & 12 deletions docs/Hardlinks/Check-if-hardlinks-are-working.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# How to check if hardlinks are working

You've followed the guide step by step but still want to check if hardlinks are working, or someone on the Sonarr/Radarr support team asked you to check if your files are hardlinked?
You've followed the guide step by step but still want to check if hardlinks are working, or someone on the Sonarr/Radarr support team asked you to check if your files are hardlinked.

You can use 3 options to check if you got working hardlinks.

_All methods require you to login to your terminal with PuTTY or similar software._
_All methods require you to log in to your terminal with PuTTY or similar software._

!!! warning

You can't create hard links for directories :bangbang:

You can't cross file systems :bangbang:
- You **CAN'T** create hardlinks for directories :bangbang:
- You **CAN'T** hardlink across separate file systems, partitions, or mounts :bangbang:
- Some file systems, such as exFAT, are known not to support hardlinks and should be avoided (double-check if you are unsure!)

---

## Usenet

!!! note ""

If you use Usenet these examples won't work because you make use of instant moves/atomic moves and not hardlinks.

Still want to test if it works?

Test an import of a 4k remux (or any other big file and you should notice it's almost instant) and not a slower and more I/O intensive copy + delete.
!!! info "If you are using Usenet, these examples won't work due to making use of instant/atomic moves and not hardlinks.<br><br>Still want to test if it works?<br><br>Test an import of a 4k remux, or any other big file, and you should notice it's almost instant and not a slower and more I/O intensive copy + delete."

## Method 1: Using ls

Expand Down Expand Up @@ -54,6 +48,8 @@ You will get 2 results you can use to compare several things.
1. Links: Everything above 1 means it's hardlinked
1. Inode: if the numbers match, you know the files are hardlinked

---

## Method 3: Using Inode copies

- In your terminal `cd` to your download location and run `ls -i file.mkv` or type `ls -i /path/to/your/download/location/file.mkv`
Expand Down
36 changes: 20 additions & 16 deletions docs/Hardlinks/Hardlinks-and-Instant-Moves.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

!!! info

If you’re wondering why hard links aren’t working or why a simple move is taking far longer than it should.
If you’re wondering why hardlinks aren’t working or why a simple move is taking far longer than it should.

Here we will try to explain it.

This Guide exist out of 4 Sections
This guide consists of 4 sections.

1. This page with a short description.
1. [How to set up for](/Hardlinks/How-to-setup-for/) your installation method.
1. [Examples](/Hardlinks/Examples/) what you should use for your path settings in your used applications.
1. [Check if hardlinks are working](/Hardlinks/Check-if-hardlinks-are-working/)

So you want one of the following ?
So you want one of the following?

- Instant moves (Atomic-Moves) during import of the Starr Apps (useful when using Usenet)?
- You don't want to use twice the storage when using torrents. (hardlinks)?
Expand All @@ -30,35 +30,39 @@ Then Continue to [How to set up for](/Hardlinks/How-to-setup-for/) your installa
??? question "**What are hardlinks?** - [Click to show/hide]"

- [**Short answer**] Having a file in multiple locations without using double your storage space.
- [**Long answer**] Hard links are a way for a copy operation to be instant and not consume space for those additional copies.
- [**Long answer**] Hardlinks are a way for a copy operation to be instant and not consume space for those additional copies.

Every file is a hard link: some metadata that points at blocks on the file system, **which is why they're restricted to the same file system**. 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.
Every file is a hardlink: some metadata that points at blocks on the file system, **which is why they're restricted to the same file system**. 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.

This means:

- You can delete any "copy" w/o impacting the others.
- You can delete any "copy" without impacting other instances (hardlinks) of it.

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".
Your download client can remove its "copy" without impacting the library "copy". The library "copy" can also be removed by Plex, Sonarr/Radarr, or manually without impacting your download client's "copy".

- Space is only regained when all "copies" are deleted.
- Space is only reclaimed once all "copies" of data that are hardlinked are deleted.

- Modifying the file will impact all "copies".
- Modifying any copy of a hardlinked file will impact all "copies".

For example, modifying the id3 tags of a .mp3 download after import would modify the download client "copy", resulting in breaking the torrent.
For example, modifying the id3 tags of a .mp3 download after import would modify the download client "copy", resulting in breaking the torrent.

[More info from Wikipedia, the free encyclopedia](https://en.wikipedia.org/wiki/Hard_link){:target="_blank" rel="noopener noreferrer"}

!!! warning

You can't create hard links for directories :bangbang:

You can't cross file systems :bangbang:
!!! warning "Don't forget to read the [Hardlinks limitations](/Hardlinks/Hardlinks-and-Instant-Moves/#hardlinks-limitations)"

### What are Instant Moves (Atomic Moves)

??? question "**What are Instant Moves (Atomic Moves)?** - [Click to show/hide]"

A real move and not a copy file from download folder to media folder and then delete file from download folder.
A real move and not a copy file from the download folder to the media folder and then deleting the file from the download folder.

### Hardlinks Limitations

??? question "**Hardlinks limitations** - [Click to show/hide]"

- You **CAN'T** create hardlinks for directories :bangbang:
- You **CAN'T** hardlink across separate file systems, partitions, or mounts :bangbang:
- Some file systems, such as exFAT, are known not to support hardlinks and should be avoided (double-check if you are unsure!)

### What are the Starr Apps

Expand Down
45 changes: 45 additions & 0 deletions docs/json/radarr/cf/anime-lq-groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@
"value": "\\b(DsunS)\\b"
}
},
{
"name": "Emmid",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Emmid\\]|-Emmid\\b"
}
},
{
"name": "ExREN",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -492,6 +501,15 @@
"value": "\\b(Johnny-englishsubs)\\b"
}
},
{
"name": "Kallango",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Kallango\\]|-Kallango\\b"
}
},
{
"name": "Kanjouteki",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -672,6 +690,15 @@
"value": "\\b(Modders[ .-]?Bay)\\b"
}
},
{
"name": "Moozzi2",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(Moozzi2)\\b"
}
},
{
"name": "Mr. Deadpool",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -987,6 +1014,15 @@
"value": "\\b(SLAX)\\b"
}
},
{
"name": "Sokudo",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Sokudo\\]|-Sokudo\\b"
}
},
{
"name": "SRW",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -1086,6 +1122,15 @@
"value": "\\[UNBIASED\\]|-UNBIASED\\b"
}
},
{
"name": "uP",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[uP\\]"
}
},
{
"name": "USD",
"implementation": "ReleaseTitleSpecification",
Expand Down
9 changes: 9 additions & 0 deletions docs/json/radarr/cf/anime-raws.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,15 @@
"fields": {
"value": "Seicher[ ._-]?(Raws)"
}
},
{
"name": "Shiniori-Raws",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "Shiniori[ ._-]?(Raws)"
}
}
]
}
9 changes: 9 additions & 0 deletions docs/json/radarr/cf/uhd-bluray-tier-03.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
"value": "^(HONE)$"
}
},
{
"name": "PTer",
"implementation": "ReleaseGroupSpecification",
"negate": false,
"required": false,
"fields": {
"value": "^(PTer)$"
}
},
{
"name": "SPHD",
"implementation": "ReleaseGroupSpecification",
Expand Down
45 changes: 45 additions & 0 deletions docs/json/sonarr/cf/anime-lq-groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@
"value": "\\b(DsunS)\\b"
}
},
{
"name": "Emmid",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Emmid\\]|-Emmid\\b"
}
},
{
"name": "ExREN",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -492,6 +501,15 @@
"value": "\\b(Johnny-englishsubs)\\b"
}
},
{
"name": "Kallango",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Kallango\\]|-Kallango\\b"
}
},
{
"name": "Kanjouteki",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -672,6 +690,15 @@
"value": "\\b(Modders[ .-]?Bay)\\b"
}
},
{
"name": "Moozzi2",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(Moozzi2)\\b"
}
},
{
"name": "Mr. Deadpool",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -987,6 +1014,15 @@
"value": "\\b(SLAX)\\b"
}
},
{
"name": "Sokudo",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[Sokudo\\]|-Sokudo\\b"
}
},
{
"name": "SRW",
"implementation": "ReleaseTitleSpecification",
Expand Down Expand Up @@ -1086,6 +1122,15 @@
"value": "\\[UNBIASED\\]|-UNBIASED\\b"
}
},
{
"name": "uP",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\[uP\\]"
}
},
{
"name": "USD",
"implementation": "ReleaseTitleSpecification",
Expand Down
9 changes: 9 additions & 0 deletions docs/json/sonarr/cf/anime-raws.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,15 @@
"fields": {
"value": "Seicher[ ._-]?(Raws)"
}
},
{
"name": "Shiniori-Raws",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "Shiniori[ ._-]?(Raws)"
}
}
]
}
9 changes: 9 additions & 0 deletions docs/json/sonarr/cf/lq.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@
"value": "^(nhanc3)$"
}
},
{
"name": "OFT",
"implementation": "ReleaseGroupSpecification",
"negate": false,
"required": false,
"fields": {
"value": "^(OFT)$"
}
},
{
"name": "Pahe",
"implementation": "ReleaseGroupSpecification",
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mkdocs-glightbox==0.4.0
mkdocs-awesome-pages-plugin==2.9.2
mkdocs-git-revision-date-localized-plugin==1.2.6
mkdocs-macros-plugin==1.0.5
mkdocs-material==9.5.27
mkdocs-material==9.5.28
mkdocs-minify-plugin==0.8.0
mkdocs-redirects==1.2.1
mkdocs-include-markdown-plugin==6.2.1
Expand Down
8 changes: 8 additions & 0 deletions docs/updates.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 2024-07-14 01:18
- [feat(starr-anime): add Shiniori-Raws to Anime Raws CF](https://github.com/TRaSH-Guides/Guides/pull/2012)
- [feat(starr-anime): add several RlsGrps to LQ](https://github.com/TRaSH-Guides/Guides/pull/2011)
- [feat(Guide): Add exFAT hardlink limitation to hardlinks guide](https://github.com/TRaSH-Guides/Guides/pull/2004)
- [feat(sonarr): add OFT to LQ CF](https://github.com/TRaSH-Guides/Guides/pull/2010)
- [fix(ci): remove unnecessary chmod](https://github.com/TRaSH-Guides/Guides/pull/2006)
- [fix(update contribs): remove unnecessary --force on git push](https://github.com/TRaSH-Guides/Guides/pull/)

# 2024-07-07 14:38
- [fix(auto-changelog): add token to checkout](https://github.com/TRaSH-Guides/Guides/pull/)
- [fix(auto-changelog): fix git push command](https://github.com/TRaSH-Guides/Guides/pull/)
Expand Down

0 comments on commit d740414

Please sign in to comment.