Merge pull request #100 from NikolajDanger/only-radarr-and-sonarr

🐛
This commit is contained in:
Nikolaj Gade
2021-10-17 15:44:24 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ class Plex():
if len(torrent_list) > 0: if len(torrent_list) > 0:
for torrent in torrent_list: for torrent in torrent_list:
if torrent['category'] not in ["radarr", "tv-sonarr"]:
break
torrent_name = torrent["name"] torrent_name = torrent["name"]
if len(torrent_name) > 30: if len(torrent_name) > 30:
if torrent_name[26] == " ": if torrent_name[26] == " ":

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 KiB