Grammostola Rosea wrote: > frank pirrone wrote: > >> Arnold Krille wrote: >> >> On Sunday 29 March 2009 20:53:40 Justin Smith wrote: >> >> >> If by multimedia you mean audio + video I am not sure, there is >> mplayer but it does not do playlists as far as I know, for command >> line audio players there are quite a few, including xmms2 which is a >> demon that can be controlled from the command line and juke, >> which is >> an audio player with a curses frontend. >> >> >> >> Playlist on the commandline is one of the easier things: just add >> multiple files as arguments. mplayer is able to cope with that. And >> the < and > buttons on your keyboard let you jump back and forth >> file-wise. >> >> Have fun, >> >> Arnold >> >> >> Mplayer is an awesome multimedia program, and it does support playlists >> with the switch...-playlist! >> >> So, easier than virtually any other approach GUI or CLI, just do this to >> play all Ogg Vorbis files in your PWD: >> >> ls -1 *.ogg > ogg_playlist >> mplayer -playlist ogg_playlist >> >> and you're in business. >> >> >> > I think you mean > > ls *.ogg > playlist > > ls -l doesn't work here. > > mplayer -shuffle -playlist playlist > > does work :) > > But if I'm not in X, how do I set more commands? > > For example when I want to listen to some music before going to sleep? > > sudo shutdown -h 00:00 & > mplayer -shuffle -playlist playlist > > ? > > \r > > That's a one not an ell Grammostola. It causes the output of ls to occur line-by-line. If you're in the X Window System you'd be working from a terminal window, if you're not you'd be at the tty command line. You can either write a script to provide more "steps" of control or from the CLI, separate your commands with semi-colons. What you provided with the ampersand should work fine. Frank Frank _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user