11 releases

0.1.14 Sep 14, 2023
0.1.13 Aug 15, 2023
0.1.5 Jul 28, 2023
0.1.3 May 3, 2021
0.1.1 Apr 7, 2021

#1676 in Network programming

Download history 7/week @ 2024-02-19 25/week @ 2024-02-26 286/week @ 2024-03-11 5/week @ 2024-03-18 138/week @ 2024-04-01

429 downloads per month
Used in vibe_player

MIT license

52KB
1.5K SLoC

slim-client-protocol-rs

A crate for the Slim protocol

The Slim Protocol is a TCP protocol for streaming audio files to a slim device.

This crate simplifies writing of a client for this protocol by providing a library that sends and receives messages to a slim server.

Supported Rust Versions

slim-client-protocol-rs is built against the latest stable release.

License

This project is licensed under the MIT license.


lib.rs:

Slim Protocol for Rust Clients

This library simplifies communicating with a Logitech Media Server, aka LMS, aka Slim Server.

Primarily, communicating with the server is done by instantiating a Server object, connecting to the LMS server and then reading from and writing to supplied connection objects. See SlimProto.

This library also provides a discover function to enable auto-discovery of LMS servers on the network and a StatusData struct to simplify the creation of the regular status messages the server requires.

In order to use this library it's a good idea to have studied the Slim TCP Protocol first so that this library makes sense.

Dependencies

~265–720KB
~11K SLoC