Linux - SoftwareThis 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.
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.
Distribution: Debian, CentOS, Red Hat, Ubuntu, Knoppix
Posts: 3
Rep:
Shoutcast / CLI...
Ok, forgive me if this is obvious to some, but:
How can I play MP3 streams from CLI (command line interface)?
I currently have a linux server at home tied into my stereo system. To play music, I have to ssh over with my linux laptop and run XMMS. From there I can play anything I want, BUT I have to stay connected for the music to keep playing.
What I want to do is setup a web page on my server that I can browse to via linux/windows/palm-pilot/phone and tell it to play a channel (not mp3 store, but a mp3 stream from DI.FM or other). MPG321/123 do not seem to play streams well at all.
There's a bunch of command line media players. Look at mplayer, plaympeg, mpg321, cymbaline, or mp3blaster. Any one of those should do what you need.
I got that list by searching the Gentoo distribution's package list. All of the above should be available on sourceforge or something similar. Just search for the player name and "homepage" and you should find it. Chances are, there's a RedHat binary RPM already built for you for at least one of the above.
Distribution: Debian, CentOS, Red Hat, Ubuntu, Knoppix
Posts: 3
Original Poster
Rep:
Quote:
Originally posted by MacKtheHacK There's a bunch of command line media players. Look at mplayer, plaympeg, mpg321, cymbaline, or mp3blaster. Any one of those should do what you need.
I got that list by searching the Gentoo distribution's package list. All of the above should be available on sourceforge or something similar. Just search for the player name and "homepage" and you should find it. Chances are, there's a RedHat binary RPM already built for you for at least one of the above.
Thanks for the info, it looks like MPLAYER might be my answer, but just an FYI: None of the other players you mentioned seem to support Shoutcast/radio streams, they all support files. So most of them CANNOT deal with this as a file:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.