Tracking the tools that decentralize the media. tools process ideas resources eventsav

unmediated

 

July 12, 2004

Playing an entire directory with m3udo

If there's a song on the web with a URL, let it be itself. Don't download and rename the song, because the minute you do that you break the single most useful thing about it: the URL. Download it, sure, but put the download where it belongs: in your web cache.

Don't waste hacking time on code to download and rename. Your time will be much better spent by figuring out how programs can share the web cache.


  1. cd to the directory

  2. ls | m3udo mpg123 -

I almost always download an m3u in order from first to last, so the
date stamps will reflect the order to play them in. As long as each
m3u goes in a directory by itself, the following will play the songs
in order:

  1. cd to the directory

  2. ls -tr | m3udo mpg123 -


Posted by yatta at 02:53 PM