This repository has been archived by the owner on May 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Added systemd service file and refactored main.py #605
Open
KJSain
wants to merge
36
commits into
itsToggle:main
Choose a base branch
from
KJSain:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Switched main.py to use argparse for cleaner code and easier argument additions for the future Added extras folder with systemd service file example
dreulavelle
approved these changes
Dec 29, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a neat feature! Awesome work.
davidemarcoli
approved these changes
Feb 16, 2024
Thanks heaps for this! I didn't like the screen bits of the install guide so started doing this, then thought to check the issues. Works great! |
…wnloads Not Functioning Correctly
Also allow .avi files eg. The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3 [29/03/24 01:46:08] scraping sources [torrentio] for query "the.wild.parrots.of.telegraph.hill.2005" ... done [29/03/24 01:46:08] accepting titles that regex match "[^A-Za-z0-9]*((the.wild.parrots.of.telegraph.hill):?.*)\(?\[?(2005)(tt0424565)?" ... done - found 3 releases [29/03/24 01:46:08] scraping sources [torrentio] for IMDB ID "tt0424565" ... done [29/03/24 01:46:08] accepting titles that regex match "(.*|tt0424565)" ... done - found 3 releases [29/03/24 01:46:13] checking cache status for scraped releases on: [Real Debrid] ... done [29/03/24 01:46:14] [realdebrid] checking and sorting all release files ... done [29/03/24 01:46:14] set release bitrate using total movie duration: 01h:23m [29/03/24 01:46:14] 1) title: The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3 | size: 1.02 | bitrate: 2.05 | cached: RD | seeders: 9 | files: +0/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] 2) title: Wild.Parrots.of.Telegraph.Hill.(DVD.Rip).rar | size: 0.87 | bitrate: 1.75 | cached: | seeders: 0 | files: +0/-0 | source: [torrentio: ThePirateBay] [29/03/24 01:46:14] 3) title: Debbie.Does.Dallas.Uncovered.2005.DVDRip.X264.Konnann | size: 0.79 | bitrate: 1.59 | cached: RD | seeders: 2 | files: +2/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] 4) title: The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3 | size: 1.02 | bitrate: 2.05 | cached: RD | seeders: 9 | files: +0/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] 5) title: Wild.Parrots.of.Telegraph.Hill.(DVD.Rip).rar | size: 0.87 | bitrate: 1.75 | cached: | seeders: 0 | files: +0/-0 | source: [torrentio: ThePirateBay] [29/03/24 01:46:14] 6) title: Debbie.Does.Dallas.Uncovered.2005.DVDRip.X264.Konnann | size: 0.79 | bitrate: 1.59 | cached: RD | seeders: 2 | files: +2/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] sorting releases for version [1080p SDR] ... done - found 2 releases [29/03/24 01:46:14] 1) title: The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3 | size: 1.02 | bitrate: 2.05 | cached: RD | seeders: 9 | files: +0/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] 2) title: The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3 | size: 1.02 | bitrate: 2.05 | cached: RD | seeders: 9 | files: +0/-0 | source: [torrentio: MagnetDL] [29/03/24 01:46:14] [realdebrid] error: rejecting release: "The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3" because it doesnt match the allowed deviation "[^A-Za-z0-9]*((the.wild.parrots.of.telegraph.hill):?.*)\(?\[?(2005|2004|2006)" [29/03/24 01:46:14] [realdebrid] error: rejecting release: "The.Wild.Parrots.Of.Telegraph.Hill.XviD.AC3" because it doesnt match the allowed deviation "[^A-Za-z0-9]*((the.wild.parrots.of.telegraph.hill):?.*)\(?\[?(2005|2004|2006)" [29/03/24 01:46:14] retrying download in 30min for item: the.wild.parrots.of.telegraph.hill.2005 - version/s [1080p SDR] - attempt 1/5
…wnloads Not Functioning Correctly
- handle ampersands in titles, eg. Fast.Cheap.&.Out.of.Control.a.film.by.Errol.Morris - incorrect matching at beginning of title, eg. [realdebrid] error: rejecting release: "Knjiga.rekorda.Sutke.AKA.The.Shutka.Book.Of.Records" because it doesnt match the allowed deviation "[^A-Za-z0-9]*((the.shutka.book.of.records):?.*)\(?\[?(2005|2004|2006)?"
Land.of.the.Giants.1968.Season.1[Complete]
- Plex doesn't like extra trailing slashes and requests requires the protocol for urls
Signed-off-by: David Young <[email protected]>
Signed-off-by: David Young <[email protected]>
Fix issue 578/478: Single Episode Downloads Not Functioning Correctly
Added Zilean support
Parameterized watchlist loop interval rather than hardcoded 30 minutes
Signed-off-by: David Young <[email protected]>
…tuation Correct matching for: - Mission Impossible: Dead Reckoning - "Part One" may be present in name but not matched - Mr. Nobody - Allow for Mr..Nobody or Mr.Nobody - Dirk Gently's Holistic Detective Agency - Allow presence of apostrophes in title - Face/Off - Allow for slashes in title Squashed commit of the following: commit de12f02 Author: sirstudly <[email protected]> Date: Tue Jul 23 17:08:51 2024 +0100 Character replacement for slashes in title (eg. Face/Off) Issue itsToggle#529 commit 5fbb999 Author: sirstudly <[email protected]> Date: Wed Jul 17 22:54:14 2024 +0100 Issue 529: Update default character replacement to better handle punctuation commit 113caeb Author: sirstudly <[email protected]> Date: Thu Apr 4 18:42:42 2024 +0100 Keeping regex consistent with subsequent line (issue 529) commit fedbc67 Author: sirstudly <[email protected]> Date: Thu Mar 21 13:49:34 2024 +0000 Resolving issue itsToggle#638
pull sirstudly's pull request into forked repo
Added support for local trakt list
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
First time open-source contributing. Let me know if I'm doing this wrong.
I switched the main.py to use the argparse library to facilitate easier argument parsing. I also added the service file that I created to use for Linux instead of using screen to offload the backgrounding of the service. I think this makes it more "Linux-y".