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

Seanime crashing when scanning library and encountering weird folder structure #7

Closed
Asylnn opened this issue Feb 12, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Asylnn
Copy link

Asylnn commented Feb 12, 2024

Seanime crashed when I scanned my library and it encountered a weird folder structure

To Reproduce
Here the folder structure that crashed Seanime

  • Shakugan No Shana
    • Shakugan No Shana I
      • Opening
      • Shakugan No Shana 01.mkv
      • ...

When I removed the Opening folder it could scan it perfectly

Expected behavior
Seanime not crashing and giving the user feedback on which folder structure cannot be scanned

Screenshots
Here the error I got
Screenshot_20240212_233716

Desktop:

  • OS: Arch Linux
  • Browser Firefox

Seanime:

  • Version 0.2.0

This is my first issue I write on github so please be indulgent ^^

@5rahim
Copy link
Owner

5rahim commented Feb 12, 2024

Thanks for pointing that out,
I think I see what the issue is but just to be sure I wanna know what files are under "Opening".
If it's what I think it is, as a temporary fix you could try renaming some of these files so they include the name of the series (if it's not already the case)

@5rahim 5rahim added bug Something isn't working good first issue Good for newcomers labels Feb 12, 2024
@Asylnn
Copy link
Author

Asylnn commented Feb 13, 2024

I just removed the folder and it worked fine.

I tried renaming that folder as it wasn't named "Opening" originally but it still crashed with this folder name. It's containing the opening and endings named :

-OP.mkv
-ED 01.mkv
-ED 02.mkv

@5rahim
Copy link
Owner

5rahim commented Feb 13, 2024

I was able to reproduce the error locally. The issue isn't related to the folder structure but incorrect title detection on my part. A fix is coming soon.

For now, you don't have to remove or rename the folder, just rename the files like this:

-Shakugan No Shana OP.mkv
-Shakugan No Shana ED 01.mkv
-Shakugan No Shana ED 02.mkv

@5rahim 5rahim mentioned this issue Feb 13, 2024
@5rahim 5rahim closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Released
Development

No branches or pull requests

2 participants