Re: [LAU] use your pc as an music player (and save energy)

From: Grammostola Rosea <rosea.grammostola@email-addr-hidden>
Date: Mon Mar 30 2009 - 01:23:45 EEST

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

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Mar 30 04:15:04 2009

This archive was generated by hypermail 2.1.8 : Mon Mar 30 2009 - 04:15:05 EEST