lol yeah that will work too. it might be better to have all the files on the command line at once, though, in case at some date madplay includes keyboard commands for previous and next file, or a shuffle feature, maybe, say. also maybe if you hacked madplay to take controls from the serial port or something like that, say if you were building a 'portable' player for the car
i need to check out mplayer, though, actually I was just about to look at it for video streaming ----- Original Message ----- From: "Alexander Boulgakov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 2:10 AM Subject: Re: [Siglinux] madplay playlists > What a dork. > #find /home/myname/mp3dir -name Radiohead\*.mp3 > rhplaylist > > backslash in wrong place ;[ > > Alex > > Alexander Boulgakov wrote: > > > Hrm. You can do this > > #for file in rhplaylist > > >do > > >madplay $file > > >done > > > > Also, check out mplayer! I use it to play mp3's off my command line -- > > works fine and (I am not sure) supports playlists. > > > > Alex > > > > David Geoffrion wrote: > > > >> The best I can come up with is to throw them all on the command line > >> with a > >> program like xargs, but it's a bit tricky because mp3's often have > >> spaces in > >> the names which makes madplay treat each part of the name as a > >> separate file > >> which will obviously not make it make pretty sounds. > >> > >> I whipped this line up using [g]awk to put quotation marks around each > >> filename, though, before passing them into xargs, and it seems to work > >> pretty well with my tests: > >> > >> find /home/msteeds/Music/ -name \*[mM][Pp]3 | awk '{print "\""$0"\""}' | > >> xargs madplay > >> > >> of course if you have like a text file listing of songs you want in your > >> "playlist" (like an .m3u, say) you should be able to just replace > >> that find > >> with a cat as in: > >> > >> cat myPlaylist.m3u | awk '{print "\""$0"\""}' | xargs madplay > >> > >> but I didn't actually try that. > >> > >> ----- Original Message ----- > >> From: "Matthew Seeds" <[EMAIL PROTECTED]> > >> To: <[EMAIL PROTECTED]> > >> Sent: Monday, November 25, 2002 11:48 PM > >> Subject: [Siglinux] madplay playlists > >> > >> > >> I've recently been playing around with some command line mp3 players. I > >> cannot figure out how to do a playlist for madplay. I know it can > >> accept > >> multiple files, but beyond listing them all on the command line I > >> can't get > >> it to work. I know that the following will work for mpg123: > >> > >> mpg123 --list <(find /home/mtseeds/Music/ -name '*.mp3') > >> > >> However this doesn't work for madplay (mainly because madplay does > >> not have > >> the --list option). I know that there are playlist managers that > >> work with > >> madplay, but those all require X Windows. I'm trying to keep this > >> strictly > >> command line. I'm trying to use madplay because I've discovered a > >> couple of > >> mp3's I have that mpg123 can't play, but madplay can. Any help would be > >> appreciated. > >> > >> -- > >> Matthew Seeds > >> UTACM Corporate Liaison > >> http://www.utacm.org/corporate/ > >> > >> _______________________________________________ > >> Siglinux mailing list > >> [EMAIL PROTECTED] > >> http://www.utacm.org/mailman/listinfo/siglinux > >> > >> _______________________________________________ > >> Siglinux mailing list > >> [EMAIL PROTECTED] > >> http://www.utacm.org/mailman/listinfo/siglinux > >> > >> > >> > > > > > > > > _______________________________________________ > > Siglinux mailing list > > [EMAIL PROTECTED] > > http://www.utacm.org/mailman/listinfo/siglinux > > > > > > _______________________________________________ > Siglinux mailing list > [EMAIL PROTECTED] > http://www.utacm.org/mailman/listinfo/siglinux > _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://www.utacm.org/mailman/listinfo/siglinux