mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Adding a studio safety check
This commit is contained in:
parent
a2b518a397
commit
3fc032c0a1
@ -148,6 +148,8 @@ namespace Kyoo.Controllers
|
||||
return existing ?? x;
|
||||
});
|
||||
show.ExternalIDs = _libraryManager.ValidateExternalIDs(show.ExternalIDs);
|
||||
if (show.Studio != null)
|
||||
show.Studio = _libraryManager.GetStudioBySlug(show.Studio.Slug) ?? show.Studio;
|
||||
await _thumbnailsManager.Validate(show);
|
||||
return show;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user