randomising tracks: scripting question
bf1783 at googlemail.com
Sun Dec 26 19:04:49 UTC 2010
Frank Shute wrote:
>I generally play my tracks of an album like so:
>for track in $(cat trombone_shorty-backatown.m3u); do
>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
mplayer ... -playlist trombone_shorty-backatown.m3u -shuffle
if they are in a uncommented, one-absolute-path-per-line format
without extended directives?
More information about the freebsd-questions