From d16f7efae8f7b9a142ca9514bc98b41eb4ee16c8 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 28 Sep 2017 22:06:16 -0300 Subject: Add --filter to man page --- man/http-music-play.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/http-music-play.1 b/man/http-music-play.1 index 8d64bde..8aa8cae 100644 --- a/man/http-music-play.1 +++ b/man/http-music-play.1 @@ -106,6 +106,13 @@ Forces usage of track-specific converter options. By default, they are enabled. See also \fB\-\-disable\-converter\-options\fR. +.TP +.BR \-f ", " \-\-filter " \fIproperty\fR \fIvalue\fR" +Filters the playlist so that only tracks with the given property-value pair are kept. +If the property is an array, it checks if the given value is contained within that array. +For example, this is useful for adding "tags" to songs. +Try adding \fB"tag": ["cool"]\fR to a track in a playlist file, then use \fB\-\-filter tag cool\fR to only play that track (and other tracks whose \fB"tag"\fR property contains \fB"cool"\fR). + .TP .BR \-h ", " \-? ", " \-\-help Presents a help message, directing the user to the \fBman\fR page. -- cgit 1.3.0-6-gf8a5