LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-12-2007, 09:23 AM   #1
shanghai1979
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Web Based Jukebox with local playback only


Hi,
for some time I've wanted to set up a simple mp3 juke box. But the problem is I was hoping for a simple php system that I can hack around and edit. I don't want streaming audio. I want to have a directory of files which I can choose which one to play and have a volume control, stop and start control. Thats all I'm after. The interface must be http too. I'm sure there are projects out there. Ampache is way to over the top for what I'm after and it was a real pain getting local playback working. A web interface to mplayer and a script to change the volume is all I want really.

Any clues for me?

Thanks
 
Old 09-12-2007, 10:57 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
vlc:

Code:
videolan.org
has a web interface. Though I don't use it anymore, I know it works because I was using it for some time.

cheers,
 
Old 09-12-2007, 11:10 AM   #3
madrod
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by shanghai1979 View Post
Hi,
for some time I've wanted to set up a simple mp3 juke box. But the problem is I was hoping for a simple php system that I can hack around and edit. I don't want streaming audio. I want to have a directory of files which I can choose which one to play and have a volume control, stop and start control. Thats all I'm after. The interface must be http too. I'm sure there are projects out there. Ampache is way to over the top for what I'm after and it was a real pain getting local playback working. A web interface to mplayer and a script to change the volume is all I want really.

Any clues for me?

Thanks
hi,
try amarok's web based interface it let's you edit play lists and music playing. i was using it for some time and it worked good for me.
See ya.
 
Old 09-12-2007, 11:12 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Have you tried the music player daemon
 
Old 09-13-2007, 01:26 AM   #5
shanghai1979
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
yup tried mpd and never managed to get it to work. Tried using it under ampache actually on a debian box.

I did find http://freshmeat.net/projects/toastermp3/ which is where this all started but when I put the scripts in /var/www/ and after I configure it by editing the config file I get errors in the apache2 error.log saying unable to open mixer and unable to open playlists. It uses mpg123 to play the files and aumix to set volume levels. The useful bit of the program is:

<?php

if ($vol) `aumix -v $vol`;

$v = `aumix -q`;
$v = explode("\n", $v);
$v = str_replace(",", "", $v[0]);
$v = explode(" ", $v);
$v = $v[1];
$vol = $v;

?><html>
<body background="images/bg.png">
<center>
<img src="images/minus.png">&nbsp;
<img src="images/left.png" border=0><?php

for ($i=0; $i < 101; $i=$i+3) {
if ($vol != $i) {
echo "<a href=\"bottom_frame.php?vol=$i\"><img src=\"images/box.png\" border=0></a>";
} else {
echo "<a href=\"bottom_frame.php?vol=$i\"><img src=\"images/box2.png\" border=0></a>";
}
}

?><img src="images/right.png" border=0>&nbsp;
<img src="images/plus.png">
</center>
</body>
</html>
 
  


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
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
Slackware 10.2 based CD JukeBox onebuck Slackware 3 01-22-2006 01:59 PM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 05:16 PM
from a gui-based s/w to a web-based app h/w Programming 0 04-13-2004 02:07 PM

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

All times are GMT -5. The time now is 01:06 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