Apache-MP3

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	- Patch for Ask Bjoern Hansen to support the scroll bar when
		streaming to WinAmp.

2.18 Sun Jun 10 17:21:36 EDT 2001
	- Patch from Chris Nandor to get the file size approximately
		right when streaming downsampled files.
	- Patch from Chris Nandor to fix problems downloading
		MP3 files when resampling turned on.
	- Fixed an HTML-generating bug that prevented the browser window
		title from being set.
	- Removed hard-coded white background color from the resampling
		window.

2.17 Mon Feb 12 10:27:38 EST 2001
	- Fixed problem of multiple fetch buttons appearing when
		AllowStream is set to "no"

2.16 Mon Apr 30 22:31:17 EDT 2001
	- Added Apache::MP3::Resample, which provides dynamic downsampling
		for people with slower connections.
	- Added MS Media player to list of acceptable streaming clients.

apache_mp3/apache_mp3.css  view on Meta::CPAN

BODY {
  background-color: white;
}

/* Sans-serifness turned off, because it often very aggressively */
/*  interferes with font choice in international encodings.      */
/* Italic style disabled because it just doesn't work right */
/*  for many scripts or fonts.                              */

H1 {
  /* font-family: sans-serif; */
  font-size: 16pt;

apache_mp3/apache_mp3.css  view on Meta::CPAN

  color: red;
}

H2 {
  /* font-family: sans-serif; */
  /* font-style: italic; */
}

TR.title {
  /* font-family: sans-serif; */
  background-color: #FFE89B;
}

TR.odd {
   background-color: white;
   padding: 0;
   margin: 0;
}
TR.even {
   background-color: lightcyan;
   padding: 0;
   margin: 0;
}

TD {
  align: left;
}

.directory {
  /* font-family: sans-serif; */

apache_mp3/apache_mp3.css  view on Meta::CPAN

  /* font-family: sans-serif; */
  font-size: 10pt;
}

IMG.subdir {
  vertical-align: middle;
}

P {
  /* font-family: sans-serif; */
  background-color: transparent;
}

A {
  /* font-family: sans-serif; */
  background-color: transparent;
}

INPUT {
  /* font-family: sans-serif; */
  background-color: white;
}

DIV  {
  /* font-family: sans-serif; */
  background-color: white;
}

ADDRESS {
  /* font-family: sans-serif; */
}

.playlist {
  background-color: #FFE89B;
}
A.playlist {
  /* font-style: italic; */
  background-color: transparent;
}

apache_mp3/functions.js  view on Meta::CPAN


  theCells = getCells(theRow);
  if (!theCells) return false;

  if (typeof(window.opera) == 'undefined'
       && typeof(theCells[0].getAttribute) != 'undefined') {
       currentColor = theCells[0].getAttribute('bgcolor');
       domDetect    = true;
   }
   else {
        currentColor = theCells[0].style.backgroundColor;
        domDetect    = false;
   } // end 3


   if (theColor!=null) {
   if (domDetect) {
       for (c = 0; c < theCells.length; c++) {
           theCells[c].setAttribute('bgcolor', theColor, 0);
       } // end for
    }
    else {
        for (c = 0; c < theCells.length; c++) {
            theCells[c].style.backgroundColor = theColor;
        }
    }
    }

    return currentColor;
}
function getCells(theRow) {

    if (typeof(document.getElementsByTagName) != 'undefined') {
        return theRow.getElementsByTagName('td');

apache_mp3/functions.js  view on Meta::CPAN

  var theCells    = getCells(theRow);
  var theCheckBox = findCheckbox(theCells);
  var checked     = theCheckBox.checked;

  if (checked) {
     setRowColor(theRow,selectColor);
  }
  else if (hilite) {
      setRowColor(theRow,hiliteColor);
  } else {
     setRowColor(theRow,theRow.style.backgroundColor);
  }
  return true;
}
function findCheckbox (theCells){
  for (var i=0; i < theCells.length; i++) {
    var inputs = theCells[i].getElementsByTagName('input');
    if (inputs[0]) return inputs[0];    
  }
  return null;
}
function toggleRow(theRow)
{
   var theCells=theRow.getElementsByTagName('td');
   var theInput=findCheckbox(theCells);
   theInput.checked = !theInput.checked;
   setRowColor(theRow,theInput.checked ? selectColor : theRow.style.backgroundColor);
   document.form.selectall.checked = false;
   return true;
}
function toggleCheckbox(theCheckbox)
{
    var row = theCheckbox.parentNode.parentNode;
    theCheckbox.checked = !theCheckbox.checked;
    setRowColor(row,theCheckbox.checked ? selectColor : row.style.backgroundColor);
    event.cancelBubble = true;
    return true;
}
function setCheckbox(theCheckbox,state)
{
    var row = theCheckbox.parentNode.parentNode;
    theCheckbox.checked = state;
    setRowColor(row,selectColor);
    setRowColor(row,theCheckbox.checked ? selectColor : row.style.backgroundColor);
    return true;
}
function toggleAll(self,field) {
for (i = 0; i < field.length; i++)
  setCheckbox(field[i],self.checked);
}



( run in 1.210 second using v1.01-cache-2.11-cpan-f56aa216473 )