Added parent-child relations to network, showing parent network in sidebar. Added Burning Angel using Gamma API.
This commit is contained in:
@@ -291,6 +291,8 @@ function accumulateActors(releases) {
|
||||
const actorName = actor.name ? actor.name.trim() : actor.trim();
|
||||
const actorSlug = slugify(actorName);
|
||||
|
||||
if (!actorSlug) return;
|
||||
|
||||
if (!acc[actorSlug]) {
|
||||
acc[actorSlug] = {
|
||||
name: actorName,
|
||||
@@ -348,8 +350,8 @@ async function storeReleaseAssets(releases) {
|
||||
associateMedia(releaseCoversById, covers, 'release', 'cover'),
|
||||
]);
|
||||
|
||||
const photos = await storeMedia(Object.values(releasePhotosById).flat(), 'release', 'photo');
|
||||
await associateMedia(releasePhotosById, photos, 'release', 'photo');
|
||||
// const photos = await storeMedia(Object.values(releasePhotosById).flat(), 'release', 'photo');
|
||||
// await associateMedia(releasePhotosById, photos, 'release', 'photo');
|
||||
|
||||
// videos take a long time, fetch last
|
||||
const [trailers, teasers] = await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user