[KLUG Members] Command line mp3 players
Wesley Leonard
members@kalamazoolinux.org
Wed, 26 Sep 2001 23:38:15 -0400
Try it this way:
find /pathto/mp3s/ | mpg123 -@ -
The -@ sez play a file, and the - argument sez that STDIN will be the file and
since we're piping the STOUT of the find command into STDIN of the mpg123
command that's what it plays!
Or:
find /pathto/mp3s/ | mpg123 -z@ -
for random playback.
You can also try this:
find /pathto/mp3s/ > playlist.file
mpg123 -@ playlist.file
This creates a playlist file and then use the -@ option to mpg123 to play it.
Spaces and other special chars will work this way...
--
Wesley Leonard
marshall@pacdemon.org
http://www.pacdemon.org
"The economy depends about as much on economists as the weather does on weather
forecasters."
--Jean-Paul Kauffmann
Ian wrote:
>
> That doesn't seem to work. I think it is because the file names have
> spaces in them, I get errors like:
>
> Days.mp3: No such file or directory.
>
> That is obviously the tail end of some file name that has tons of spaces
> in it. Do you know how I can deal wiith the spaces?
>
> Thanks,
>
> Ian Hodur
> 510.261.5850
>
> Be cheerful while you are alive. -- Phathotep, 24th Century B.C.
>
> On Wed, 26 Sep 2001, Wesley Leonard wrote:
>
> > try this:
> >
> > mpg123 `find /pathto/mp3_dir/`
> >
> > The quotes are backticks (left of the 1, below the ~ on most keyboards).
> >
> > On my machine this gave me an error (too many arguments) because I have a lot of
> > mp3s.
> >
> > l8er
> >
> > Ian wrote:
> > >
> > > I'm looking for a command line mp3 player that will let me play the
> > > files in a directory recursively. I'm using mpg123 but it doesssn't seem
> > > to have that function.
> > >
> > > Mucho gracias,
> > >
> > > Ian Hodur
> > > 510.261.5850
> > >
> > > Be cheerful while you are alive. -- Phathotep, 24th Century B.C.
> > >
> > > _______________________________________________
> > > Members mailing list
> > > Members@kalamazoolinux.org
> > >
> >
> > --
> >
> > Wesley Leonard
> > marshall@pacdemon.org
> >
> > http://www.pacdemon.org
> > "The economy depends about as much on economists as the weather does on weather
> > forecasters."
> > --Jean-Paul Kauffmann
> > _______________________________________________
> > Members mailing list
> > Members@kalamazoolinux.org
> >
> >
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>