Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145727 - app-shells/bash-completion: add new extensions for mplayer to bash_completion
Summary: app-shells/bash-completion: add new extensions for mplayer to bash_completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
: 160859 209516 218554 (view as bug list)
Depends on: 249271
Blocks:
  Show dependency tree
 
Reported: 2006-08-31 10:04 UTC by Pavel Dobes
Modified: 2008-12-18 22:56 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Dobes 2006-08-31 10:04:03 UTC
Add to /etc/bash_completion flv and FLV extension to be able to complete it via TAB key
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 10:07:10 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone if you have no clue, thanks.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-08 11:23:38 UTC
*** Bug 160859 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Huber 2007-01-08 11:36:09 UTC
A little entry in /etc/bash_completion at line 5673 (for me *g) did it (replace
m4a to m4[av]):
- _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|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|mid|MID|ts|TS)'

+ _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|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4[av]|M4A|aac|AAC|m2v|M2V|dv|DV|mid|MID|ts|TS)'

Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2007-01-19 19:14:29 UTC
This bug also applies to xine-ui and other xine-libs based video players.
Comment 5 Tres 'RiverRat' Melton 2007-02-16 06:09:24 UTC
divx would be another good extension too.  :)
Comment 6 Yaroslav Isakov 2007-03-25 20:37:18 UTC
And ass too (to -sub command)
Comment 7 Yaroslav Isakov 2007-03-26 21:47:56 UTC
And mka too
Comment 8 Mike Kelly (RETIRED) gentoo-dev 2007-03-28 13:53:15 UTC
(In reply to comment #4)
> This bug also applies to xine-ui and other xine-libs based video players.

No, support for that was removed due to Bug #111681.
Comment 9 Jan 2007-11-04 13:31:08 UTC
To fix m4v and flv extensions for bash-completion-20060301 (which removes xine issues), change the _filedir line for _mplayer() (line 5896 here) in /etc/bash_completion:
- _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|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|rmvb|RMVB|mid|MID|ts|TS|3gp|mpc|MPC|flac|FLAC)'

+ _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|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4[av]|M4[AV]|aac|AAC|m2v|M2V|dv|DV|rmvb|RMVB|mid|MID|ts|TS|3gp|mpc|MPC|flac|FLAC|flv|FLV)'

This is similar to the patch in comment #3 but includes uppercase extensions and flv. HTH.
Comment 10 Jan Kundrát (RETIRED) gentoo-dev 2008-04-20 21:27:42 UTC
*** Bug 218554 has been marked as a duplicate of this bug. ***
Comment 11 Federico Ferri (RETIRED) gentoo-dev 2008-04-22 17:11:02 UTC
and amr too
Comment 12 Santiago M. Mola (RETIRED) gentoo-dev 2008-11-29 15:54:48 UTC
*** Bug 209516 has been marked as a duplicate of this bug. ***
Comment 13 Santiago M. Mola (RETIRED) gentoo-dev 2008-11-29 15:58:47 UTC
Requested: m4v, divx, flv, mka, amr, m2t
and ass for -sub.
Comment 14 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-18 22:56:12 UTC
app-shells/bash-completion-20081218 is in the tree and should fix this bug. Reopen if the problem persists in the new version.

Thanks for reporting!