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

Kapowarr not picking up on files #202

Open
YaibaToKen opened this issue Nov 21, 2024 · 4 comments
Open

Kapowarr not picking up on files #202

YaibaToKen opened this issue Nov 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@YaibaToKen
Copy link

Description of the bug

Kapowarr is not picking up on new files on the monitored folders even after forcing a refresh and scan

To Reproduce

Place files in folder, press Refresh and Scan button, refresh page and see no files were ppicked on.

Expected behaviour

Kapowarr should be able to automatically map the files or at least allow us to manually map the files in the folder.

Screenshots

image
image
image
image

Version info

image

@YaibaToKen YaibaToKen added the bug Something isn't working label Nov 21, 2024
@YaibaToKen
Copy link
Author

This only seems to happen sometimes, though I currently have at least 5 titles with this issue.

@YaibaToKen
Copy link
Author

YaibaToKen commented Nov 21, 2024

Logs for one of the attempts:

[19:39:23][INFO] Added task: Refresh And Scan (1)
[19:39:23][DEBUG] Running task Refresh And Scan
[19:39:23][DEBUG] Creating connection <DBConnection; Task Handler; 140309806142048>
[19:39:23][DEBUG] Using selector: EpollSelector
[19:39:23][DEBUG] Fetching volume data for ['134030']
[19:39:24][DEBUG] Using selector: EpollSelector
[19:39:24][DEBUG] Fetching issue data for volumes ['134030']
[19:39:24][DEBUG] Starting new HTTPS connection (1): comicvine.gamespot.com:443
[19:39:24][DEBUG] https://comicvine.gamespot.com:443 "GET /api/issues/?format=json&api_key=2d394e39fb6067eaabf7b67e24188d7e71a62799&field_list=id%2Cissue_number%2Cname%2Ccover_date%2Cdescription%2Cvolume&filter=volume%3A134030 HTTP/1.1" 200 None
[19:39:24][DEBUG] Scanning for files for 195
[19:39:24][DEBUG] Extracting filename data: /comics/Buffy the Vampire Slayer Faith (2021)/Buffy the Vampire Slayer - Faith 001 (2021) (Digital) (Kileko-Empire).cbz
[19:39:24][DEBUG] Extracting filename data: {'series': 'Buffy the Vampire Slayer Faith', 'year': 2021, 'volume_number': 1, 'special_version': None, 'issue_number': 1.0, 'annual': False}
[19:39:24][INFO] Finished task Refresh And Scan
[19:39:24][DEBUG] Closing connection <DBConnection; Task Handler; 140309806142048>

@Casvt
Copy link
Owner

Casvt commented Nov 23, 2024

The volume and files for "Bone Orchard: Tenement" match fine for me:

[13:51:53][DEBUG] Extracting filename data: /home/cas/plex-media/Comics/Bone Orchard Tenement (2023)/Bone Orchard - Tenement 001 (2023) (Digital) (empire).cbr
[13:51:53][DEBUG] Extracting filename data: {'series': 'Bone Orchard Tenement', 'year': 2023, 'volume_number': 1, 'special_version': None, 'issue_number': 1.0, 'annual': False}
[13:51:53][DEBUG] Added file to the database: /home/cas/plex-media/Comics/Bone Orchard Tenement (2023)/Bone Orchard - Tenement 001 (2023) (Digital) (empire).cbr

Kapowarr correctly detects the file and correctly extracts the data from the filename. For you it does not pass the filter though, and for me it does. I'll try running on v1.0.0 to see if I can reproduce there (if so, the issue is already fixed).

The volume "Buffy the Vampire Slayer - Faith" is detected by Kapowarr as an TPB, while in fact it is a One Shot. If I edit the volume and change the Special Version to One Shot, the file matches. I'll improve the Special Version detection so that it correctly detects the volume as an One Shot, but for now you can just override it.

@Casvt Casvt moved this to Handled Soon in Kapowarr plans Nov 23, 2024
@Casvt Casvt moved this from Handled Soon to In Progress in Kapowarr plans Dec 9, 2024
@Casvt
Copy link
Owner

Casvt commented Dec 9, 2024

I've spun up an instance of Kapowarr v1.0.0 and added Bone Orchard: Tenement (2023) and Buffy the Vampire Slayer: Faith (2021) to the library. Then I created files with exactly the same filenames and they matched just fine to the volumes. As I mentioned before, Buffy needed to have it's Special Version overridden to One Shot but after that it matched just fine. Bone also matched fine, without having to do anything.

Can you please share debug logs of you doing a refresh and scan for Bone Orchard: Tenement?

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: In Progress
Development

No branches or pull requests

2 participants