Re: bash scripting: mplayer command line playlist

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan England
Date:  
To: plug-discuss
New-Topics: Re: bash scripting: mplayer command line playlist
Subject: Re: bash scripting: mplayer command line playlist


This is what I do...

All my mp3/ogg whatevers are in a folder called /mnt/mp3

I run 'find /mnt/mp3 | tee playlist.txt'
then 'mplayer -shuffle --playlist playlist.txt'

It's works pretty simply.

Nathan


On Thursday 17 February 2005 21:42, Mike Hoy wrote:
> assuming i want to use mplayer in command line only how can i make a
> shell script that plays all of my music files in my music/ directory
> w/out having to specify each sub directory?
>
> So far I got this working:
>
> a file called playlist.sh:
> mplayer -shuffle band1/*.mp3 band2/*mp3 band3/*.mp3
>
> this playlist would be fine, but often i add or remove sub dirs from
> w/in my music/ directory
>
> and I specify *.mp3 so mplayer doesn't try to play anything buy mp3's
>
> or is there a better way to tell mplayer to loop thru all the music in
> music/ and it's sub directories?
>
> i realize this isn't exactly Mission Critical, but it took me awhile
> just to get it to work as is, now that i've spent all of my energy
> trying to figure this out maybe one of you can show me what would have
> worked so much more easily. Seems I learn the hard way these days...
>
> thx
>
> mike hoy
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss