From 2ecf0902cfe63c4843d5068557889288a023ac94 Mon Sep 17 00:00:00 2001 From: Mateusz Pstrucha Date: Tue, 19 Apr 2022 21:50:31 +0200 Subject: [PATCH] feat: better readme --- README.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5d098e3..8e16920 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ ## Resources -Website - https://github.com/Maathias/radio-rolnik/ +Frontend - [Maathias/radio-rolnik](https://github.com/Maathias/radio-rolnik/) -API - https://github.com/Maathias/radio-rolnik-api/ +API - [Maathias/radio-rolnik-api](https://github.com/Maathias/radio-rolnik-api/) ## Requirements - shell - - VLC + - python3 - python - python-dotenv @@ -30,7 +30,23 @@ VOLUME_DEFAULT=100 ; playback delay (s) OFFSET=60 -; logging level (0-2) -; 2 = highest +; logging level (0-2) 2 = most verbose VERBOSE=0 ``` + +## Usage + +`./run ` to run in specified mode. + +`standalone` is the default. +- Fetches a list of track IDs to be played, +- converts them to youtube links, +- downloads and caches them, +- schedules timestamps at which they should be played, +- calls timeouts for every track + +At the end of every sections, the audio automatically fades down. At the end of queue, process exits. + +`web`, `lyrics`, `convert`, `cache`, `schedule`, `test`, `playlist` are also available, but not very functional. + +Very much work in progress, very buggy and unstable. \ No newline at end of file