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.
|
 |
10-27-2007, 11:11 AM
|
#1
|
Member
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323
Rep:
|
A web based music player?
I'm looking for one. It doesn't have to stream to any computer that browses to it, but simply offer a web front end for itself, to music it will play itself.
|browser on client|--http-->|music "server"|--->|stereo|
If I had more time I myself I could probably do this in a day with an apache that cgi'ed to mpg123 or mplayer cli, but I don't.
Any suggestions?
Thanks.
|
|
|
10-27-2007, 11:41 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Do you mean that the web interface should control the playing of audio files on the machine where the web server is running?
e.g. you have your web server on machine called foo, and a client machine bar (perhaps accross the net) connects to foo using a web browser, selects a track from a list, and that track starts to play out of the speakers on foo?
|
|
|
10-27-2007, 12:03 PM
|
#3
|
Member
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323
Original Poster
Rep:
|
Quote:
Originally Posted by matthewg42
Do you mean that the web interface should control the playing of audio files on the machine where the web server is running?
e.g. you have your web server on machine called foo, and a client machine bar (perhaps accross the net) connects to foo using a web browser, selects a track from a list, and that track starts to play out of the speakers on foo?
|
You are correct, Sir!
Using substitution:
|client browser|--http  "play Voodoo Chile")-->|Foo: "okay"|--> -->speakers:"..cause I'm a Voodoo Chile, Lord..."
|
|
|
10-27-2007, 12:47 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
I don't know of one off hand, although I've never tried to do this, so that is not surprising. I did find a plugin for xmms which allows you to change the song through instant messaging, but not a web base thing. I didn't look verry hard though - perhaps another reader will suggest something.
If I had to implement it myself, I'd probably use some PHP or a CGI solution to spawn a command which would change the currently playing track. Again XMMS has a plugin for having a command-line based program to change the current song. If you are playing using amarok, you can use dcop for this.
|
|
|
10-27-2007, 01:19 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
I've never used it, but this looks like what you are after: http://www.musicpd.org/
Quote:
Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. MPD is designed for integrating a computer into a stereo system that provides control for music playback over a local network. It also makes a great desktop music player, especially if you are a console junkie, like frontend options, or restart X often.
|
Last edited by win32sux; 10-27-2007 at 01:21 PM.
|
|
|
All times are GMT -5. The time now is 02:45 AM.
|
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
|
|