Bernardo Barros wrote:
looks interesting, but if you hit mplayer then you get
out of mc,
right?
I don't believe so. When you exit from mplayer, you return to the MC
shell still running MC. MC fires off the selected file viewer in a subshell.
I know I routinely start MC, then run a shell script I codged together
from one I found on the internet that generates a playlist from my music
collection and proceeds to start playing it in random order using
mplayer. When I quit from mplayer, I'm back at MC ...
Inside emacs you don't have to leave dired mode.
Yeah, but
mplayer can read more file formats.
But I always thought emacs was a complete operating system unto itself! ;-)
2010/7/28, david <gnome(a)hawaii.rr.com>om>:
> Bernardo Barros wrote:
>> 2010/7/26, Josh Lawrence <hardbop200(a)gmail.com>om>:
>>> Hi everyone,
>>>
>>> Does anyone know of a simple application for previewing samples?
>>> Something that lists all supported audio files in a given directory,
>>> that you can click once and hear the sample? jack support would be
>>> necessary. I've searched the archives and found this question asked
>>> before, but I wasn't able to find an answer. Any pointers or
>>> suggestions would be very welcome.
>> If you have Emacs and Timidity you can do this with the dired mode in
>> Emacs. "M-x dired" then you can browse you files. If you hit "!
play"
>> will play it. (maybe there is another shortcut and/or you can even set
>> your own)
> If you use Midnight Commander, I believe you can set it to play media
> files using mplayer. Mplayer has keyboard commands, has a command line
> option instructing it to start at a particular point in the media file.
> Or you could script this kind of stuff around mplayer - have scripts for
> the various options.
--
David
gnome(a)hawaii.rr.com
authenticity, honesty, community