Comment 2 for bug 615042

Revision history for this message
Jakub 'Livio' Rusinek (liviopl-pl) wrote :

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.