diff -uNr mc/misc/ext.d/sound.sh mc-fork/misc/ext.d/sound.sh
old
|
new
|
|
19 | 19 | ogg) |
20 | 20 | ogginfo "${MC_EXT_FILENAME}" |
21 | 21 | ;; |
| 22 | opus) |
| 23 | opusinfo "${MC_EXT_FILENAME}" |
| 24 | ;; |
22 | 25 | wma) |
23 | 26 | mplayer -quiet -slave -frames 0 -vo null -ao null -identify "${MC_EXT_FILENAME}" 2>/dev/null | \ |
24 | 27 | tail +13 || file "${MC_EXT_FILENAME}" |
… |
… |
|
61 | 64 | ogg123 "${MC_EXT_FILENAME}" |
62 | 65 | fi |
63 | 66 | ;; |
| 67 | opus) |
| 68 | if [ -n "$DISPLAY" ]; then |
| 69 | (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 70 | else |
| 71 | play "${MC_EXT_FILENAME}" |
| 72 | fi |
| 73 | ;; |
64 | 74 | midi) |
65 | 75 | timidity "${MC_EXT_FILENAME}" |
66 | 76 | ;; |
diff -uNr mc/misc/filehighlight.ini mc-fork/misc/filehighlight.ini
old
|
new
|
|
37 | 37 | extensions=ada;asm;awk;bash;c;caml;cc;cgi;cpp;cxx;diff;erl;go;h;hh;hi;hpp;hs;inc;jasm;jav;java;js;m4;mak;mjs;ml;mli;mll;mlp;mly;pas;patch;php;phps;pl;pm;prg;py;rb;s;sas;sh;sl;st;tcl;tk;xq |
38 | 38 | |
39 | 39 | [media] |
40 | | extensions=3gp;aac;ac3;ape;asf;avi;dts;flac;flv;it;m3u;m4a;m4v;med;mid;midi;mkv;mod;mol;mov;mp2;mp3;mp4;mpeg;mpg;mpl;ogg;ogv;s3m;ts;umx;vob;wav;webm;wma;wmv;xm |
| 40 | extensions=3gp;aac;ac3;ape;asf;avi;dts;flac;flv;it;m3u;m4a;m4v;med;mid;midi;mkv;mod;mol;mov;mp2;mp3;mp4;mpeg;mpg;mpl;ogg;ogv;opus;s3m;ts;umx;vob;wav;webm;wma;wmv;xm |
41 | 41 | |
42 | 42 | [graph] |
43 | 43 | extensions=ai;bmp;cdr;eps;gif;ico;jpeg;jpg;omf;pcx;pic;png;rle;svg;tif;tiff;webp;wmf;xbm;xcf;xpm |
diff -uNr mc/misc/mc.ext.in mc-fork/misc/mc.ext.in
old
|
new
|
|
497 | 497 | Open=@EXTHELPERSDIR@/sound.sh open ogg |
498 | 498 | View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg |
499 | 499 | |
| 500 | shell/i/.opus |
| 501 | Open=@EXTHELPERSDIR@/sound.sh open opus |
| 502 | View=%view{ascii} @EXTHELPERSDIR@/sound.sh view opus |
| 503 | |
500 | 504 | regex/i/\.(spx|flac)$ |
501 | 505 | Open=@EXTHELPERSDIR@/sound.sh open common |
502 | 506 | |
diff -uNr mc/misc/syntax/sh.syntax mc-fork/misc/syntax/sh.syntax
old
|
new
|
|
567 | 567 | keyword whole ogginfo cyan |
568 | 568 | keyword whole open cyan |
569 | 569 | keyword whole openvt cyan |
| 570 | keyword whole opusdec cyan |
| 571 | keyword whole opusenc cyan |
| 572 | keyword whole opusinfo cyan |
570 | 573 | keyword whole pager cyan |
571 | 574 | keyword whole pam_getenv cyan |
572 | 575 | keyword whole paperconf cyan |