Skip to content
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

[Bug] Downloader ignoring torrents with multi-episode files #684

Open
FlashLightning67 opened this issue Sep 7, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@FlashLightning67
Copy link
Contributor

After the RD refactor, torrents that have multiple episodes in a file have been blacklisted even though they have all the needed episodes. I believe the issue is with line 20 of downloaders/shared.py:

if not needed_media or len(container) >= len([episode for season in needed_media for episode in needed_media[season]]):

The check for if the container has more files than the amount of needed episodes doesn't account for if there are multiple episodes in a single file, so it skips those torrents.

@dreulavelle dreulavelle self-assigned this Sep 24, 2024
@dreulavelle dreulavelle added the bug Something isn't working label Sep 24, 2024
@dreulavelle dreulavelle added this to the Multi Episode Handling milestone Sep 24, 2024
@dreulavelle
Copy link
Member

I'm not convinced that the Downloader is the only culprit for this issue. We also need to make sure that symlinking files is also handling this correctly. As well as the symlink library ingestion when a database is reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants