From 550325abf4ecefe3d9864cf43c00adc59d2e933a Mon Sep 17 00:00:00 2001 From: Eugene Amos Date: Tue, 28 Nov 2023 14:27:06 -0800 Subject: [PATCH] qbittorrent > updates --- qbittorrent/README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/qbittorrent/README.md b/qbittorrent/README.md index b9fb870..ee81a34 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -16,23 +16,25 @@ A script that will auto assign a category of an incoming torrent. assign_category.py notes
-This python script will get called every time a torrent file is added to the qbittorrent application. - -This script is dependent on the `qbittorrent-api` module that will get installed on start of the main `qbittorrent` container. +This python script will get called every time a torrent file is added to the qbittorrent application.Is is dependent on the `qbittorrent-api` module that will get installed on start of the main `qbittorrent` container. When the script is called it will do the following: -1. Check the torrent files name for a season/episode pattern using the format of `SxxExx`. This check is also for uppercase or lowercase "s" & "e" and any number or combination of numbers in the "xx" spots. +1. Check the torrent files name for a season/episode pattern using the format of `SxxExx`. This check is also for uppercase or lowercase "s" & "e" and any number or combination of numbers in the `"xx"` spots. -2. Next the script will check if "1080p" or "2160p" is in the name. +2. Next the script will check if **"1080p"** or **"2160p"** is in the name. -- If both #1 and #2 are **TRUE**, then the category for that added torrent will change to `category_1080_shows`.
If both or either are **FALSE** then the script will move to #3. -- > Note: When you **right click** on a **category** in qbittorrent you can edit the **save path** location. +- If both **#1** and **#2** are **TRUE**, then the category for that added torrent will change to `category_1080_shows`. -3. Next the script will again check for "1080p" or "2160p" AND "YTS.MX" in the name. +- If both or either are **FALSE** then the script will move to **#3**. + +> Note: When you **right click** on a **category** in qbittorrent you can edit the **save path** location. + +3. Next the script will again check for **"1080p"** or **"2160p"** *AND* **"YTS.MX"** in the name. - If **TRUE** then the added torrent is a movie and the category will change to `category_1080_movies`. -- > Note: **95%** of the time I only add movies from **YTS.MX**. This can be changed to any movie identifier needed. + +> Note: **95%** of the time I only add movies from **YTS.MX**. This can be changed to any movie identifier needed.