MPlayer completion rules complete only specific files

Bug #615042 reported by Jakub 'Livio' Rusinek
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: bash-completion

Why complete only files with specific extensions if eg. Flash Player caches files without extensions (FlashXXXXXX) and MPlayer can play can? Ridiculous.

I understand you want bash to be helpful, but if sb uses shell to call eg. MPlayer, doesn't he know what is he doing :> ? Lames keep using GUIs and do not touch shell if they're not ought to.

Tags: patch maverick
Revision history for this message
dazza5000 (darran-kelinske) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures

At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

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.

Revision history for this message
dazza5000 (darran-kelinske) wrote :

https://alioth.debian.org/tracker/index.php?func=detail&aid=312648&group_id=100114&atid=413095

logged 312648 on the bash-completion project bug tracker - trying to link today, but launchpad is crashing

Revision history for this message
Philip Muškovac (yofel) wrote :

Thanks for upstreaming.

Changed in bash-completion (Ubuntu):
importance: Undecided → Low
status: New → Triaged
tags: added: maverick
Revision history for this message
Brian Fuller (slink3r) wrote :
Changed in bash-completion (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Brian Fuller (slink3r) wrote :

I actually put the wrong patch on here, it's the next one, and I'm not sure if it solves the auto-completion that was listed in here, the description seems a bit vague.

C de-Avillez (hggdh2)
Changed in bash-completion (Ubuntu):
status: Fix Released → Triaged
tags: added: patch
Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like this already got fixed in bash-completion 1.3:

[ David Paleino ]
  * Complete on all files for mplayer's -dvd-device

Changed in bash-completion (Ubuntu):
status: Triaged → 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.