# Tjockfet MP3 Player (Android)

Android-app i Kotlin som:
- hamtar alla mp3-lankar fran `https://tjockfet.se/system/mp3.txt`
- visar latlista med sok
- spelar valfri lat (play/pause, nasta/foregaende, seek)

## Projekt
- Paket: `se.tjockfet.player`
- Entrypoint: `app/src/main/java/se/tjockfet/player/MainActivity.kt`
- Datakalla: `app/src/main/java/se/tjockfet/player/TjockfetRepository.kt`

## Krav
- JDK 21
- Android SDK + Build Tools installerade
- `adb` for installation pa telefon

## Bygg
1. Satt SDK-path i `local.properties`:

```properties
sdk.dir=/path/to/Android/Sdk
```

2. Bygg debug-APK:

```bash
cd /root/tjockfet-player
./gradlew :app:assembleDebug
```

APK skapas da i:
`/root/tjockfet-player/app/build/outputs/apk/debug/app-debug.apk`

## Installera pa telefon
1. Aktivera USB-debugging pa Android.
2. Anslut telefonen och verifiera:

```bash
adb devices
```

3. Installera appen:

```bash
adb install -r /root/tjockfet-player/app/build/outputs/apk/debug/app-debug.apk
```

## Kommentar
Innehallet streamas direkt fran tjockfet.se; appen lagrar inte hela biblioteket lokalt.
