Frank Shute wrote:
>I generally play my tracks of an album like so:
>
>for track in $(cat trombone_shorty-backatown.m3u); do
>mplayer $track
>done
>
>They then play in the correct order.
>
>How would I go about randomising the order of play using
>sh (preferably) or perl?

cat trombone_shorty-backatown.m3u | xargs mplayer ... -shuffle

or

mplayer ... -playlist trombone_shorty-backatown.m3u -shuffle

if they are in a uncommented, one-absolute-path-per-line format
without extended directives?

b.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to