LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-09-2003, 11:45 AM   #1
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Rep: Reputation: 30
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?
 
Old 11-09-2003, 11:51 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I do believe mpg123 supports all of this and from the CLI as well....
 
Old 11-09-2003, 01:03 PM   #3
Pougan
Member
 
Registered: Nov 2003
Location: Pouganis -- a planet not too far from over there.
Distribution: Vector
Posts: 31

Rep: Reputation: 15
Yea, mpg123 definitely roxorz. I'd look for more to suggest, but there isn't a need based on its awsomeness.
 
Old 11-09-2003, 01:19 PM   #4
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
mpg123 doesn't do loop playback
 
Old 11-09-2003, 01:36 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 11-09-2003, 07:19 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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..
 
Old 11-09-2003, 07:31 PM   #7
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
...and if I have exactly one file that I want it to play continously until the file is changed?
 
Old 11-09-2003, 07:54 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 02-02-2004, 01:54 PM   #9
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
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.
 
Old 03-22-2004, 04:29 AM   #10
kyelewis
LQ Newbie
 
Registered: Aug 2003
Location: Melbourne, Australia
Posts: 3

Rep: Reputation: 0
Quote:
Both nohup and & don't cut it. mpg123 dies as soon as ssh terminates.
That's what screen is for
 
Old 03-22-2004, 04:43 AM   #11
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
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.
 
Old 03-22-2004, 09:56 AM   #12
frieza
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

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
mp3blaster and ksmp3play... they're ncurses based and run verry well on the linux console
 
Old 04-02-2004, 07:52 AM   #13
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
Do they have a daemon mode? I'd like it if there were no output whatsoever, and it could be detached from the console.
 
Old 10-04-2004, 02:27 AM   #14
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
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.
 
Old 10-04-2004, 01:01 PM   #15
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
Check out music player daemon (mpd): www.musicpd.org
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
console based messenger service crazy_debian Linux - Software 2 08-30-2005 04:02 PM
console based dialup and nvidia foustware Linux - Software 5 07-31-2004 03:20 AM
Text-console based IRC ? onurb Linux - Software 4 03-10-2003 03:10 PM
Console based IM software? menhilmor Linux - Software 6 02-14-2003 08:34 PM
Console based + POP3 NOT using fetchmail. Slagazor Linux - Software 5 05-16-2002 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration