feat: add trailers and extras support

Adds support for viewing and playing trailers and bonus content from Plex.

- Add getExtras() API method to fetch extras from Plex
- Add trailer/extras metadata fields (subtype, extraType, primaryExtraKey)
- Add play trailer button with film reel icon on media detail screen
- Add "Trailers & Extras" section below cast with horizontal scroll
- Support offline mode via cache fallback
- Preserve serverId/serverName for multi-server setups
This commit is contained in:
Matt Vogel
2026-02-15 15:09:45 -05:00
parent 04438c8e45
commit 0bbcd854e4
24 changed files with 674 additions and 1166 deletions
+2
View File
@@ -274,6 +274,7 @@
},
"tooltips": {
"shufflePlay": "Lecture aléatoire",
"playTrailer": "Lire la bande-annonce",
"markAsWatched": "Marqué comme vu",
"markAsUnwatched": "Marqué comme non vu"
},
@@ -420,6 +421,7 @@
"playEpisode": "S${season}E${episode}",
"overview": "Aperçu",
"cast": "Cast",
"extras": "Bandes-annonces et Extras",
"seasons": "Saisons",
"studio": "Studio",
"rating": "Évaluation",