diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2092f2a --- /dev/null +++ b/README.md | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | # RSPlayer is a daemon driven CLI music player with scrobbling written in rust | ||
| 2 | |||
| 3 | ## Installation | ||
| 4 | ``` | ||
| 5 | git clone https://codeberg.org/salmonik/RSPlayer.git | ||
| 6 | cd RSPlayer | ||
| 7 | ./install.sh | ||
| 8 | ``` | ||
| 9 | |||
| 10 | install.sh will: | ||
| 11 | compile RSP (make sure you have rust properly installed!) | ||
| 12 | install shell autocompletions (zsh, bash and fish supported) | ||
| 13 | install user systemd service and activate it | ||
| 14 | |||
| 15 | ## Usage | ||
| 16 | |||
| 17 | configuration is generated at startup in $XDG_CONFIG_HOME/rsplayer/config.toml | ||
| 18 | most important values there are: | ||
| 19 | listenbrainz_token (last.fm scrobbling not yet tested) | ||
| 20 | display_format (supports $ARTIST $ALBUM and $TRACK) | ||
| 21 | music_paths (for DB usage, still WIP) | ||
| 22 | scan_interval (same as above) | ||
| 23 | |||
| 24 | all other values can be changed in runtime using commands | ||
| 25 | |||
| 26 | as for commands: | ||
| 27 | RSP will be installed as rsp, in this fragment, rsp will be ommited | ||
| 28 | |||
| 29 | these commands should only be used in testing or by systemd service: | ||
| 30 | `start-daemon` Start the daemon | ||
| 31 | `stop-daemon` Stop the daemon | ||
| 32 | `restart` Restart the daemon (kill existing and start new) | ||
| 33 | |||
| 34 | these are normal commands: | ||
| 35 | `play` Play a track, album, or artist | ||
| 36 | `pause` Pause playback | ||
| 37 | `resume` Resume playback | ||
| 38 | `toggle` Toggle play/pause | ||
| 39 | `stop` Stop playback | ||
| 40 | `next` Skip to next track | ||
| 41 | `previous` Skip to previous track | ||
| 42 | `volume` Set volume (0-100) | ||
| 43 | `shuffle` Shuffle mode | ||
| 44 | `queue` Queue management | ||
| 45 | `status` Show player status | ||
| 46 | `scan` Scan music paths to populate database | ||
| 47 | `settings` Settings management | ||
| 48 | `help` Print this message or the help of the given subcommand(s) | ||
| 49 | |||
| 50 | |||
| 51 | ## Technical stuff | ||
| 52 | The main culprit of this player is lack of integration with programs such as playerctl | ||
| 53 | this is due to the daemon not being asynchronous | ||
