Initial upload: immich-tv-viewer
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user