diff --git a/client/src/routes/TvShows.svelte b/client/src/routes/TvShows.svelte index e7f836c..c7ec6c4 100644 --- a/client/src/routes/TvShows.svelte +++ b/client/src/routes/TvShows.svelte @@ -1184,7 +1184,7 @@ async function openVideoAtIndex(index) { .tv-overlay-content { position: relative; width: min(1040px, 94vw); - max-height: 90vh; + max-height: 95vh; border-radius: 20px; overflow: hidden; background: rgba(12, 12, 12, 0.5); @@ -1222,7 +1222,7 @@ async function openVideoAtIndex(index) { } .detail-poster { - flex: 0 0 230px; + flex: 0 0 183px; } .detail-poster-img { @@ -1363,7 +1363,7 @@ async function openVideoAtIndex(index) { display: flex; flex-direction: column; gap: 14px; - max-height: 260px; + max-height: 520px; overflow-y: auto; padding-right: 6px; padding-left: 2px; @@ -1691,11 +1691,11 @@ async function openVideoAtIndex(index) { } .detail-poster { - flex: 0 0 200px; + flex: 0 0 72px; } .episode-list { - max-height: 240px; + max-height: 440px; } } @@ -1716,7 +1716,7 @@ async function openVideoAtIndex(index) { } .detail-poster { - flex: 0 0 160px; + flex: 0 0 58px; } .detail-title { @@ -1732,7 +1732,7 @@ async function openVideoAtIndex(index) { } .episode-list { - max-height: 200px; + max-height: 360px; gap: 12px; } @@ -1789,7 +1789,7 @@ async function openVideoAtIndex(index) { } .detail-poster { - flex: 0 0 120px; + flex: 0 0 43px; } .detail-title { @@ -1817,7 +1817,7 @@ async function openVideoAtIndex(index) { } .episode-list { - max-height: 180px; + max-height: 320px; gap: 10px; } diff --git a/server/server.js b/server/server.js index 9923d07..a37bb75 100644 --- a/server/server.js +++ b/server/server.js @@ -2998,6 +2998,22 @@ async function ensureSeriesData( } } + if (!seriesData && candidateKeys.length) { + for (const key of candidateKeys) { + const candidatePaths = tvSeriesPathsByKey(key); + if (!fs.existsSync(candidatePaths.metadata)) continue; + try { + seriesData = JSON.parse(fs.readFileSync(candidatePaths.metadata, "utf-8")) || {}; + existingPaths = candidatePaths; + break; + } catch (err) { + console.warn( + `⚠️ series.json okunamadı (${candidatePaths.metadata}): ${err.message}` + ); + } + } + } + const legacyPaths = tvSeriesPaths(normalizedRoot); if (!seriesData && fs.existsSync(legacyPaths.metadata)) { try {