<p>Gee someone is actually interested in this?</p>
<p>phpMUR stands for php Multi-User-Randomizer</p>
<p>This is a project I've been working on for several years. This incarnation uses a combination of technology.</p>
<p>phpMUR is copywrite 2007 by Eugene R. Miller a.k.a. <a href="http://music.the-erm.com/">the-erm</a> under the <a href="liscence.txt">GNU GENERAL PUBLIC LICENSE Version 2</a> you can download a copy for yourself <a href="http://the-erm.com/phpMUR/phpMUR.zip">phpMUR.zip</a></p>
<p>I <b>do not</b> recommend this on a production/shared server. This system is designed for <i>personal use.</i> The main goal of this project is to allow <i>you</i> access to <i>your</i> music anywhere in the world. Not to allow the world access to your music.</p>
<ul>
<li>
<h3><a href="http://www.jeroenwijering.com/?item=JW_Media_Player">JW Media Player 3.8</a></h3>
This thing is just awesome.
</li>
<li>
<h3><a href="http://ffmpeg.mplayerhq.hu/">FFmpeg</a></h3>
This program converts all .ogg/wma/mpg/avi/wav files to .mp3 or .flv. So they are compatible with JW Media Player. <?php
if (is_admin()) {
?> <b>You'll need to install this yourself. If you add files that are .ogg/wma/mpg/avi/wav etc that need to be converted.</b> <?php
} ?>
</li>
<li>
<h3><a href="http://www.xajaxproject.org/">Xajax</a></h3>
Handles all the ajax calls.
</li>
<li>
<h3><a href="http://getid3.sourceforge.net/">getID3</a></h3>
When scanning files, this grabs the id3 or eqivalant tags from the files.
It's important to note phpMUR will only <b>read</b> file tags.
I'm not 100% confident with getID3's ablility to write tags.
A few years back it would freeze during parsing, and stop outout of the script. For saftey's sake I don't use it to write files.
</li>
</ul>
<h3>How often is same song picked?</h3>
<p>Right now the SONG_THRESHOLD is <?php echo SONG_THRESHOLD; ?> songs. This is the <b>maximum</b> amount of songs you want to to play before it is picked again. This number is not taken into account when you cue songs via the search page.</p>
<p>However there is a failsafe in place. If the library doesn't have <?php echo SONG_THRESHOLD; ?> songs, or you don't have <?php echo SONG_THRESHOLD; ?> songs total for the number of genres you've chosen to pick from.</p>
<?php
if (is_admin()) {
?><p>
You can set the SONG_THRESHOLD by editing <b>config.inc.php.</b> and adding the line:<br />
<?php echo highlight("define('SONG_THRESHOLD', 1000);"); ?>
</p><?php
}
?>
<p>
<b>If there are copies of the same song you may hear it more often.</b>
</p>
<?php
if (isset($_SESSION['preload'])) {
/*
?><p>
The last time the preload was built <?php echo $_SESSION['preload']['songs_to_remove']; ?> songs were removed.
</p><?php */
}
?>
<h3>How often is the same artist picked?</h3>
<p>
You should not hear the same artist within <?php echo ARTIST_THRESHOLD; ?> songs.
</p>
<p>
Again there are failsafes so this rule may be broken.
</p>
<?php
if (is_admin()) {
?><p>
You can set the ARTIST_THRESHOLD by editing <b>config.inc.php.</b> and adding the line:<br />
<?php echo highlight("define('ARTIST_THRESHOLD', 50);"); ?>
</p><?php
}
?>
<?php
if (is_admin()) {
//
}
/*
$_SESSION['prepare']['file_count'] = $file_count;
$_SESSION['prepare']['artist_count'] = $artist_count;
$_SESSION['prepare']['songs_to_remove'] = $songs_to_remove;
$_SESSION['prepare']['one_percent_artists'] = $one_percent_artists;
$_SESSION['prepare']['songs_per_artist'] = $songs_per_artist;
$_SESSION['prepare']['artists_to_remove'] = $artists_to_remove;
*/
?>