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

🐛 Fix root-level books in collection libraries #493

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

aaronleopold
Copy link
Collaborator

Fixes an issue in collection-priority libraries where having a root-level book causes the scanner to create a series with the entire content of the library, effectively duplicating all books in the database.

This is a simple change to just make the scanner aware of this scenario and adjust the indexing depth accordingly.

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
core/src/filesystem/scanner/series_scan_job.rs 0.00% 8 Missing ⚠️
core/src/filesystem/scanner/library_scan_job.rs 0.00% 7 Missing ⚠️
Files with missing lines Coverage Δ
core/src/filesystem/scanner/library_scan_job.rs 0.00% <0.00%> (ø)
core/src/filesystem/scanner/series_scan_job.rs 0.00% <0.00%> (ø)

@aaronleopold aaronleopold marked this pull request as ready for review October 30, 2024 15:41
@aaronleopold aaronleopold merged commit 99703d2 into develop Oct 30, 2024
8 checks passed
@aaronleopold aaronleopold deleted the al/collection-priority/fix-root-level-books branch October 30, 2024 23:17
@aaronleopold aaronleopold mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant