2024-01-28 20:18:18 +03:00
|
|
|
# lonelyradio
|
|
|
|
|
|
|
|
> TCP radio for singles
|
|
|
|
|
2024-03-14 20:50:01 +03:00
|
|
|
Radio that uses unencrypted TCP socket for broadcasting tagged audio data.
|
2024-01-28 20:18:18 +03:00
|
|
|
|
|
|
|
Decodes audio streams using [symphonia](https://github.com/pdeljanov/Symphonia).
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cargo build -r
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
```
|
2024-01-29 19:58:20 +03:00
|
|
|
lonelyradio [-a <ADDRESS:PORT>] <MUSIC_FOLDER> [-p] [-w]
|
2024-01-28 20:18:18 +03:00
|
|
|
```
|
|
|
|
|
2024-03-04 16:15:15 +03:00
|
|
|
All files (recursively) will be shuffled and played back. Public log will be displayed to stdout, private to stderr.
|
2024-01-28 20:18:18 +03:00
|
|
|
|
|
|
|
### Clients
|
|
|
|
|
2024-03-15 18:31:06 +03:00
|
|
|
[monoclient](./monoclient) is a recommended CLI client for lonelyradio that uses [monolib](./monolib)
|
2024-02-25 15:40:23 +03:00
|
|
|
|
|
|
|
```shell
|
2024-03-13 20:48:10 +03:00
|
|
|
monoclient <SERVER>:<PORT>
|
2024-01-28 20:18:18 +03:00
|
|
|
```
|
|
|
|
|
2024-03-04 16:15:15 +03:00
|
|
|
### Other clients
|
|
|
|
|
2024-03-14 20:50:01 +03:00
|
|
|
SwiftUI client is availible in [platform](./platform) directory.
|
2024-03-04 16:15:15 +03:00
|
|
|
|
2024-03-15 18:31:06 +03:00
|
|
|
[monolib](./monolib) provides lonelyradio-compatible C API for creating custom clients.
|
|
|
|
|
2024-01-28 20:18:18 +03:00
|
|
|
## License
|
|
|
|
|
2024-02-25 15:40:23 +03:00
|
|
|
lonelyradio and monoclient are licensed under the terms of the [MIT license](./LICENSE).
|