package com.radiola.domain.model

enum class StationTestStatus {
    OK,           // Stream OK + has metadata (Icy or NowPlaying)
    OK_NO_META,   // Stream OK, no metadata
    OFFLINE,      // HTTP error / timeout / no response
    ERROR         // Other exception
}

data class StationTestResult(
    val stationId: Int,
    val stationName: String,
    val streamUrl: String,
    val status: StationTestStatus,
    val httpCode: Int? = null,
    val contentType: String? = null,
    val hasIcyMetadata: Boolean = false,
    val icyTitle: String? = null,
    val hasNowPlaying: Boolean = false,
    val nowPlayingTrack: String? = null,
    val errorMessage: String? = null
)
