* completion: add .ts for mplayer
@ 2013-08-01 6:13 Thomas Klausner
0 siblings, 0 replies; only message in thread
From: Thomas Klausner @ 2013-08-01 6:13 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
Hi!
Please add .ts (= transport stream = some kind of mpeg) as recognized
type for the mplayer completion.
Patch attached.
Thanks,
Thomas
[-- Attachment #2: patch-Completion_X_Command___mplayer --]
[-- Type: text/plain, Size: 729 bytes --]
$NetBSD: patch-Completion_X_Command___mplayer,v 1.1 2013/08/01 06:08:33 wiz Exp $
--- Completion/X/Command/_mplayer.orig 2012-01-29 18:27:45.000000000 +0000
+++ Completion/X/Command/_mplayer
@@ -115,7 +115,7 @@ case "$state" in
_tags files urls
while _tags; do
_requested files expl 'video file' _files -g \
- "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|webm|wma|wmv)(-.)" && ret=0
+ "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|ts|vob|wav|webm|wma|wmv)(-.)" && ret=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "$expl[@]" && ret=0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-01 6:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-01 6:13 completion: add .ts for mplayer Thomas Klausner
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).