[TAG] 2-cent tip: building MP3 playlists

Thomas Adam thomas_adam16 at yahoo.com
Tue Feb 3 18:32:42 MSK 2004


 --- Ben Okopnik <ben at callahans.org> wrote: 

> On Tue, Feb 03, 2004 at 02:42:31PM +0000, Thomas Adam wrote:
> > ``
> > find /my/dir/with/songs/in -iname '*.mp3' -type f -maxdepth 1 | xargs
>                                       ^
> 				      |
> 				      
> Your DOS habits are showing, Thomas. :)

Hahahahahaha :) 
 
> > mpg321 --list -
> 
> What's an "mpg321"? I'm familiar with "mpg123", but...

```
[n6tadam at laptop n6tadam]$ apt-cache show mpg321

Description: A Free command-line mp3 player, compatible with mpg123
 mpg321 is a clone of the popular mpg123 command-line mp3 player. It
should
 function as a drop-in replacement for mpg123 in many cases. While some of
 the functionality of mpg123 is not yet implemented, mpg321 should
function
 properly in most cases for most people, such as for frontends such as
 gqmpeg.
'''

> Also, this invocation of "find" would get _only_ the top-level MP3s -
> none of the ones in the album subdirectories.

Yes, but then I assume that most of don't have such a highly-ordered set
of files.

That being the case then, just change "-maxdepth 1" to "maxdepth 2"

I dunno, these brainiac types with their good ideas....

-- Thomas Adam



=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


	
	
		
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 http://btyahoo.yahoo.co.uk




More information about the TAG mailing list