Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-09-2003, 11:45 AM
|
#1
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Rep:
|
Console based sound player?
I need a console based media player. Here's what I need:
wav support
mp3 support
CLI only
able to loop forever
Any suggestions?
|
|
|
11-09-2003, 11:51 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
I do believe mpg123 supports all of this and from the CLI as well....
|
|
|
11-09-2003, 01:03 PM
|
#3
|
Member
Registered: Nov 2003
Location: Pouganis -- a planet not too far from over there.
Distribution: Vector
Posts: 31
Rep:
|
Yea, mpg123 definitely roxorz. I'd look for more to suggest, but there isn't a need based on its awsomeness.
|
|
|
11-09-2003, 01:19 PM
|
#4
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Original Poster
Rep:
|
mpg123 doesn't do loop playback
|
|
|
11-09-2003, 01:36 PM
|
#5
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Slack comes with alsautils, oggutils, flac, sox, amp, madplay, workbone, rexima, aumix, and cdparanoia and, I'm sure, other players, mixers, rippers, encoders, etc. It takes good care of the CLI audio junkie. Just poke about on your box. If you want to loop everything on your box for eternity, you might want to look into adding 'moosic' which is a CLI playlist/queue app - not a player, but plays players. 
|
|
|
11-09-2003, 07:19 PM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by kleptophobiac
mpg123 doesn't do loop playback
|
You can always just do a random play which will pick songs randomly and never stop playing til manually stopped.. 
|
|
|
11-09-2003, 07:31 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Original Poster
Rep:
|
...and if I have exactly one file that I want it to play continously until the file is changed?
|
|
|
11-09-2003, 07:54 PM
|
#8
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by kleptophobiac
...and if I have exactly one file that I want it to play continously until the file is changed?
|
That would work as well using random since it only has one file to choose from, it will keep playing that same file. 
|
|
|
02-02-2004, 01:54 PM
|
#9
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Original Poster
Rep:
|
I need something that can run as a daemon, so I can run it from through ssh, and then ssh will die.
Both nohup and & don't cut it. mpg123 dies as soon as ssh terminates.
|
|
|
03-22-2004, 04:29 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Location: Melbourne, Australia
Posts: 3
Rep:
|
Quote:
Both nohup and & don't cut it. mpg123 dies as soon as ssh terminates.
|
That's what screen is for 
|
|
|
03-22-2004, 04:43 AM
|
#11
|
Member
Registered: Feb 2004
Distribution: Debian
Posts: 286
Rep:
|
Not sure if this is what you're looking for, but try
Code:
ssh machinename "mpg123 -Z /path/to/filename >& /dev/null &"&
Still don't understand exactly what you're trying to do though.
|
|
|
03-22-2004, 09:56 AM
|
#12
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
mp3blaster and ksmp3play... they're ncurses based and run verry well on the linux console 
|
|
|
04-02-2004, 07:52 AM
|
#13
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Original Poster
Rep:
|
Do they have a daemon mode? I'd like it if there were no output whatsoever, and it could be detached from the console.
|
|
|
10-04-2004, 02:27 AM
|
#14
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
sounds like he is trying to use this for a music on hold for a phone system?
screen mpg321
start your music
ctrl+x, ctrl+c
logout.
|
|
|
10-04-2004, 01:01 PM
|
#15
|
Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124
Rep:
|
Check out music player daemon (mpd): www.musicpd.org
|
|
|
All times are GMT -5. The time now is 09:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|