50 lines
804 B
Plaintext
50 lines
804 B
Plaintext
# Immich TV Viewer - V1
|
|
|
|
Projet cible :
|
|
|
|
D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
|
|
|
## Fichiers inclus
|
|
|
|
- lib/main.dart
|
|
- android/app/src/main/AndroidManifest.xml
|
|
- android/app/src/main/res/xml/network_security_config.xml
|
|
|
|
## Avant de lancer
|
|
|
|
Dans `lib/main.dart`, remplace :
|
|
|
|
```dart
|
|
const String immichApiKey = 'COLLE_TA_CLE_API_ICI';
|
|
```
|
|
|
|
par ta vraie clé API Immich locale.
|
|
|
|
L'URL serveur est déjà configurée :
|
|
|
|
```dart
|
|
const String immichBaseUrl = 'http://192.168.1.29:2283/api';
|
|
```
|
|
|
|
## Dépendance déjà ajoutée
|
|
|
|
Tu as déjà exécuté :
|
|
|
|
```powershell
|
|
flutter pub add http
|
|
```
|
|
|
|
## Test Windows
|
|
|
|
```powershell
|
|
cd D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
|
flutter run -d windows
|
|
```
|
|
|
|
## Test Google TV / Android TV
|
|
|
|
```powershell
|
|
flutter devices
|
|
flutter run -d TON_DEVICE_ANDROID
|
|
```
|