From 490d584a9a393a29cac08fc28223b0a7b6f802dc Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 11 Aug 2017 10:19:12 -0300 Subject: Update man pages to reflect new picker changes --- man/http-music-play.1 | 12 ++++++++++++ src/play.js | 4 ---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/man/http-music-play.1 b/man/http-music-play.1 index 2237563..9e4bc71 100644 --- a/man/http-music-play.1 +++ b/man/http-music-play.1 @@ -86,6 +86,12 @@ If this is the last option used, nothing plays (see \fB\-\-play\fR). Lists all groups and tracks in the (active) playlist. If this is the last option used, nothing plays (see \fB\-\-play\fR). +.TP +.BR \-\-loop\-mode ", " \-\-loop +Sets the mode by which the playback order list is looped (typically, what happens when the picker's index counter gets to the end of the list). +Valid options include \fBno-loop\fR (or \fBno\fR), \fBloop-same-order\fR (or \fBloop\fR), \fBloop-regenerate\fR (the default), and \fBpick-random\fR. +See also \fB\-\-sort\-mode\fR. + .TP .BR \-np ", " \-\-no\-play Forces the playlist not to play. @@ -121,6 +127,12 @@ Prints the JSON representation of the active playlist to the console. .BR \-r ", " \-\-remove ", " \-x " \fIgroupPath\fR" Removes a group from the (active) playlist. +.TP +.BR \-\-sort\-mode ", " \-\-sort +Sets the mode by which the playback order list is sorted. +Valid options include \fBorder\fR, \fBshuffle\fR (the default), and \fBshuffle-top-level\fR (or \fBshuffle-groups\fR). +See also \fB\-\-loop\-mode\fR. + .TP .BR \-w ", " \-\-write\-playlist ", " \-\-write ", " \-\-save " \fIfilePath\fR" Writes the active playlist to a file. diff --git a/src/play.js b/src/play.js index 408b79c..980a755 100755 --- a/src/play.js +++ b/src/play.js @@ -280,8 +280,6 @@ async function main(args) { '-sort-mode': function(util) { // --sort-mode (alias: --sort) // Sets the mode by which the playback order list is sorted. - // Valid options include 'order', 'shuffle', and 'shuffle-top-level' - // (which has an alias 'shuffle-groups'). // See pickers.js. pickerSortMode = util.nextArg() @@ -294,8 +292,6 @@ async function main(args) { // Sets the mode by which the playback order list is looped (typically, // what happens when the picker's index counter gets to the end of the // list). - // Valid options include 'no-loop', 'loop-same-order' (or 'loop'), - // 'loop-regenerate', and 'pick-random'. // See pickers.js. pickerLoopMode = util.nextArg() -- cgit 1.3.0-6-gf8a5