Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[rhl@xxxxxxxxxxxxx: Bug#244211: zsh: mpeg2 filename expansion for mplayer]



----- Forwarded message from "Rene H. Larsen" <rhl@xxxxxxxxxxxxx> -----

Please add filename expansion for mplayer on the widely used .m2v and
.m2p filename extensions for MPEG2 (SVCD) files.  The attached patch
does just that by modifying functions/Completions/X/_mplayer.

--- _mplayer.orig	2004-04-16 06:32:19.000000000 +0200
+++ _mplayer	2004-04-17 13:45:23.000000000 +0200
@@ -115,7 +115,7 @@
     _tags files urls
     while _tags; do
       _requested files expl 'video file' _files -g \
-          "*.(#i)(avi|mp3|mpg|mpe|mpeg|m1v|mov|asf|vob|mjpg|wma|wmv|asx|qt|rm|mkv|mka|ogm|ogg|wav)(-.)" && ret=0
+          "*.(#i)(avi|mp3|mpg|mpe|mpeg|m1v|m2v|m2p|mov|asf|vob|mjpg|wma|wmv|asx|qt|rm|mkv|mka|ogm|ogg|wav)(-.)" && ret=0
       if _requested urls; then
         while _next_label urls expl URL; do
           _urls "$expl[@]" && ret=0


----- End forwarded message -----



Messages sorted by: Reverse Date, Date, Thread, Author