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

Error "path gave a file that doesn't have a matching file location" #83

Open
1 task done
tgxiii opened this issue Dec 20, 2024 · 1 comment
Open
1 task done

Comments

@tgxiii
Copy link

tgxiii commented Dec 20, 2024

Jellyfin version.

10.10.13

Shokofin version.

5.0.0.0

Shoko Server version, release channel, and commit hash.

Version 5.0.0.92 (Dev, 5a1bc7f)

File structure of your Media Library Folder in Jellyfin/Import Folder in Shoko Server.

/data/anime/{Collection|Favorites}/{Series Name}/{various file names}.{extension}

Screenshot of the "library settings" section of the plugin settings.

image
image

image
image
image
image
image
image
image

Library Type(s).

Shows

Do the issue persists after creating a library with Shoko set as the only metadata provider? (Now is your time to check if you haven't already.)

  • Yes, I hereby confirm that the issue persists after creating a library with Shoko set as the only metadata provider.

Issue

Getting this error for what seems like every file:

[2024-12-19 21:52:35.525 -08:00] [ERR] [65] Shokofin.Providers.EpisodeProvider: Threw unexpectedly while refreshing "/data/anime/Favorites/Bleach/[DB] Bleach - 175- The Revenging Assassin, Ichigo i… [90E0D98E].avi": False
System.Exception: I have no idea how this happened, but the path gave a file that doesn't have a matching file location. See you in #support. (File=8038)
   at Shokofin.API.ShokoAPIManager.GetFileInfoByPath(String path)
   at Shokofin.Providers.EpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2024-12-19 21:52:35.526 -08:00] [ERR] [65] Shokofin.Providers.ImageProvider: Threw unexpectedly for Episode "Bleach - 175- The Revenging Assassin, Ichigo i…"; "I have no idea how this happened, but the path gave a file that doesn't have a matching file location. See you in #support. (File=8038)"
System.Exception: I have no idea how this happened, but the path gave a file that doesn't have a matching file location. See you in #support. (File=8038)
   at Shokofin.API.ShokoAPIManager.GetFileInfoByPath(String path)
   at Shokofin.API.ShokoAPIManager.TryGetEpisodeIdsForPath(String path, List`1& episodeIds)
   at Shokofin.API.ShokoAPIManager.TryGetEpisodeIdForPath(String path, String& episodeId)
   at Shokofin.IdLookup.TryGetEpisodeIdFor(String path, String& episodeId)
   at Shokofin.IdLookup.TryGetEpisodeIdFor(BaseItem item, String& episodeId)
   at Shokofin.Providers.ImageProvider.GetImages(BaseItem item, CancellationToken cancellationToken)

Stack Trace

No response

@revam
Copy link
Member

revam commented Dec 21, 2024

Pretty sure this is GitHub and not #support on our Discord, but here goes.

Can you send the API response for the file with id 8038? You can use curl or swagger. We have a guide for how to use swagger to auth and send requests (to reset the web ui) in our Discord, but I'm not going to send that here since I'm writing this on mobile rn.

If my suspicious is correct then it's because of path mappings being different for the '…' symbol (not three '.'s) between the Jellyfin host and Shoko Server host, making it so it can't be recognised, but confirming what the Shoko APIv3 returns will clarify if it is or not.

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

No branches or pull requests

2 participants