use std::collections::HashMap;

use once_cell::sync::Lazy;

#[derive(Clone)]
pub struct PoliceStreamInfo {
    pub name: &'static str,
    pub stream_url: &'static str,
    pub location: &'static str,
}

pub static POLICE_STREAMS: Lazy<HashMap<&'static str, PoliceStreamInfo>> = Lazy::new(|| {
    let mut police_streams_map = HashMap::new();
    police_streams_map.insert(
        "chicago.police",
        PoliceStreamInfo {
            name: "Chicago Police",
            // https://www.broadcastify.com/webPlayer/37361
            stream_url: "https://listen.broadcastify.com/f6jrv8hnq2csb5z.mp3",
            location: "Chicago, IL",
        },
    );
    police_streams_map
});
