Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Added systemd service file and refactored main.py #605

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

KJSain
Copy link

@KJSain KJSain commented Dec 19, 2023

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".

  • Switched main.py to use argparse for cleaner code and easier argument additions for the future
  • Added extras folder with systemd service file example

jaqb and others added 2 commits July 26, 2023 14:27
Switched main.py to use argparse for cleaner code and easier argument additions for the future
Added extras folder with systemd service file example
@KJSain KJSain marked this pull request as ready for review December 22, 2023 17:20
Copy link

@dreulavelle dreulavelle left a 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.

@sambanks
Copy link

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!

sirstudly and others added 24 commits March 30, 2024 12:52
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
- 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]>
Fix issue 578/478: Single Episode Downloads Not Functioning Correctly
funkypenguin and others added 10 commits July 23, 2024 12:18
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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants