fix: related movies

This commit is contained in:
Cory Dransfeldt 2024-11-01 07:00:31 -07:00
parent 02789dc47c
commit 82e82d459a
No known key found for this signature in database

View file

@ -32,6 +32,12 @@ const generateAssociatedMediaHTML = (data, isGenre = false) => {
category: "movies", category: "movies",
title: "Related Movie(s)", title: "Related Movie(s)",
}, },
{
key: "related_movies",
icon: "film",
category: "movies",
title: "Related Movie(s)",
},
{ {
key: "shows", key: "shows",
icon: "deviceTvOld", icon: "deviceTvOld",
@ -92,6 +98,7 @@ const generateAssociatedMediaHTML = (data, isGenre = false) => {
return `<li><a href="${url}">${name}</a>${totalPlays}</li>`; return `<li><a href="${url}">${name}</a>${totalPlays}</li>`;
} else if ( } else if (
key === "movies" || key === "movies" ||
key === "related_movies" ||
key === "shows" || key === "shows" ||
key === "related_shows" key === "related_shows"
) { ) {