-
-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Possible Updates #8612
Some Possible Updates #8612
Conversation
WalkthroughThe changes in the SickChill project involve various modifications across different files. The main changes include altering the way daemon threads are set in two files, updating URL parsing in the qbittorrent client, removing the import statement for the Changes
Poem
TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 1
Configuration used: CodeRabbit UI
Files selected for processing (14)
- sickchill/adba/init.py (1 hunks)
- sickchill/adba/aniDBlink.py (1 hunks)
- sickchill/oldbeard/clients/qbittorrent.py (2 hunks)
- sickchill/oldbeard/providers/bitcannon.py (1 hunks)
- sickchill/oldbeard/providers/iptorrents.py (1 hunks)
- sickchill/oldbeard/providers/kat.py (1 hunks)
- sickchill/oldbeard/providers/magnetdl.py (1 hunks)
- sickchill/oldbeard/providers/nyaa.py (1 hunks)
- sickchill/oldbeard/providers/skytorrents.py (1 hunks)
- sickchill/oldbeard/providers/torrentday.py (1 hunks)
- sickchill/oldbeard/providers/torrentproject.py (1 hunks)
- sickchill/oldbeard/providers/yggtorrent.py (1 hunks)
- sickchill/providers/torrent/FrenchProvider.py (1 hunks)
- sickchill/tv.py (1 hunks)
Files skipped from review due to trivial changes (12)
- sickchill/adba/init.py
- sickchill/adba/aniDBlink.py
- sickchill/oldbeard/providers/bitcannon.py
- sickchill/oldbeard/providers/iptorrents.py
- sickchill/oldbeard/providers/kat.py
- sickchill/oldbeard/providers/magnetdl.py
- sickchill/oldbeard/providers/nyaa.py
- sickchill/oldbeard/providers/skytorrents.py
- sickchill/oldbeard/providers/torrentday.py
- sickchill/oldbeard/providers/torrentproject.py
- sickchill/oldbeard/providers/yggtorrent.py
- sickchill/providers/torrent/FrenchProvider.py
Additional comments: 2
sickchill/tv.py (1)
- 12-12: The change from
typing_extensions
totyping
for theUnion
import is fine as long as the Python version being used is 3.5 or above, asUnion
was added to thetyping
module in Python 3.5. If the project is intended to support Python versions below 3.5, this change could cause compatibility issues.- from typing_extensions import Union + from typing import Unionsickchill/oldbeard/clients/qbittorrent.py (1)
- 2-2: The change from
splitport
tourlparse
is a good one assplitport
is not a function inurllib.parse
. This change should resolve any issues related to this.
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- sickchill/oldbeard/clients/qbittorrent.py (2 hunks)
Additional comments: 2
sickchill/oldbeard/clients/qbittorrent.py (2)
1-5: The import statement has been updated to use
urlparse
instead ofsplitport
. This change is more flexible as it can handle URLs with or without ports.13-21: The
__init__
method of theClient
class has been updated to useurlparse
to parse the host URL and extract the host and port. This is a more robust approach as it can handle a wider range of URL formats.- host, port = splitport(self.host or settings.TORRENT_HOST) + parsed_url = urlparse(self.host or settings.TORRENT_HOST) + self.host = parsed_url.hostname + self.port = parsed_url.port
This one is a python 3.8+ as far as I know. Now more 3.7 |
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- sickchill/oldbeard/clients/download_station.py (1 hunks)
Files skipped from review due to trivial changes (1)
- sickchill/oldbeard/clients/download_station.py
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- sickchill/gui/slick/views/displayShow.mako (1 hunks)
Files skipped from review due to trivial changes (1)
- sickchill/gui/slick/views/displayShow.mako
These are all good, thanks! |
PyCharm error list.
Going through some items and clearing errors and warnings.
Reject, comment, accept, open house.
Summary by CodeRabbit
Client
class for more accurate host and port extraction.validators
module imports across multiple provider files.tv.py
for better type checking.