Refactor movie playback and add clickability to stats

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-22 22:33:13 +00:00
co-authored by mathieumoran1
parent d98c802a40
commit c207a03f39
5 changed files with 70 additions and 32 deletions
+1
View File
@@ -151,6 +151,7 @@ router.get("/stats", verifyToken, async (req, res) => {
const movie = movieByImdbId.get(imdbId);
if (!movie) return null;
return {
movieId: movie?._id ? String(movie._id) : null,
imdb_id: movie.imdb_id,
title: movie.title || "",
poster: movie.poster || "",