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] Stop collection generation if rule was removed #379

Open
8a8al00ey opened this issue Feb 9, 2023 · 0 comments
Open

[Bug] Stop collection generation if rule was removed #379

8a8al00ey opened this issue Feb 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working never-stale

Comments

@8a8al00ey
Copy link

Describe the bug
If a rule is remove while a collection job is running it will continue to try to add the media item to plex collection even though it was removed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Rules'
  2. Click on 'Run rules'
  3. Go to 'Rules'
  4. Click on 'Delete rule'

Expected behavior
Be able to remove rules and not have it continue to try to add the media item to a collection that was already deleted.

[Nest] 63  - 02/09/2023, 5:03:11 PM     LOG [CollectionsService] Adding media with id 41026 to collection..
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [PlexApiService] Removed collection from Plex
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [CollectionsService] Removing collection from Database..
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [CollectionsService] Adding media with id 285754 to collection..
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [RulesService] Removed rulegroup with id 7 from the database
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [CollectionsService] Couldn't add media to collection: Error: Plex Server didnt respond with a valid 2xx status code, response code: 404
[Nest] 63  - 02/09/2023, 5:03:12 PM     LOG [CollectionsService] Adding media with id 25276 to collection..
@jorenn92 jorenn92 self-assigned this Feb 21, 2023
@jorenn92 jorenn92 added the bug Something isn't working label Feb 21, 2023
@jorenn92 jorenn92 changed the title Stop collection generation if rule was removed [Bug] Stop collection generation if rule was removed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working never-stale
Projects
None yet
Development

No branches or pull requests

2 participants