mirror of
https://github.com/ivabus/lonelyradio
synced 2024-11-10 02:25:17 +03:00
38 lines
808 B
Markdown
38 lines
808 B
Markdown
# lonelyradio
|
|
|
|
> TCP radio for singles
|
|
|
|
Radio that uses unencrypted TCP socket for broadcasting raw PCM (16/44.1/LE) stream
|
|
|
|
Decodes audio streams using [symphonia](https://github.com/pdeljanov/Symphonia).
|
|
|
|
## Build
|
|
|
|
```shell
|
|
cargo build -r
|
|
```
|
|
|
|
## Run
|
|
|
|
```
|
|
lonelyradio [-a <ADDRESS:PORT>] <MUSIC_FOLDER> [-p] [-w]
|
|
```
|
|
|
|
All files (recursively) will be shuffled and played back. Public log will be displayed to stdout, private to stderr.
|
|
|
|
### Clients
|
|
|
|
[monoclient](./monoclient) with optional channel separation, hardcoded input (16/44.1/LE).
|
|
|
|
```shell
|
|
monoclient <SERVER>:<PORT>
|
|
```
|
|
|
|
### Other clients
|
|
|
|
SwiftUI client is availible in [platform](./platform) directory (not yet adapted for lonelyradio 0.2).
|
|
|
|
## License
|
|
|
|
lonelyradio and monoclient are licensed under the terms of the [MIT license](./LICENSE).
|