zoriya / Kyoo

A portable and vast media library solution.
https://kyoo.zoriya.dev
GNU General Public License v3.0
1.32k stars 29 forks source link

Missing shows when scanner cannot guess title? #455

Closed Eidenz closed 2 months ago

Eidenz commented 2 months ago

Kyoo's version

v4.5.0

What happened?

As the title says, a lot of my shows are not showing up at all in the UI, and I can see them in the Scanner logs with "Could not guess title".

For example: Could not guess title, found: ['86', 'Eighty Six']. About half my animes are missing to tell how common it seems to be on my end?

zoriya commented 2 months ago

Can you show me an example of your paths? It should be an easy fix with a repo.

Eidenz commented 2 months ago

Here are two examples that could not be guessed.

/video/Anime/86 - Eighty Six/Season 1/... /video/Anime/Frieren - Beyond Journey's End/Season 1/...

Filenames of actual episodes are inconsistent depending on the source. But the folders always have the name of the show and which season as you can see. This folder structure is typical behavior of *Arr services.

zoriya commented 2 months ago

Please give a complete path with filename. I could test with my assumptions but I can be sure to correct your case if I have the complete filename (only one or two examples are needed).

Eidenz commented 2 months ago

/video/Anime/Frieren - Beyond Journey's End/Season 1/Frieren Beyond Journeys End S01E08 Frieren the Slayer 1080p AMZN WEB-DL DDP2.0 H 264-VARYG (Sousou no Frieren, Multi-Subs).mkv /video/Anime/86 - Eighty Six/Season 1/86 - Eighty Six - S01E01 - Undertaker WEBDL-1080p.mkv

zoriya commented 2 months ago

I pushed a fix, please report back if you have other issues.

Eidenz commented 2 months ago

I have found a couple more issues related to this.

  1. Kyoo could not find the episode despite it existing and having an absolute number too (244377): image image

  2. It seems some shows still can't be found despite latest PR patch: image image

zoriya commented 2 months ago

The first issue, themoviedb returned the Oshi no Ko drama and not the anime x(. Will look into fixing that, but that may be tricky since they have the same names.

The second issue is because TheMovieDb has stored everything in a single season. Does the S02 naming for Jujustu works on jellyfin?

Eidenz commented 2 months ago

Yes, it detects correctly in Jellyfin. Everything I mentioned here so far doesn't occur in Jellyfin, which has a 100% detection rate on my stuff. Jellyfin is known to integrate well with Arr services, so they might have special tweak with folder structures when it can't rely on DB? I also added the following to it: image