Files
iptv-android-tv-2/README_UPDATE_LOGOS.md

30 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Mise à jour logos chaînes
Cette mise à jour ajoute l’affichage des logos de chaînes fournis par Xtream via le champ `stream_icon`.
## Changements
- Affichage du logo dans chaque ligne de chaîne.
- Fallback automatique avec initiales si le logo est absent ou impossible à charger.
- Affichage du logo dans l’overlay du lecteur avec le nom de la chaîne et la résolution.
- Ajout de Coil 3 pour charger les images distantes.
## Fichiers modifiés
- `app/build.gradle.kts`
- `app/src/main/java/ma/tkgraph/xtreamtv/MainActivity.kt`
- `app/src/main/java/ma/tkgraph/xtreamtv/ui/screens/HomeScreen.kt`
- `app/src/main/java/ma/tkgraph/xtreamtv/ui/screens/PlayerScreen.kt`
- `app/src/main/java/ma/tkgraph/xtreamtv/ui/components/ChannelLogo.kt`
## Installation
```powershell
cd "D:\07-Logiciels\11-IPTV Andoid TV 2"
Expand-Archive -Path "$env:USERPROFILE\Downloads\xtream-google-tv-player-logos-update.zip" -DestinationPath "D:\07-Logiciels\11-IPTV Andoid TV 2" -Force
.\gradlew.bat clean --no-daemon
.\gradlew.bat :app:assembleDebug --no-daemon
adb install -r ".\app\build\outputs\apk\debug\app-debug.apk"
adb shell am start -n ma.tkgraph.xtreamtv/.MainActivity
```