No description
Find a file
Ivan Bushchik 819972f0c0
0.1.6: add "WAR" mode
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2024-01-29 19:58:20 +03:00
src 0.1.6: add "WAR" mode 2024-01-29 19:58:20 +03:00
.gitignore 0.1.0: Initial commit 2024-01-28 20:19:45 +03:00
.rustfmt.toml 0.1.0: Initial commit 2024-01-28 20:19:45 +03:00
Cargo.lock 0.1.5: fix typos 2024-01-29 12:02:39 +03:00
Cargo.toml 0.1.6: add "WAR" mode 2024-01-29 19:58:20 +03:00
LICENSE 0.1.0: Initial commit 2024-01-28 20:19:45 +03:00
README.md 0.1.6: add "WAR" mode 2024-01-29 19:58:20 +03:00

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 stderr, private to stdout.

Clients

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 -

License

lonelyradio is licensed under the terms of the MIT license.