feat: intégration TMDB — poster, backdrop, lien fiche
Docker / docker (push) Successful in 1m21s

- tmdb.py : recherche TMDB par title+subtitle, matching fuzzy,
  cache SQLite 30 jours (table tmdb_cache dans arte_dl.db)
- arte_api.py : enrichissement concurrent (5 workers) après résolution
  des IDs ; ajoute tmdb_id, tmdb_poster, tmdb_backdrop au concert
- app.js : backdrop TMDB utilisé comme thumbnail de carte quand dispo ;
  subtitle affiché sous le titre de carte ; poster dans la modal ;
  lien direct vers la fiche TMDB
- docker-compose.yml : passage de TMDB_API_KEY au container

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
dev
2026-04-26 13:15:27 +02:00
parent 16736e2e7a
commit 9a5e356238
6 changed files with 195 additions and 7 deletions
+31 -2
View File
@@ -337,6 +337,16 @@ body {
overflow: hidden;
}
.card-subtitle {
margin-top: 3px;
font-size: 11.5px;
color: var(--gold);
letter-spacing: 0.02em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-date {
margin-top: 6px;
font-size: 11.5px;
@@ -483,6 +493,26 @@ body {
background: linear-gradient(to bottom, transparent 50%, var(--surface) 100%);
}
.modal-head {
display: flex;
align-items: flex-start;
gap: 14px;
margin-bottom: 14px;
}
.modal-head-text { flex: 1; min-width: 0; }
.modal-poster {
width: 64px;
flex-shrink: 0;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(0,0,0,0.5);
object-fit: cover;
margin-top: 2px;
}
.modal-poster[hidden] { display: none; }
.modal-duration-badge {
position: absolute;
bottom: 12px; right: 12px;
@@ -505,14 +535,13 @@ body {
font-size: 22px;
font-weight: 700;
line-height: 1.3;
margin-bottom: 8px;
margin-bottom: 6px;
}
.modal-meta {
font-size: 12.5px;
color: var(--gold);
letter-spacing: 0.04em;
margin-bottom: 14px;
}
.modal-desc {