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

[Issue]: Re-identifying media fails #12023

Open
1 task done
solidsnake1298 opened this issue Jun 7, 2024 · 9 comments
Open
1 task done

[Issue]: Re-identifying media fails #12023

solidsnake1298 opened this issue Jun 7, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@solidsnake1298
Copy link
Member

Please describe your bug

When media is incorrectly identified and I attempt to provide the correct TMDB ID it fails to apply the new image and only the blur hash is shown.

Reproduction Steps

  1. Go to any media that is identified, correctly or not.
  2. Open identify function
  3. Provide new TMDB ID

Jellyfin Version

10.9.0

if other:

10.9.6

Environment

- OS: Ubuntu 24.04
- Linux Kernel: 6.8.0-35-generic
- Virtualization: n/a
- Clients: Web
- Browser: Google Chrome
- FFmpeg Version: 6.0.1-7
- Playback Method: n/a
- Hardware Acceleration: Intel QSV
- GPU Model: Intel Arc A380
- Plugins: N/A
- Reverse Proxy: Nginx
- Base URL: n/a
- Networking: n/a
- Storage: NVMe for OS/Jellyfin, HDD RAIDZ1 for library

Jellyfin logs

[2024-06-07 19:26:17.276 +00:00] [INF] Setting provider id's to item e97948ce-98f7-cb30-2217-5e9804532a35-"Your Name.": [("Tmdb": "372058"), ("Imdb": "tt5311514")]
[2024-06-07 19:26:17.289 +00:00] [ERR] Error processing request: "Directory not empty : '/var/lib/jellyfin/metadata/library/e9/e97948ce98f7cb3022175e9804532a35'". URL "POST" "/Items/RemoteSearch/Apply/e97948ce98f7cb3022175e9804532a35".
[2024-06-07 19:27:26.559 +00:00] [INF] WS "Client WAN" closed
[2024-06-07 19:27:27.859 +00:00] [INF] WS "Client WAN" request
[2024-06-07 19:27:28.397 +00:00] [INF] Creating image collage and saving to "/var/cache/jellyfin/temp/cf9a6fde1b364215848daa9a3197a083.png"
[2024-06-07 19:27:28.851 +00:00] [INF] Completed creation of image collage and saved to "/var/cache/jellyfin/temp/cf9a6fde1b364215848daa9a3197a083.png"
[2024-06-07 19:27:30.590 +00:00] [ERR] Error processing request: "Could not find file '/var/lib/jellyfin/metadata/library/e9/e97948ce98f7cb3022175e9804532a35/poster.jpg'". URL "GET" "/Items/e97948ce98f7cb3022175e9804532a35/Images/Primary".
[2024-06-07 19:27:43.864 +00:00] [ERR] Error processing request: "Could not find file '/var/lib/jellyfin/metadata/library/e9/e97948ce98f7cb3022175e9804532a35/poster.jpg'". URL "GET" "/Items/e97948ce98f7cb3022175e9804532a35/Images/Primary".

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

Capture

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Shadowghost
Copy link
Contributor

Can you test if #12025 fixes your issue?

@solidsnake1298
Copy link
Member Author

Can you test if #12025 fixes your issue?

Is this something I can integrate into my docker install? I'd rather not run it in my production install (via apt). My test instance is in docker and also exhibits this issue.

@jellyfin-bot jellyfin-bot added this to Needs triage in Issue Triage for Main Repo Jun 7, 2024
@Blackskyliner
Copy link
Contributor

I think you would need to clone https://github.com/jellyfin/jellyfin-packaging and modify the submodule which points to jellyfin/jellyfin by adding Shadowghosts repository as remote there and checkout the branch of the related PR. Then follow the rest of the build instructions to generate an docker image with the change.

@solidsnake1298
Copy link
Member Author

Can you test if #12025 fixes your issue?

Your branch does not appear to resolve this issue. The logs are identical.

[2024-06-07 22:42:39.237 -04:00] [INF] [8] Jellyfin.Api.Controllers.ItemLookupController: Setting provider id's to item 65384a37-6f18-8367-ea5b-52453300f439-"Fireworks": [("Tmdb": "431819"), ("Imdb": "tt6317962")]
[2024-06-07 22:42:39.240 -04:00] [ERR] [8] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Directory not empty : '/home/chris/.local/share/jellyfin/metadata/library/65/65384a376f188367ea5b52453300f439'". URL "POST" "/Items/RemoteSearch/Apply/65384a376f188367ea5b52453300f439".

@solidsnake1298
Copy link
Member Author

The latest commit to your branch appears to have resolved the problem. For movies there are zero issues. And with shows, practically speaking there are no issues. As in the image is replaced and metadata updated. But I see this error when I re-identify shows.

[2024-06-08 21:32:07.099 -04:00] [INF] [41] Jellyfin.Api.Controllers.ItemLookupController: Setting provider id's to item decfdb86-e546-cd38-0220-52c54589e023-"Armitage III OVA 1-4": [("Tmdb": "69980"), ("Imdb": "tt0366186"), ("Tvdb": "81997")]
[2024-06-08 21:32:08.935 -04:00] [ERR] [41] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Could not find a part of the path '/media/library/Anime/Armitage III OVA 1-4/Season 01/metadata'". URL "POST" "/Items/RemoteSearch/Apply/decfdb86e546cd38022052c54589e023".
[2024-06-08 21:33:55.356 -04:00] [INF] [50] Jellyfin.Api.Controllers.ItemLookupController: Setting provider id's to item 8de12431-e564-adb6-4293-b5d0a3eaa431-"Crayon Shin-chan Spin-off": [("Tmdb": "255536"), ("Imdb": "tt0245612")]
[2024-06-08 21:33:56.895 -04:00] [ERR] [50] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Could not find a part of the path '/media/library/Anime/Crayon Shin-chan/Season 02/metadata'". URL "POST" "/Items/RemoteSearch/Apply/8de12431e564adb64293b5d0a3eaa431".

@Shadowghost
Copy link
Contributor

Shadowghost commented Jun 9, 2024

Updated the PR again to not try removing non-existing directories.

@solidsnake1298
Copy link
Member Author

Updated the PR again to not try removing non-existing directories.

Your latest commit appears to have resolved the previous ERR.

@Shadowghost
Copy link
Contributor

So everything working now?

@solidsnake1298
Copy link
Member Author

Yes. No issues re-identifying media. No errors messages.

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: No status
Development

No branches or pull requests

3 participants