mirror of
https://github.com/ivabus/lonelyradio
synced 2025-04-23 22:17:10 +03:00
No description
![]() Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11. - [Release notes](https://github.com/tokio-rs/mio/releases) - [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11) --- updated-dependencies: - dependency-name: mio dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
monoclient | ||
platform | ||
src | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
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.
Build
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 with optional channel separation, hardcoded input (16/44.1/LE).
monoclient <SERVER>:<PORT> s
FFplay (from FFmpeg)
nc <SERVER> <PORT> | ffplay -f s16le -vn -ac 2 -ar 44100 -nodisp -autoexit -
MPV
nc <SERVER> <PORT> | mpv --audio-channels=stereo --audio-samplerate=44100 --demuxer-rawaudio-format=s16le --demuxer=rawaudio -
Other clients
SwiftUI client is availible in platform directory.
License
lonelyradio and monoclient are licensed under the terms of the MIT license.