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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux