kenku_control 0.1.1

A library for manage Kenku FM using Kenku Remote
Documentation

Kenku Control

Build Status License

Kenku Control is a library for controlling Kenku FM. It provides a set of functions and utilities to interact with the Kenku Remote.

Features

  • List all tracks and sounds in your kenku.
  • Control the playback state.
  • individual controll of the medias and the folders.

Usage

Here's an example of how to use Kenku Control in your Rust code:

#[tokio::main]
async fn main() {
    let ip = "127.0.0.1".to_string();
    let port = "3333".to_string();

    let controller = Controller::new(ip, port);
    let playlists = controller.get_playlist().await.unwrap();
    
    for track in playlists.tracks {
        let status = track.play(&controller).await.unwrap();
        println!("{status:#?}");
    }
}

Make sure you have a Kenku Remote Online in your computer before running the code.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.