";
foreach(glob($dirMedia.'/*.*') as $file) {
$file_parts = pathinfo($file);
if ($file_parts['extension'] == "mp4") {
echo "
\n";
}
}
echo " ";
echo "
";
echo "
Live MP4 Media
";
foreach(glob($dirLive.'/*.*') as $file) {
$file_parts = pathinfo($file);
if ($file_parts['extension'] == "mp4") {
// make sure it is not the audio rtin
if (strpos($file, 'A.rtin') == false) {
echo "