------------ Original Message ------------> Date: Friday, May 22, 2015 11:52:43 AM -0700 > From: Kirk Bocek <t004 at kbocek.com> > > On May 22, 2015 11:46:23 AM PDT, Bowie Bailey > <Bowie_Bailey at BUC.com> wrote: >> I have a CentOS 7 server that I want to use as an audio source >> for our hold music. It does not have a GUI installed, so I am >> looking for a program with a command line interface that will >> let me play a folder full of mp3 files on a continuous loop. >> >> MOC seems to do what I want, but I can't find a build for CentOS >> 7. Is there another program that I can use for this? >> >> Thanks. > > This something I used years ago: > > http://mpg321.sourceforge.net/ > > Don't know if it works on CentOS 7 anymore. >I think you can do that with mplayer, but you may need to build a playlist first in order to play more than one file. It just worked fine, in commandline, playing one specific file. I didn't try to figure out commandline playlist building. The nux repository, mentioned at the top of this centos wiki page, has mplayer (and a bunch of other audio-related things). <http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7>
On 5/22/2015 3:01 PM, Richard wrote:> > ------------ Original Message ------------ >> Date: Friday, May 22, 2015 11:52:43 AM -0700 >> From: Kirk Bocek <t004 at kbocek.com> >> >> On May 22, 2015 11:46:23 AM PDT, Bowie Bailey >> <Bowie_Bailey at BUC.com> wrote: >>> I have a CentOS 7 server that I want to use as an audio source >>> for our hold music. It does not have a GUI installed, so I am >>> looking for a program with a command line interface that will >>> let me play a folder full of mp3 files on a continuous loop. >>> >>> MOC seems to do what I want, but I can't find a build for CentOS >>> 7. Is there another program that I can use for this? >>> >>> Thanks. >> This something I used years ago: >> >> http://mpg321.sourceforge.net/ >> >> Don't know if it works on CentOS 7 anymore. >> > I think you can do that with mplayer, but you may need to build a > playlist first in order to play more than one file. It just worked > fine, in commandline, playing one specific file. I didn't try to > figure out commandline playlist building. > > The nux repository, mentioned at the top of this centos wiki page, > has mplayer (and a bunch of other audio-related things). > > <http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7>mplayer is pulling in 83 dependencies! I think I'll look for something a bit more self-contained. -- Bowie
On 05/22/2015 12:10 PM, Bowie Bailey wrote:> mplayer is pulling in 83 dependencies! I think I'll look for something > a bit more self-contained.I don't understand that reaction to packaging. mplayer uses a variety of libraries to support a large variety of media types. It doesn't include servers or SUID binaries, so it doesn't carry a significant security risk, and it doesn't consume much disk space. It doesn't make any more sense that complaining about the number of files in a package. (NOTE: "filesystem" contains 15000+ files! DON'T REMOVE IT!) If you want to support mp3 only, then try mpg123 or madplay http://www.mpg123.de/index.shtml http://www.underbit.com/products/mad/