tunein-cli 0.4.1

Browse and listen to thousands of radio stations across the globe right from your terminal 🌎 📻 🎵✨
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .out_dir("src/api")
        .file_descriptor_set_path("src/api/descriptor.bin")
        .compile_protos(
            &[
                "proto/objects/v1alpha1/category.proto",
                "proto/objects/v1alpha1/station.proto",
                "proto/tunein/v1alpha1/browse.proto",
                "proto/tunein/v1alpha1/playback.proto",
            ],
            &["proto"],
        )?;
    Ok(())
}