Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Random Play' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Random Play
Authored by: victory on May 07, '02 09:13:23AM
The following may be useful if you want to use mpg123 as a random jukebox. (These examples assume your music folder is /Volumes/Storage/Music) mpg123 won't descend into subdirectories when looking for MP3s to play. This can be a problem when attempting to feed it a folder of music created by iTunes, which likes to store things in /Music/Artist/Album/Songs.mp3 format. Instead you can use the following:

find /Volumes/Storage/Music/ -name "*.mp3" | mpg123 -Z --list -

(On the other hand, if you *do* have all your MP3s piled in one huge folder, it would be just as easy to do 'mpg123 -Z /Volumes/Storage/AllMyMusic/*.mp3')

If you want to listen to all your songs in the order that 'find' locates them (not shuffled), use:

find /Volumes/Storage/Music/ -name "*.mp3" | mpg123 -@ -



[ Reply to This | # ]