PHP Classes

File: generatelist24.php

Recommend this page to a friend!
  Classes of Rahman Haghparast   PHP Live Radio Streaming   generatelist24.php   Download  
File: generatelist24.php
Role: Example script
Content type: text/plain
Description: generate a playlist for 24 hours
Class: PHP Live Radio Streaming
Serve MP3 audio files to play from a playlist
Author: By
Last change:
Date: 7 years ago
Size: 268 bytes
 

Contents

Class file image Download
<?php
set_time_limit
(0);
require
'offlineradio.class.php';
$init = new stdClass();
$init->mp3Folder = dirname(__FILE__).DS.'files';
$init->playListName24 = 'list24.txt';
$init->startTime = '13:00:00';
$radio = new OfflineRadio($init);
$radio->generateList24();