bash completion does not list .iso files for mplayer

Bug #427343 reported by Rüdiger Sonderfeld
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mplayer

the bash_completion for mplayer does not include .iso files. Since mplayer is capable of playing iso images I think this option should be added.

I'm using Ubuntu 9.04.

Adding "iso" to the list of file types at the end of the _mplayer function (line 6097 in my /etc/bash_completion) fixes this issue

   *)
   _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fl[iv]|FL[IV]|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|m4[av]|M4[AV]|og[gm]|OG[GM]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|rmvb|RMVB|mid|MID|ts|TS|3g[p2]|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2ts|M2TS|iso)'
   ;;

Tags: bash mplayer
tags: added: mplayer
tags: added: bash
Cosme Domínguez (cosme)
affects: mplayer (Ubuntu) → bash-completion (Ubuntu)
Revision history for this message
Jakub 'Livio' Rusinek (liviopl-pl) wrote :

The same about flv and so called "*.*". Why complete only files with specific extensions if eg. Flash Player caches files without extensions (FlashXXXXXX) and MPlayer can play can? Ridiculous.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This was fixed in v1.3 upstream.

Changed in bash-completion (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.