Import depuis Letterboxd, TV Time, MyAnimeList et AniList

Réglages → Sauvegarde → « Importer depuis une autre app » ouvre un assistant :
choix de la source, instructions pour obtenir l'export, dépôt du fichier
(ZIP, CSV, XML ou XML.gz) ou nom d'utilisateur AniList, recherche des
fiches avec barre de progression annulable, aperçu (films / séries /
animes, nouvelles fiches, fiches complétées, non trouvés consultables),
fusion puis résumé.

- Lecture locale sans dépendance : mini-lecteur ZIP + DecompressionStream
  (deflate-raw / gzip), lecteur CSV tolérant, DOMParser pour MAL ; tailles
  bornées (anti zip bomb).
- Letterboxd : vus, notes (½ étoile → /10), journal (date de visionnage +
  revisionnages), avis, envies, coups de cœur.
- TV Time : colonnes détectées par nom ; séries suivies + épisodes vus →
  progression (saisons TMDB), archivées → abandonnées ; ID TVDB via
  TMDB /find (repli sur la recherche par titre).
- MAL : statuts, épisodes, note /10, dates ; résolu sur AniList par lots
  de 50 idMal. AniList : MediaListCollection public (score POINT_100).
- Correspondance TMDB par titre + année (titre traduit toléré), cache
  local des correspondances, 4 requêtes en parallèle, débit étalé avec
  un compte (proxy 600 req / 10 min) et reprise automatique sur 429.
- Fusion : pas de doublon (référence, même film, autre saison), saisons
  AniList regroupées en une fiche ; on complète sans jamais écraser, le
  statut / la progression n'avancent que si l'activité importée est plus
  récente.
- Proxy TMDB : chemin /find/{id} et paramètre external_source autorisés.
- i18n : clés import.* dans les 18 langues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-09 15:18:28 +00:00
1 parent c246b16e7e
commit 945ee32200
26 files changed
+2468 -3

No files matched your search

+47
View File
@@ -897,6 +897,53 @@ const dict: Translations = {
'sync.pending_one': "{count} change waiting",
'sync.pending_other': "{count} changes waiting",
'sync.now': "Sync now",
// — Import depuis d'autres applis —
'import.row': "Import from another app",
'import.rowHint': "Letterboxd, TV Time, MyAnimeList, AniList",
'import.title': "Import my library",
'import.chooseSource': "Where are your titles coming from?",
'import.src.letterboxd': "Films, ratings, diary, watchlist and likes",
'import.src.tvtime': "Followed shows and watched episodes",
'import.src.mal': "Anime list (XML export)",
'import.src.anilist': "Public anime list, by username",
'import.how': "Getting the export",
'import.steps.letterboxd': "On letterboxd.com, open Settings → Import & Export → Export your data.\nYou get a ZIP file: drop it here as is (or its CSV files).",
'import.steps.tvtime': "In TV Time, request a copy of your data (Settings → Privacy, or support “Request my data”).\nDrop the ZIP you received by email here, or its CSV files.",
'import.steps.mal': "On myanimelist.net, open your profile → Export (Anime List) → Export My List.\nDrop the downloaded .xml.gz file here (or the .xml).",
'import.steps.anilist': "Your AniList list must be public (Settings → Lists).\nEnter your username: no sign-in needed.",
'import.drop': "Choose or drop the file",
'import.privacy': "The file is read on your device: only titles are looked up online.",
'import.userName': "AniList username",
'import.continue': "Continue",
'import.back': "Back",
'import.reading': "Reading the file…",
'import.resolving': "Finding titles…",
'import.progress': "{done} / {total}",
'import.rateWait': "Request limit reached, resuming in {s} s…",
'import.cancel': "Cancel",
'import.noTmdb': "Without TMDB, films and shows cannot be recognised: add a key in Settings → Databases (or sign in), or import them without posters.",
'import.found': "Titles read from the export: {n}",
'import.new': "New entries",
'import.toUpdate': "Entries completed",
'import.already': "Already up to date",
'import.notFound': "Not found",
'import.showNotFound': "Show titles not found",
'import.hideNotFound': "Hide the list",
'import.includeUnmatched': "Also add titles not found (without poster)",
'import.mergeHint': "Nothing is overwritten: your newer ratings, statuses and dates are kept, and no duplicates are created.",
'import.confirm': "Import ({n})",
'import.importing': "Importing…",
'import.nothing': "Nothing new to import.",
'import.done': "Import complete",
'import.doneAdded': "Added",
'import.close': "Done",
'import.err.tooBig': "File too large.",
'import.err.badZip': "Unreadable ZIP archive.",
'import.err.encrypted': "Password-protected archive: it cannot be read.",
'import.err.unsupported': "Your browser cannot decompress this file: drop the uncompressed CSV / XML files instead.",
'import.err.read': "File not recognised for this source.",
'import.err.empty': "No titles found in this file.",
'import.err.user': "AniList user not found, or the list is private.",
}
export default dict