(In reply to Michal Suchanek from comment #2) > It seems this does just that. > > Do you see any issues with the patch? I'd like to avoid completion for e.g. foobar.txt :) ... the peferct solution would be to use the file(1) command to check for playable data files but AFAIC the endings useed in the upstream solution catches most file types whic hare playable by mplayer but misses the possiblilty to goes to a deeper (sub)directory