mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Manually created studios error when trying to view their videos #6326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ricketyboo on GitHub (Oct 5, 2024).
This issue respects the following points:
Description of the bug
When adding a studio via the metadata editor or via nfo metadata it seems to be skipping some step that makes the Studio link actually work to show the full list of studio works. It seems to use this to show "more like this" but does not seem to correctly whatever is needed to display the aggregated studio view.
Reproduction steps
What is the current bug behavior?
Spinning blue circle and nothing loads.
What is the expected correct behavior?
Should see a list of videos related to the studio same as when a studio has been created via metadata integrations
Jellyfin Server version
10.9.11+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.9.11
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
404 when trying to load the studio item which then goes into an uncaught error.
Relevant screenshots or videos
No response
Additional information
I suspect it's similar to https://github.com/jellyfin/jellyfin/issues/12500 with Genres.
There is no studio folder created in
/var/lib/jellyfin/metadata/Studio/One of my attempts to create a manual studio did result in an entry appearing in the library.db TypedBaseItems table; but I'm not sure why that one was created; but none of the others were. Regardless of it's existence in the DB, it still results in the broken page load.
Update:
When the Admin > Dashboard > scheduled tasks > scan media library runs(manual or automatic), it creates the missing studio entries, and links them to their relevant content as expected. The studio link then works.
@ricketyboo commented on GitHub (Oct 5, 2024):
Spent some time stepping through the metadata save logic and the API response from the User Items endpoint. Had to step away abruptly and now I'm trying to update from memory, so this may be slightly vague, but:
The studio does get saved to the database in the ItemValues table, with a guid reference to the video, a magic number "type" of 3, and the string value and a sanitised string value. The studio does not have its own guid anywhere.
The Id that is used to studioId on the controller when loading video metadata that result in a 404 is being generated by a method that uses the filepath of the metadata/Studio/{studio name} to create an id. Presumably the expectation is that something should exist in that folder, which is not created during manual adds, but is created during fetcher provider saving.
The next thing I'll look at when I get some time is what the format of the working studios is, and see if there's a clean place to create the same structures via manual creation/NFO import
@ricketyboo commented on GitHub (Oct 7, 2024):
I found a workaround; When the Admin > Dashboard > scheduled tasks > scan media library runs(manual or automatic), it creates the missing studio entries, and links them to their relevant content as expected. The studio link then works without a 404.
@jellyfin-bot commented on GitHub (Feb 5, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Feb 26, 2025):
This issue was closed due to inactivity.