You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
10
+
11
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
12
+
--]]
13
+
14
+
--[[
15
+
NOTE!
16
+
cmus-remote could hang if you don't have mpris installed giving you a warning at the beginning
17
+
18
+
Design
19
+
A defaultFormat is passed to cmus format_print, output is absorbed and s/\n/ /
20
+
be aware that spaces in cmus become newlines, so s/\n/ / is used
21
+
string.sub is run to limit the output
22
+
23
+
TODO
24
+
Probably add/support colors %{red} and so on
25
+
defaultFormat should be more colorful, with some emojis
0 commit comments