abc6b47ffb1fc4be19ef7808069e74ecd26f40f3
The app was cancelling its own foreground service each time the source changed. _recrearPlayer builds a fresh AudioPlayer, which emits idle first; audio_service treats any non-idle to idle transition as a stop and cancels the notification. Recovery then depends on startForegroundService, which throws on API 31+ when the process is not foreground -- screen off, lock screen, or an Android Auto start. - Suppress the transient idle only while a source change is in flight, via a pure mapearEstadoProceso seam so both directions are unit-tested - Publish idle explicitly from stop(): just_audio's playerStateStream is .distinct() over a value-equal PlayerState, so stopping an already-idle player emits nothing, which would have left the state stuck at loading and the notification unkillable - Subscribe to AudioService.asyncError, which had zero listeners and was silently swallowing the exception that identifies this class of failure This removes a real self-inflicted teardown on every API level. It does NOT prove the reported symptom is fixed: the audio path is byte-identical across the releases where the symptom appeared, so the trigger is environmental and still unidentified. Tests: 1084 -> 1103.
PluriWave
Radio mundial con ecualizador personalizable, reconocimiento de canciones y UI premium.
Features
- +53.000 emisoras de 238 países (Radio Browser API)
- Ecualizador por emisora — guarda tu preset favorito para cada radio
- Reconocimiento de canciones — "¿Qué suena?" sin salir de la app
- Timer de auto-apagado — perfecto para dormir
- Reproducción en segundo plano — sigue sonando con la pantalla apagada
- Favoritos — acceso rápido a emisoras preferidas
- Compartir — envía emisoras a tus amigos
- UI premium — Material You, visualizador de audio, animaciones fluidas
Monetización
- 14 días PRO gratis al instalar
- Free: radio + favoritos + timer + background (con ads)
- PRO €2.99/año: sin ads + ecualizador + reconocimiento ilimitado
Stack
- Frontend: Flutter (Android + iOS)
- Radio API: Radio Browser (gratis, +53K emisoras)
- Audio: just_audio + audio_service
- Ecualizador: just_audio equalizer (Android nativo)
- Reconocimiento: AudD API (1000 req/mes free)
- Ads: Google AdMob
- Compras: in_app_purchase
CI/CD
Workflow Gitea Actions en .gitea/workflows/ci.yml, runner macmini-flutter.
Jobs: flutter pub get → flutter test → build apk --release → build appbundle --release
Artifacts: APK y AAB guardados en Gitea con nombre pluriwave-apk-<sha> / pluriwave-aab-<sha>.
Notificaciones: Telegram al completar (éxito ✅ / fallo ❌).
Secrets necesarios en el repo:
| Secret | Uso |
|---|---|
TELEGRAM_BOT_TOKEN |
Notificaciones CI |
TELEGRAM_CHAT_ID |
Canal de destino |
Signing: build de release usa clave debug (válido para CI interno). Para Play Store se requiere keystore como secret adicional.
Desarrollador
FreeTimeLab — freetimelab.es
Licencia
MIT
Description
PluriWave — Radio mundial con ecualizador, reconocimiento de canciones y UI premium
49 MiB
Languages
Dart
86%
HTML
7.1%
Kotlin
5.1%
JavaScript
1.6%
Swift
0.1%