commit 6e64c1bf84a73a37d5a8fb901c6e4aff7afae2c5
parent 33cbf01e0e3868d9993948279ffcea9c26eddd8f
Author: hhvn <dev@haydenvh.com>
Date: Mon, 8 Mar 2021 19:47:58 +0000
.s/m/m/rmpv.1 .s/m/m/rmpv-list.1 .s/m/m/rmpv-list.5: document
Diffstat:
3 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/.scripts/man/man1/rmpv-list.1 b/.scripts/man/man1/rmpv-list.1
@@ -0,0 +1,32 @@
+.Dd hhvn-scripts
+.Dt rmpv-list 1
+.Sh NAME
+.Nm rmpv-list
+.Nd manipulate
+.Xr rmpv-list 5
+files for use with
+.Xr rmpv 1
+.Sh SYNOPSIS
+.Nm
+.Fl c
+.Ar directory
+.Nm
+.Fl m
+.Ar list
+.Ar file
+.Ar weight
+.Sh OPTIONS
+.Fl c
+\ \ create new list from scratch by finding all files in the
+.Ar directory .
+.Fl m
+\ \ edit the weight of the given
+.Ar file
+in a given
+.Ar list .
+.Sh SEE ALSO
+.Xr rmpv-list 5 ,
+.Xr rmpv 1 ,
+.Xr hhvn-scripts 7
+.Sh AUTHOR
+.An hhvn Aq Mt dev@hhvn.uk .
diff --git a/.scripts/man/man1/rmpv.1 b/.scripts/man/man1/rmpv.1
@@ -0,0 +1,22 @@
+.Dd hhvn-scripts
+.Dt rmpv 1
+.Sh NAME
+.Nm rmpv
+.Nd pseudo-random playing of music/video via mpv
+.Sh SYNOPSIS
+.Nm
+.Ar dir/
+.Nm
+.Ar dir/list
+.Sh DESCRIPTION
+Lists are in the
+.Xr rmpv-list 5
+format, and allow for more fine-grained tuning of the pseudo-random (you can prefer certain files, or blacklist them, all without messing with the files themsevles).
+
+If either argument match "music" the --no-video argument will be passed to mpv.
+.Sh SEE ALSO
+.Xr rmpv-list 1 ,
+.Xr rmpv-list 5 ,
+.Xr hhvn-scripts 7
+.Sh AUTHOR
+.An hhvn Aq Mt dev@hhvn.uk .
diff --git a/.scripts/man/man5/rmpv-list.5 b/.scripts/man/man5/rmpv-list.5
@@ -0,0 +1,15 @@
+.Dd hhvn-scripts
+.Dt rmpv-list 5
+.Sh NAME
+.Nm rmpv-list
+.Nd weighted list for a pseudo-random file-picker
+.Sh FORMAT
+.Ar file
+\\t
+.Ar weight
+.Sh SEE ALSO
+.Xr rmpv 1 ,
+.Xr rmpv-list 1 ,
+.Xr hhvn-scripts 7
+.Sh AUTHOR
+.An hhvn Aq Mt dev@hhvn.uk .