From a8ef887dbfaee530d13e86ff583393a4ddf88e93 Mon Sep 17 00:00:00 2001 From: liam4 Date: Mon, 24 Jul 2017 20:26:37 -0300 Subject: Support SoX again; make 'converter' meta-downloader (converts to wav) --- man/http-music-play.1 | 15 +++++++++++++-- man/http-music.1 | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/http-music-play.1 b/man/http-music-play.1 index 36e33fd..8f69ab5 100644 --- a/man/http-music-play.1 +++ b/man/http-music-play.1 @@ -10,8 +10,7 @@ http-music-play - plays audio from a playlist file .SH DESCRIPTION Plays audio referenced from a playlist file. Tracks selected using a "picker" (see \fB--picker\fR) and retrieved using a "downloader" (see \fB--downloader\fR). -Downloaded tracks are played with the \fBmpv\fR process. -(As such, \fBmpv\fR is a required dependency for http-music to play anything.) +Downloaded tracks are played with either the \fBmpv\fR (default) or \fBplay\fR (from SoX) command. .SH KEYBOARD CONTROLS @@ -19,11 +18,13 @@ Downloaded tracks are played with the \fBmpv\fR process. .BR Skips backwards 5 seconds in the currently playing track; hold shift to skip by 30 seconds. +(Requires MPV player.) .TP .BR Skips forwards 5 seconds in the currently playing track; hold shift to skip by 30 seconds. +(Requires MPV player.) .TP .BR @@ -31,14 +32,17 @@ Turns the volume up a 10%-notch. Unfortunately, at present, the volume setting is NOT kept across tracks. You'll need to adjust your audio volume whenever a new song starts. (If possible, it might be better just to opt for changing the system volume.) +(Requires MPV player.) .TP .BR Turns the volume down 10%. +(Requires MPV player.) .TP .BR Pauses (or resumes) playback. +(Requires MPV player.) .TP .BR i @@ -102,6 +106,13 @@ The default is \fBshuffle\fR. .BR \-p ", " \-\-play Forces the playlist to actually play, regardless of options such as \fB\-\-list\fR. See also \fB\-\-no\-play\fR. +.TP +.BR \-\-player " \fIplayer" +Selects the mode by which audio is played. +Valid options include "mpv" and "sox" (or "play"). +Most playback controls only work with the "mpv" player, but the "sox"/"play" player is typically much more easy to (and commonly) install than "mpv". +The default is \fBmpv\fR, but \fBsox\fR will be used if mpv is not installed. + .TP .BR \-\-play\-opts Sets command line options passed to the \fBplay\fR command. diff --git a/man/http-music.1 b/man/http-music.1 index 634f014..09b733d 100644 --- a/man/http-music.1 +++ b/man/http-music.1 @@ -14,7 +14,7 @@ It features several convenient options which make it powerful while still sticki .PP \fBhttp-music\fR is portable. -It can be used anywhere with a Node environment, requiring only two commonly installed (and otherwise easy to get) utilities (\fBmpv\fR and \fBavconv\fR, optionally \fByoutube-dl\fR). +It can be used anywhere with a Node environment, requiring only two commonly installed (and otherwise easy to get) utilities (\fBmpv\fR or \fBplay\fR (SoX), and \fBavconv\fR, and optionally \fByoutube-dl\fR). .PP Playlists are stored as JSON files. -- cgit 1.3.0-6-gf8a5