Initial upload: immich-tv-viewer

This commit is contained in:
Abderrahim-Mouhcine
2026-08-16 19:57:59 +01:00
commit 613017c870
180 changed files with 11728 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
# Immich TV Viewer - V2.3.4 Photos All Pages
Projet cible :
D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
## Fichiers modifiés / ajoutés
- lib/main.dart
- tools/immich_count_all_photos.ps1
- android/app/src/main/kotlin/com/example/immich_tv_viewer/MainActivity.kt
- README_V2_3_4_PHOTOS_ALL_PAGES.txt
## Correction
La rubrique Photos était encore limitée à :
```dart
ImmichApi.getAllTimelinePhotos(maxPages: 8)
```
Donc elle affichait environ :
```text
8 pages × 250 = 2000 photos
```
Alors que Surprends-moi chargeait toutes les pages.
Maintenant :
```dart
ImmichApi.getAllTimelinePhotos()
```
est utilisé dans Photos et Surprends-moi.
## Résultat attendu
- Photos doit afficher le même ordre de grandeur que Surprends-moi
- Si Surprends-moi affiche 13000+, Photos doit afficher 13000+ aussi
## Script manuel pour compter les photos
```powershell
cd D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
$env:IMMICH_KEY = "TA_CLE_API"
powershell -ExecutionPolicy Bypass -File .\tools\immich_count_all_photos.ps1
```
## Important
Dans `lib/main.dart`, remplace :
```dart
const String immichApiKey = 'COLLE_TA_CLE_API_ICI';
```
par ta vraie clé API.
## Installation / test
```powershell
cd D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
flutter run -d 192.168.1.8:5555
```