Bugs item #312648, was opened at 2010-08-08 20:38
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312648&group_id=100114

Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Mplayer bash completion not working for files without an extension 
Distribution: None
Originally reported in: Ubuntu Launchpad
Milestone: None
Status: None
Original bug number: 615042


Initial Comment:
The core of the issue is that mplayer can play files without an extension, but 
bash completion does not work for files that do not have an extension. Below is 
a more detailed description.



Enter directory like /tmp while watching a video on YT. Pause it inside your 
browser to watch in way more responsible player like MPlayer.

Type as usual: mplayer Flash[Tab]

What happens? bash won't fill up the command with appropriate file name, 
because it's got none of expected extensions like mpeg, rmvb etc.

MPlayer plays FLV videos flawlessly and doesn't require an extension to be 
present as eg. FourCC technologies are being utilised to recognize codecs used 
to encode multimedia file.

bash even without help of additional libraries can recognize type of a file 
without an extension:

$ file FlashXX9kNLBj
FlashXX9kNLBj: Macromedia Flash Video

It would be great if completion rules would somehow use /usr/bin/file utility 
to require no extension at minimum.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312648&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to