#789645 bash-completion: mplayer also .zip extension

#789645#5
Date:
2015-06-22 23:45:52 UTC
From:
To:
mplayer can play music files from a zip archive, "mplayer foo.zip".
It'd be good if bash-completion included .zip files in tab completions.

#789645#10
Date:
2015-06-23 09:24:53 UTC
From:
To:
Which version of mplayer can do that? At least the SVN-r37391-5.1.1
(probably a 20150505 svn snapshot) I have on Fedora 22 apparently
can't.

#789645#15
Date:
2015-06-23 09:48:52 UTC
From:
To:
 In an un-compressed zip, mplayer might be finding the file inside by
scanning for something it recognizes, treating the zip headers as
cruft, rather than actually understanding them.

mpv, a fork of mplayer2 that's diverged a bit, can play all the files
out of a .rar, including ones it finds while traversing a directory,
if you put one on the cmdline.  It does NOT do that for .zip, though :/

#789645#20
Date:
2015-06-24 08:01:29 UTC
From:
To:
close 789645
thanks

Ville Skyttä <ville.skytta@iki.fi> writes:

Oops, sorry.  It only worked because the files were uncompressed "store"
in the zip.  mplayer skipped zip bytes as garbage until some mp3 or ogg
...