diff options
author | 2021-05-31 21:03:26 +0200 | |
---|---|---|
committer | 2021-05-31 21:03:26 +0200 | |
commit | ffee711b6633bebdc7299624e1b4f49d34779f4c (patch) | |
tree | ba16ed55057c59c06772de9b8197033bd924aff8 | |
parent | 68f5cf5430c4f7e43fbfb51177eb903b121911be (diff) | |
download | yt_audio_player_api-ffee711b6633bebdc7299624e1b4f49d34779f4c.tar.gz yt_audio_player_api-ffee711b6633bebdc7299624e1b4f49d34779f4c.tar.bz2 yt_audio_player_api-ffee711b6633bebdc7299624e1b4f49d34779f4c.zip |
Update README.md
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -2,6 +2,8 @@ Command line player to listen to YT videos written in node Saves bandwidth and streams only the audio part of the videos + + # Requirements 1. Node.js and npm 2. mpv @@ -11,3 +13,11 @@ Saves bandwidth and streams only the audio part of the videos 1. Install node packages with `npm i` 2. Copy `config.example` as `example` and put your YT API key inside. 3. Run it with `./yta` + +# Usage +1. Type song name and press `ENTER` to search it in YT +2. Type result number and press `ENTER` to play the song +3. Type a range of songs (ex. `2-5`) to play them in a row +4. Type `r[nr]` (ex. `r2`) to find songs related to chosen result +5. Type `h` and press `ENTER` to see help page +6. Type `q` and press `ENTER` to quit YT audio player |