noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

noxz.tech/software/mpvd/index.www
1usage:
2.B mpvd
3.HTML <br/>
4or
5.B mpvc
6.U action
7.U arguments... ] [
8
9mpvd is a simple script for daemonization of mpv togther with a controller,
10mpvc. It works by creating a fifo that mpv then uses for command input.
11
12.HnS 1
13Installation
14.HnE
15
16Edit config.mk to match your local setup (mpvd is installed into the
17.I /usr/local
18namespace by default), then simply enter the following command to install (if 
19necessary as root):
20
21.CDS
22.COS
23make install
24.COE
25.CDE
26
27
28.HnS 1
29Example usage of mpvd
30.HnE
31
32Start the daemon
33
34.CDS
35.COS
36mpvd &
37.COE
38.CDE
39
40Send commands
41
42.CDS
43.COS
44# append file to playlist
45mpvc append mixtape.ogg
46
47# load file to playlist (overwrites current playlist)
48mpvc load better-mixtape.ogg
49
50# goto next track
51mpvc next
52
53# goto previous track
54mpvc prev
55
56# seek 23 seconds backwards
57mpvc seek -23
58
59# toggle play/pause
60mpvc toggle
61
62# lower sound 10 units (or append an 'a' for lowering alsa sound 5%)
63mpvc lower; mpvc alower
64
65# raise sound 10 units (or append an 'a' for raising alsa sound 5%)
66mpvc raise; mpvc araise
67
68# toggle mute (or append an 'a' for toggeling alsa mute)
69mpvc mute; mpvc amute
70
71# set youtube-dl format
72mpvc ytdl-format best
73.COE
74.CDE
75
76get source
77.URL //noxz.tech/git/mpvd.git here .