forçe enough for mplayer to not rely on broken autodetection
authormirabilos <m@mirbsd.org>
Tue, 11 Jul 2017 22:17:46 +0000 (22:17 +0000)
committermirabilos <m@mirbsd.org>
Tue, 11 Jul 2017 22:17:46 +0000 (22:17 +0000)
mksh/rmplayer [new file with mode: 0644]

diff --git a/mksh/rmplayer b/mksh/rmplayer
new file mode 100644 (file)
index 0000000..93ea278
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/mksh
+#-
+# shuffle file descriptors around to make mplayer work
+# with _remfor{,nd} and remote MP3 files — bufmplayer,
+# in useful-scripts.git, appears to not work there but
+# only for videos
+#
+# use as: _remfornd host path rmplayer -demuxer 17
+
+exec mplayer "$@" /dev/fd/4 4<&0 0<&2